open.mp forum
[Server] samp03svr crash - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] samp03svr crash (/showthread.php?tid=477)



samp03svr crash - [SF]kAn3 - 2019-04-27

PHP Code:
[19:15:12] [connection] ************ requests connection cookie.

[
19:15:13] [connectionincoming connection: ************ id1

[19:15:14] [join] ************ has joined the server (************)

[
19:15:14] [debugServer crashed while executing ****.amx

[19:15:14] [debugAMX backtrace:

[
19:15:14] [debug#0 native db_query () in samp03svr

[19:15:14] [debug#1 0002b61c in ?? (7026564, 6636280, 48) in ****.amx

[19:15:14] [debug#2 0002af98 in ?? (1, 6636280, 48) in ****.amx

[19:15:14] [debug#3 00071320 in public WC_OnPlayerConnect (1) in ****.amx

[19:15:14] [debug#4 000330a0 in public _y_utils_OnPlayerConnect (1) in ****.amx

[19:15:14] [debug#5 000067a0 in ?? (1) in ****.amx

[19:15:14] [debug#6 000079fc in public OnPlayerConnect (1) in ****.amx

[19:15:14] [debugNative backtrace:

[
19:15:14] [debug#0 f7406896 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so

[19:15:14] [debug#1 f73fe120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so

[19:15:14] [debug#2 f73fe886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so

[19:15:14] [debug#3 f73fef96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so

[19:15:14] [debug#4 f7405f82 in ?? () in plugins/crashdetect.so

[19:15:14] [debug#5 f76ee420 in ?? ()

[19:15:14] [debug#6 f76ee440 in ?? ()

[19:15:14] [debug#7 f7459981 in gsignal () in /lib32/libc.so.6

[19:15:14] [debug#8 f745cda2 in abort () in /lib32/libc.so.6

[19:15:14] [debug#9 f7495a0d in ?? () in /lib32/libc.so.6

[19:15:14] [debug#10 f749fb21 in ?? () in /lib32/libc.so.6

[19:15:14] [debug#11 f74a13a8 in ?? () in /lib32/libc.so.6

[19:15:14] [debug#12 f74a44ed in cfree () in /lib32/libc.so.6

[19:15:14] [debug#13 080d3697 in ?? () in ./samp03svr

[19:15:14] [debug#14 0808ebdb in ?? () in ./samp03svr

[19:15:14] [debug#15 08074846 in ?? () in ./samp03svr

[19:15:14] [debug#16 080763fe in ?? () in ./samp03svr

[19:15:14] [debug#17 f76cbc39 in ?? () in /lib32/libpthread.so.0

[19:15:14] [debug#18 f750aa0e in clone () in /lib32/libc.so.6

[19:15:14] [debugRegisters:

[
19:15:14] [debugEAX00000000 EBX0000535e ECX0000535f EDX00000006

[19:15:14] [debugESI00000000 EDIf7592ff4 EBPf71c93ac ESPf71c9394

[19:15:14] [debugEIPf76ee440 EFLAGS00000296

[19:15:14] [debugStack:

[
19:15:14] [debugESP퍍㓓䴴f71c93ac 00000006 0000535f f7459981

[19:15:14] [debugESP퍍㓓䶴00000006 f71c944c 00000000 f770d4e4

[19:15:14] [debugESP퍍㓓临00005b06 f71c94a4 f7432e04 f742f9c8

[19:15:14] [debugESP퍍㓓亴00000009 f71c945c f7592ff4 00000009

[19:15:14] [debugESP퍍㓓伴f71c945c 00000009 00000000 f71c94bc

[19:15:14] [debugESP퍍㓓䚴f756e0d8 f756e119 0000005e f71c945c

[19:15:14] [debugESP퍍㓓䜴00000000 00000000 00000000 00000000

[19:15:14] [debugESP퍍㓓䞴00000000 00000000 00000000 00000000

[19:15:14] [debugESP퍍㓓崴00000000 00000000 00000000 00000000

[19:15:14] [debugESP퍍㓓嶴00000000 00000000 00000000 00000000

[19:15:14] [debugESP퍍㓓帴f71c9b18 f7495a0d 0000001e f71c960c

[19:15:14] [debugESP퍍㓓庴00000017 ffda1b1d 0000000b f75728dd

[19:15:14] [debugESP퍍㓓弴00000004 f71c9b3b 00000008 f75728e7

[19:15:14] [debugESP퍍㓓嚴00000005 f71c9550 f749580b f75728e8

[19:15:14] [debugESP퍍㓓圴00000008 f71c9570 f71c9b3b 00000000

[19:15:14] [debugESP퍍㓓垴00000004 f71c9590 00000025 00000000

[19:15:14] [debugESP퍍㓓洴00000020 f71c95a0 00000064 f75728dd

[19:15:14] [debugESP퍍㓓涴00000025 f756ed75 f71c99d0 ffda1b1d

[19:15:14] [debugESP퍍㓓渴00000000 00000902 f74fb273 f75728c4

[19:15:14] [debugESP퍍㓓溴f71c9b28 0000001d 00000055 00000055

[19:15:14] [debugESP퍍㓓漴20303030 702d7772 30303020 30303230

[19:15:14] [debugESP퍍㓓暴20202020 20202020 20202020 20202020

[19:15:14] [debugESP퍍㓓朴70617a2f 30353034 672f3935 31393237

[19:15:14] [debugESP퍍㓓枴616e2f73 65766974 63656863 2e72656b

[19:15:14] [debugESP퍍㓓紴30303065 2d777220 30302070 30303030

[19:15:14] [debugESP퍍㓓綴30303065 3637662d 30306665 2d722030

[19:15:14] [debugESP퍍㓓縴20302030 20202020 20202020 20202020

[19:15:14] [debugESP퍍㓓纴20202020 64765b20 0a5d6f73 65363766

[19:15:14] [debugESP퍍㓓缴30207078 30303030 20303030 303a6566

[19:15:14] [debugESP퍍㓓皴20202020 20202020 20202020 20202020

[19:15:14] [debugESP퍍㓓眴2e33312e 660a6f73 63303737 2d303030

[19:15:14] [debugESP퍍㓓瞴30633130 66203030 30303a65 38393920

[19:15:14] [debugLoaded modules:

[
19:15:14] [debug00000000 00187dc3 samp03svr

[19:15:14] [debugf76f0000 f76f0540 

[19:15:14] [debugf76e0000 f76e223f /lib32/libdl.so.2

[19:15:14] [debugf76c6000 f76ddc3b /lib32/libpthread.so.0

[19:15:14] [debugf75da000 f76cce8f /usr/lib32/libstdc.so.6

[19:15:14] [debugf75b4000 f75d850b /lib32/libm.so.6

[19:15:14] [debugf7597000 f75b32f8 /usr/lib32/libgcc_s.so.1

[19:15:14] [debugf742f000 f7599f13 /lib32/libc.so.6

[19:15:14] [debugf76ef000 f770c2b8 /lib/ld-linux.so.2

[19:15:14] [debugf73e7000 f742b390 plugins/crashdetect.so

[19:15:14] [debugf73db000 f73e622c plugins/sscanf.so

[19:15:14] [debugf73d1000 f73d9d1c plugins/Whirlpool.so

[19:15:14] [debugf730c000 f73d0bcf plugins/streamer.so

[19:15:14] [debugf72fb000 f7301a0b /lib32/librt.so.1

[19:15:14] [debugf72d7000 f72fa04f plugins/SKY.so

[19:15:14] [debugf71f2000 f72d9b50 plugins/pawncmd.so

[19:15:14] [debugf76e8000 f76e9f70 plugins/nativechecker.so 



Does anyone get what happened?


RE: samp03svr crash - JonasP - 2019-04-27

See if you can compile your gamemode with the -d3 flag so that logs have more information (the specific line of code where it went south, other extra info). Compile the gm with that flag and see if you can replicate the crash.



From what you provided, it seems that you tried to do something with a player in a database (db_query) after the player connected (OnPlayerConnect). Try looking into that callback and figure out if you do anything that could cause a crash. (1, 6636280, 48) and (7026564, 6636280, 48) look like params that you pass to a function, might be helpful. Maybe they were invalid or something.



Idk, honestly, just some ideas to check out until you have better logs or someone else chimes in.


RE: samp03svr crash - [SF]kAn3 - 2019-04-28

(2019-04-27, 07:03 PM)JonasP Wrote: See if you can compile your gamemode with the -d3 flag so that logs have more information (the specific line of code where it went south, other extra info). Compile the gm with that flag and see if you can replicate the crash.



From what you provided, it seems that you tried to do something with a player in a database (db_query) after the player connected (OnPlayerConnect). Try looking into that callback and figure out if you do anything that could cause a crash. (1, 6636280, 48) and (7026564, 6636280, 48) look like params that you pass to a function, might be helpful. Maybe they were invalid or something.



Idk, honestly, just some ideas to check out until you have better logs or someone else chimes in.



Hey man, thanks for replying. I am not using SQL in this gamemode (because it is an attack/defend script), only things I save are admin level and password in .ini files.

Yet I found out now I was including a_mysql.inc in the script (forgot to remove it) and make the server load at start mysql.so plugin as it's needed for another script I sometiems run. Could this crash be related to mysql plugin/include?



Thanks for your help!



EDIT: mmm I think it was not my script's fault



Quote:Yesterday morning we had a failure of a database cluster for gameservers.

Unfortunately, game servers with installed games that require an external database connection were not available during this time.



A rebuild of the cluster could be successfully completed today at around 08:30 (UTC ).



Important: Please restart your gameserver so a new DB? connection can be established.



We apologize for the long time until the cluster was restored

Visit our support team and we will credit your game server 5 days as compensation.



This message was sent the day after the crash happened. I think we can close this thread.