Server Crash
#1

Quote:

terminate called after throwing an instance of 'boost::exception_detail::clone_impl >'

what(): boost::thread_resource_error: Resource temporarily unavailable

If I Start my server the Host Send This Message !!

And I See the Server_log.txt (Server Is Crash) !!

Anyone !!

Thanks
Reply
#2

Can you use crashdetect and nativechecker? That w'd give us more info.
Reply
#3

Quote:

[09:25:38] [debug] Server crashed while executing CCNR.amx
[09:25:38] [debug] AMX backtrace:
[09:25:38] [debug] #0 native mysql_connect () from mysql_static.so
[09:25:38] [debug] #1 00208990 in public CB_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #2 0002f1ac in public ELC_AC_OnGameModeInit (2079224) from CCNR.amx
[09:25:38] [debug] #3 native CallLocalFunction () from samp03svr
[09:25:38] [debug] #4 000257fc in public VFUNC_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #5 0001f580 in public ppb_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #6 0001df44 in public RL_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #7 native CallLocalFunction () from samp03svr
[09:25:38] [debug] #8 0001a334 in public zcmd_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #9 native CallLocalFunction () from samp03svr
[09:25:38] [debug] #10 0001369c in ?? () from CCNR.amx
[09:25:38] [debug] #11 0000b9a8 in public ScriptInit_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #12 000074d4 in public SSCANF_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #13 00001830 in public Itter_OnGameModeInit () from CCNR.amx
[09:25:38] [debug] #14 native CallLocalFunction () from samp03svr
[09:25:38] [debug] #15 00000928 in public OnGameModeInit () from CCNR.amx
[09:25:38] [debug] Native backtrace:
[09:25:38] [debug] #0 b5ba9e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[09:25:38] [debug] #1 b5ba2bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[09:25:38] [debug] #2 b5ba3dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[09:25:38] [debug] #3 b5ba4226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[09:25:38] [debug] #4 b5ba9adc in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #5 b77bc600 in ?? ()
[09:25:38] [debug] #6 b77bc420 in ?? ()
[09:25:38] [debug] #7 b74ef871 in gsignal () from /lib/libc.so.6
[09:25:38] [debug] #8 b74f114a in abort () from /lib/libc.so.6
[09:25:38] [debug] #9 b7755b87 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/libstdc++.so.6
[09:25:38] [debug] #10 b77539e6 in ?? () from /usr/lib/libstdc++.so.6
[09:25:38] [debug] #11 b7753a23 in ?? () from /usr/lib/libstdc++.so.6
[09:25:38] [debug] #12 b7753b6b in ?? () from /usr/lib/libstdc++.so.6
[09:25:38] [debug] #13 b684ab2f in _ZN5boost15throw_exceptionINS_21thread_resource_er rorEEEvRKT_ () from plugins/mysql_static.so
[09:25:38] [debug] #14 b6850be1 in _ZN5boost6threadC1INS_3_bi6bind_tIvNS_4_mfi3mf0Iv1 6CMySQLConnectionEENS2_5list1INS2_5valueIPS6_EEEEE EEEOT_ () from plugins/mysql_static.so
[09:25:38] [debug] #15 b684bf1c in _ZN16CMySQLConnectionC1ERSsS0_S0_S0_jbb () from plugins/mysql_static.so
[09:25:38] [debug] #16 b684c070 in _ZN16CMySQLConnection6CreateERSsS0_S0_S0_jbb () from plugins/mysql_static.so
[09:25:38] [debug] #17 b6852876 in _ZN12CMySQLHandle6CreateESsSsSsSsjjb () from plugins/mysql_static.so
[09:25:38] [debug] #18 b6866b01 in _ZN6Native13mysql_connectEP6tagAMXPi () from plugins/mysql_static.so
[09:25:38] [debug] #19 080950e4 in ?? () from ./samp03svr
[09:25:38] [debug] #20 b5ba594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:25:38] [debug] #21 b5ba88f8 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #22 b5bac916 in amx_Exec () from plugins/crashdetect.so
[09:25:38] [debug] #23 b5ba4be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:25:38] [debug] #24 b5ba8659 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #25 b576a25c in ?? () from plugins/streamer.so
[09:25:38] [debug] #26 080dfd62 in ?? () from ./samp03svr
[09:25:38] [debug] #27 080950e4 in ?? () from ./samp03svr
[09:25:38] [debug] #28 b5ba594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:25:38] [debug] #29 b5ba88f8 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #30 b5bac916 in amx_Exec () from plugins/crashdetect.so
[09:25:38] [debug] #31 b5ba4be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:25:38] [debug] #32 b5ba8659 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #33 b576a25c in ?? () from plugins/streamer.so
[09:25:38] [debug] #34 080dfd62 in ?? () from ./samp03svr
[09:25:38] [debug] #35 080950e4 in ?? () from ./samp03svr
[09:25:38] [debug] #36 b5ba594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:25:38] [debug] #37 b5ba88f8 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #38 b5bac916 in amx_Exec () from plugins/crashdetect.so
[09:25:38] [debug] #39 b5ba4be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:25:38] [debug] #40 b5ba8659 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #41 b576a25c in ?? () from plugins/streamer.so
[09:25:38] [debug] #42 080dfd62 in ?? () from ./samp03svr
[09:25:38] [debug] #43 080950e4 in ?? () from ./samp03svr
[09:25:38] [debug] #44 b5ba594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:25:38] [debug] #45 b5ba88f8 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #46 b5bac916 in amx_Exec () from plugins/crashdetect.so
[09:25:38] [debug] #47 b5ba4be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:25:38] [debug] #48 b5ba8659 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #49 b576a25c in ?? () from plugins/streamer.so
[09:25:38] [debug] #50 080dfd62 in ?? () from ./samp03svr
[09:25:38] [debug] #51 080950e4 in ?? () from ./samp03svr
[09:25:38] [debug] #52 b5ba594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[09:25:38] [debug] #53 b5ba88f8 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #54 b5bac916 in amx_Exec () from plugins/crashdetect.so
[09:25:38] [debug] #55 b5ba4be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[09:25:38] [debug] #56 b5ba8659 in ?? () from plugins/crashdetect.so
[09:25:38] [debug] #57 b576a25c in ?? () from plugins/streamer.so
[09:25:38] [debug] #58 080a503b in ?? () from ./samp03svr
[09:25:38] [debug] #59 080ab922 in ?? () from ./samp03svr
[09:25:38] [debug] #60 080aa0fd in ?? () from ./samp03svr
[09:25:38] [debug] #61 b74dbd36 in __libc_start_main () from /lib/libc.so.6
[09:25:38] [debug] #62 0804b4e1 in ?? () from ./samp03svr

I Use Crashdetect and Nativechecker for check this
Reply
#4

I can see server is crashing while connecting to mysql, can you get me the mysql_connect part from OnGameModeInit?
Reply
#5

Quote:

if(fexist("LOCALHOST"))
{
koneksi = mysql_connect(HOST, USER, DBNAME, PASSWORD);
forum = mysql_connect(HOST, USER, FORUMDB, PASSWORD);
}
else
{
koneksi = mysql_connect(HOST2, USER2, DBNAME2, PASSWORD2);
forum = mysql_connect(HOST2, USER2, FORUMDB, PASSWORD2);

Thats
Reply
#6

Anyone ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)