server crashing
#1

The server was working like 15 minutes ago and I restarted it and now its instantly crashing and im getting these errors:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[23:39:09] mapname = "San Andreas"  (string)
[23:39:09] 
[23:39:09] Server Plugins
[23:39:09] --------------
[23:39:09]  Loading plugin: mysql.so
[23:39:09] 

  > MySQL plugin R6 successfully loaded.

[23:39:09]   Loaded.
[23:39:09]  Loading plugin: nativechecker.so
[23:39:09]   Loaded.
[23:39:09]  Loading plugin: sscanf.so
[23:39:09] 

[23:39:09]  ===============================

[23:39:09]       sscanf plugin loaded.     

[23:39:09]          Version:  2.8.1        

[23:39:09]    © 2012 Alex "******" Cole  

[23:39:09]  ===============================

[23:39:09]   Loaded.
[23:39:09]  Loading plugin: Whirlpool.so
[23:39:09]  
[23:39:09]  ==================
[23:39:09]  
[23:39:09]   Whirlpool loaded
[23:39:09]  
[23:39:09]  ==================
[23:39:09]  
[23:39:09]   Loaded.
[23:39:09]  Loading plugin: crashdetect.so
[23:39:09]   CrashDetect v4.13 is OK.
[23:39:09]   Loaded.
[23:39:09]  Loading plugin: streamer.so
[23:39:09] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[23:39:09]   Loaded.
[23:39:09]  Loaded 6 plugins.

[23:39:09] 
[23:39:09] Filterscripts
[23:39:09] ---------------
[23:39:09]   Loading filterscript 'goint.amx'...
[23:39:09]    Error: Function not registered: 'SSCANF_Init'
[23:39:09]    Error: Function not registered: 'SSCANF_Join'
[23:39:09]    Error: Function not registered: 'SSCANF_Leave'
[23:39:09]    Error: Function not registered: 'sscanf'
[23:39:09]   Loaded 1 filterscripts.

[23:39:09]    Error: Function not registered: 'SSCANF_Init'
[23:39:09]    Error: Function not registered: 'SSCANF_Join'
[23:39:09]    Error: Function not registered: 'SSCANF_Leave'
[23:39:09]    Error: Function not registered: 'Streamer_CallbackHook'
[23:39:09]    Error: Function not registered: 'CreateDynamicObject'
[23:39:09]    Error: Function not registered: 'WP_Hash'
[23:39:09]    Error: Function not registered: 'sscanf'
[23:39:09] Admin system loaded.
[23:39:09] Factions Loaded.
Anyone know why? I tried updating my sscanf, recompiling the gamemode etc. Like I said, It worked a few minutes ago and I don't understand why it suddenly quit on me.
Reply
#2

Make sure you have SSCanf plugin loaded and latest include and latest plugin and also Streamer plugin and ofc WhirlPool plugin
Reply
#3

Quote:
Originally Posted by XO
Посмотреть сообщение
Make sure you have SSCanf plugin loaded and latest include and latest plugin and also Streamer plugin and ofc WhirlPool plugin
I just went and redownloaded them, like I said, it WAS online for about 3 days up until about an hour ago
Reply
#4

Download Full Sscanf And Includes.Not Just Sscanf.so
Download All Of SScanf incluses And New Plugin
Reply
#5

Quote:
Originally Posted by alishvasis
Посмотреть сообщение
Download Full Sscanf And Includes.Not Just Sscanf.so
Download All Of SScanf incluses And New Plugin
I did.
Reply
#6

I dont get it, A simple restart shouldn't fuck everything up, the crashdetect said it was those functions and also samp03svr, so I reuploaded that and its still not working. If someone knows please reply ASAP this is like urgent.
Reply
#7

Load nativechecker last.
Reply
#8

That got rid of the errors, but the server still crashes.

Код:
[05:42:44] [debug] Server crashed while executing prp.amx
[05:42:44] [debug] AMX backtrace:
[05:42:44] [debug] #0 native db_get_field_assoc () [08139e70] from samp03svr
[05:42:44] [debug] #1 0002cf9c in ?? (0x0000000a) from prp.amx
[05:42:44] [debug] #2 0002dbd4 in ?? () from prp.amx
[05:42:44] [debug] #3 00011904 in public Streamer_OnGameModeInit () from prp.amx
[05:42:44] [debug] #4 native CallLocalFunction () [080d2960] from samp03svr
[05:42:44] [debug] #5 0000ea68 in public Itter_OnGameModeInit () from prp.amx
[05:42:44] [debug] #6 native CallLocalFunction () [080d2960] from samp03svr
[05:42:44] [debug] #7 000068f4 in public SSCANF_OnGameModeInit () from prp.amx
[05:42:44] [debug] #8 00000a04 in public zcmd_OnGameModeInit () from prp.amx
[05:42:44] [debug] #9 native CallLocalFunction () [080d2960] from samp03svr
[05:42:44] [debug] #10 000004c0 in public OnGameModeInit () from prp.amx
[05:42:44] [debug] Native backtrace:
[05:42:44] [debug] #0 b668d31b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[05:42:44] [debug] #1 b66877c2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[05:42:44] [debug] #2 b66883ac in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[05:42:44] [debug] #3 b6688856 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[05:42:44] [debug] #4 b668cf6c in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #5 b7794600 in ?? ()
[05:42:44] [debug] #6 081399f0 in ?? () from ./samp03svr
[05:42:44] [debug] #7 08139f83 in ?? () from ./samp03svr
[05:42:44] [debug] #8 08093d14 in ?? () from ./samp03svr
[05:42:44] [debug] #9 b668503c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:42:44] [debug] #10 b668b458 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #11 b668fc61 in amx_Exec () from plugins/crashdetect.so
[05:42:44] [debug] #12 b6687708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:42:44] [debug] #13 b668b1c9 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #14 080d2c02 in ?? () from ./samp03svr
[05:42:44] [debug] #15 08093d14 in ?? () from ./samp03svr
[05:42:44] [debug] #16 b668503c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:42:44] [debug] #17 b668b458 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #18 b668fc61 in amx_Exec () from plugins/crashdetect.so
[05:42:44] [debug] #19 b6687708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:42:44] [debug] #20 b668b1c9 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #21 080d2c02 in ?? () from ./samp03svr
[05:42:44] [debug] #22 08093d14 in ?? () from ./samp03svr
[05:42:44] [debug] #23 b668503c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:42:44] [debug] #24 b668b458 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #25 b668fc61 in amx_Exec () from plugins/crashdetect.so
[05:42:44] [debug] #26 b6687708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:42:44] [debug] #27 b668b1c9 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #28 080d2c02 in ?? () from ./samp03svr
[05:42:44] [debug] #29 08093d14 in ?? () from ./samp03svr
[05:42:44] [debug] #30 b668503c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:42:44] [debug] #31 b668b458 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #32 b668fc61 in amx_Exec () from plugins/crashdetect.so
[05:42:44] [debug] #33 b6687708 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:42:44] [debug] #34 b668b1c9 in ?? () from plugins/crashdetect.so
[05:42:44] [debug] #35 080acccb in ?? () from ./samp03svr
[05:42:44] [debug] #36 080b2bbd in ?? () from ./samp03svr
[05:42:44] [debug] #37 080b1487 in ?? () from ./samp03svr
[05:42:44] [debug] #38 b74a94d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
I didnt touch anything in ongamemodeinit, so ya..
Reply
#9

Bump. I need this solved :P
Reply
#10

When the data of a field is NULL/empty, the function db_get_field_assoc can crash the server.

For more information about the crash, use debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info

It will print the line caused the crash so you got the field at the same time (if you check the line on the script).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)