Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Support [Server] samp03svr crash

 
  • 0 Vote(s) - 0 Average
Server samp03svr crash
[SF]kAn3
Offline

Burgershot Member
Posts: 26
Threads: 7
Joined: Apr 2019
Reputation: 2
Location: Italia
#1
2019-04-27, 03:15 PM
PHP Code:
[19:15:12] [connection] ************ requests connection cookie.
[
19:15:13] [connection] incoming connection: ************ id: 1
[19:15:14] [join] ************ has joined the server (************)
[
19:15:14] [debug] Server crashed while executing ****.amx
[19:15:14] [debug] AMX 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] [debug] Native 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] [debug] Registers:
[
19:15:14] [debug] EAX: 00000000 EBX: 0000535e ECX: 0000535f EDX: 00000006
[19:15:14] [debug] ESI: 00000000 EDI: f7592ff4 EBP: f71c93ac ESP: f71c9394
[19:15:14] [debug] EIP: f76ee440 EFLAGS: 00000296
[19:15:14] [debug] Stack:
[
19:15:14] [debug] ESP+00000000: f71c93ac 00000006 0000535f f7459981
[19:15:14] [debug] ESP+00000020: 00000006 f71c944c 00000000 f770d4e4
[19:15:14] [debug] ESP+00000040: 00005b06 f71c94a4 f7432e04 f742f9c8
[19:15:14] [debug] ESP+00000060: 00000009 f71c945c f7592ff4 00000009
[19:15:14] [debug] ESP+00000080: f71c945c 00000009 00000000 f71c94bc
[19:15:14] [debug] ESP+000000a0: f756e0d8 f756e119 0000005e f71c945c
[19:15:14] [debug] ESP+000000c0: 00000000 00000000 00000000 00000000
[19:15:14] [debug] ESP+000000e0: 00000000 00000000 00000000 00000000
[19:15:14] [debug] ESP+00000100: 00000000 00000000 00000000 00000000
[19:15:14] [debug] ESP+00000120: 00000000 00000000 00000000 00000000
[19:15:14] [debug] ESP+00000140: f71c9b18 f7495a0d 0000001e f71c960c
[19:15:14] [debug] ESP+00000160: 00000017 ffda1b1d 0000000b f75728dd
[19:15:14] [debug] ESP+00000180: 00000004 f71c9b3b 00000008 f75728e7
[19:15:14] [debug] ESP+000001a0: 00000005 f71c9550 f749580b f75728e8
[19:15:14] [debug] ESP+000001c0: 00000008 f71c9570 f71c9b3b 00000000
[19:15:14] [debug] ESP+000001e0: 00000004 f71c9590 00000025 00000000
[19:15:14] [debug] ESP+00000200: 00000020 f71c95a0 00000064 f75728dd
[19:15:14] [debug] ESP+00000220: 00000025 f756ed75 f71c99d0 ffda1b1d
[19:15:14] [debug] ESP+00000240: 00000000 00000902 f74fb273 f75728c4
[19:15:14] [debug] ESP+00000260: f71c9b28 0000001d 00000055 00000055
[19:15:14] [debug] ESP+00000280: 20303030 702d7772 30303020 30303230
[19:15:14] [debug] ESP+000002a0: 20202020 20202020 20202020 20202020
[19:15:14] [debug] ESP+000002c0: 70617a2f 30353034 672f3935 31393237
[19:15:14] [debug] ESP+000002e0: 616e2f73 65766974 63656863 2e72656b
[19:15:14] [debug] ESP+00000300: 30303065 2d777220 30302070 30303030
[19:15:14] [debug] ESP+00000320: 30303065 3637662d 30306665 2d722030
[19:15:14] [debug] ESP+00000340: 20302030 20202020 20202020 20202020
[19:15:14] [debug] ESP+00000360: 20202020 64765b20 0a5d6f73 65363766
[19:15:14] [debug] ESP+00000380: 30207078 30303030 20303030 303a6566
[19:15:14] [debug] ESP+000003a0: 20202020 20202020 20202020 20202020
[19:15:14] [debug] ESP+000003c0: 2e33312e 660a6f73 63303737 2d303030
[19:15:14] [debug] ESP+000003e0: 30633130 66203030 30303a65 38393920
[19:15:14] [debug] Loaded modules:
[
19:15:14] [debug] 00000000 - 00187dc3 samp03svr
[19:15:14] [debug] f76f0000 - f76f0540 
[19:15:14] [debug] f76e0000 - f76e223f /lib32/libdl.so.2
[19:15:14] [debug] f76c6000 - f76ddc3b /lib32/libpthread.so.0
[19:15:14] [debug] f75da000 - f76cce8f /usr/lib32/libstdc++.so.6
[19:15:14] [debug] f75b4000 - f75d850b /lib32/libm.so.6
[19:15:14] [debug] f7597000 - f75b32f8 /usr/lib32/libgcc_s.so.1
[19:15:14] [debug] f742f000 - f7599f13 /lib32/libc.so.6
[19:15:14] [debug] f76ef000 - f770c2b8 /lib/ld-linux.so.2
[19:15:14] [debug] f73e7000 - f742b390 plugins/crashdetect.so
[19:15:14] [debug] f73db000 - f73e622c plugins/sscanf.so
[19:15:14] [debug] f73d1000 - f73d9d1c plugins/Whirlpool.so
[19:15:14] [debug] f730c000 - f73d0bcf plugins/streamer.so
[19:15:14] [debug] f72fb000 - f7301a0b /lib32/librt.so.1
[19:15:14] [debug] f72d7000 - f72fa04f plugins/SKY.so
[19:15:14] [debug] f71f2000 - f72d9b50 plugins/pawncmd.so
[19:15:14] [debug] f76e8000 - f76e9f70 plugins/nativechecker.so 

Does anyone get what happened?
JonasP
Offline

Moderator

Posts: 24
Threads: 1
Joined: Apr 2019
Reputation: 2
Location: Lithuania
#2
2019-04-27, 07:03 PM
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.
[SF]kAn3
Offline

Burgershot Member
Posts: 26
Threads: 7
Joined: Apr 2019
Reputation: 2
Location: Italia
#3
2019-04-28, 07:23 PM (This post was last modified: 2019-04-28, 07:30 PM by [SF]kAn3.)
(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 +1).

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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode