CentOS screen segfault in libgcc_s
#4

Did following:
Код:
gdb samp03svr
run
CTRL+C to exit samp window
Код:
signal SIGINT (to simulate CTRL+C)
Output of gdb:
Код:
(gdb) signal SIGINT
Continuing with signal SIGINT.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf5812b70 (LWP 15326)]
0x00579a41 in my_real_read (net=0x8cead00, complen=0xf5812088) at net.c:818
818     net.c: No such file or directory.
        in net.c
(gdb) bt
#0  0x00579a41 in my_real_read (net=0x8cead00, complen=0xf5812088) at net.c:818
#1  0x00579df3 in my_net_read (net=0x8cead00) at net.c:1011
#2  0x005739cf in cli_safe_read (mysql=0x8cead00) at client.c:693
#3  0x00574105 in cli_read_query_result (mysql=0x8cead00) at client.c:2827
#4  0x00572334 in mysql_real_query (mysql=0x8cead00, query=0x99ee5e4 "TRUNCATE TABLE `online`;", length=24) at client.c:2931
#5  0x005297a6 in CMySQLQuery::Execute() () from plugins/mysql_static.so
#6  0x00525edc in CMySQLHandle::ProcessQueries() () from plugins/mysql_static.so
#7  0x00526097 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, CMySQLHandle>, boost::_bi::list1<boost::_bi::value<CMySQLHandle*> > > >::run() () from plugins/mysql_static.so
#8  0x00549066 in thread_proxy () from plugins/mysql_static.so
#9  0x0011cb39 in start_thread () from /lib/libpthread.so.0
#10 0x00382d6e in clone () from /lib/libc.so.6
Output of the server log:
Код:
[21:33:22] [debug] Server received interrupt signal
[21:33:22] [debug] Native backtrace:
[21:33:22] [debug] #0 00885ad6 in _ZN10StackTraceC2EPv () from plugins/crashdetect.so
[21:33:22] [debug] #1 0087c368 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[21:33:22] [debug] #2 0087c2bd in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[21:33:22] [debug] #3 0087b429 in _ZN11CrashDetect11OnInterruptEPv () from plugins/crashdetect.so
[21:33:22] [debug] #4 0088591b in ?? () from plugins/crashdetect.so
[21:33:22] [debug] #5 00110410 in ?? ()
[21:33:22] [debug] #6 00110430 in ?? ()
[21:33:22] [debug] #7 00341996 in nanosleep () from /lib/libc.so.6
[21:33:22] [debug] #8 0037baec in usleep () from /lib/libc.so.6
[21:33:22] [debug] #9 080b16ee in ?? () from samp03svr
[21:33:22] [debug] #10 002b6d26 in __libc_start_main () from /lib/libc.so.6
[21:33:22] [debug] #11 0804b521 in ?? () from samp03svr
Just noticed that with crashdetect and without gdb following is beting output:
http://pastebin.com/t0J5mQ29

Seems to be related to the query in OnGameModeExit. I will test it further and with may also with R35 to provide more info.

Quote:
Originally Posted by SchurmanCQC
Посмотреть сообщение
Perhaps you should try CTRL + A, D instead of CTRL + C when exiting screen. The first key combination (CTRL + A, D) detaches from the current screen.
Yeah I usually do that after starting the server but with CTRL+C I want to stop the server not just exit the screen.
Reply


Messages In This Thread
CentOS screen segfault in libgcc_s - by Mellnik - 04.01.2014, 19:41
Re: CentOS screen segfault in libgcc_s - by maddinat0r - 28.01.2014, 18:34
Re: CentOS screen segfault in libgcc_s - by SchurmanCQC - 28.01.2014, 20:23
AW: CentOS screen segfault in libgcc_s - by Mellnik - 28.01.2014, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)