Dominik ms
Member
- Joined
- Jan 20, 2010
- Messages
- 424
- Reaction score
- 6
#! /bin/bash
ulimit -c unlimited
i=1
while [ $i -le 30 ]; do
./Echoserver > Log/`date +"%Y-%m-%d"`.txt;
i=`expr $i + 1`
done
W ten sposób uruchamiam serwer, po crashu pojawia się plik core, lecz po próbie odczytaniu błędu dostaję pusty wynik...
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) bt full
No stack.
W ten sposób kompiluję serwer (jeżeli to ma znaczenie):
chmod 750 -R /home/xx && cd /home/xx && ./autogen.sh && ./configure --enable-mysql --enable-server-diag && make
Na poprzedniej maszynie robiłem wszystko tak samo i działało.