Segmentation fault
#1

Hello everybody,

we have a Debian 6 (64bit) server and we are trying to run samp 0.3x server. We have following plugins:
  • Streamer
  • MySQL R6-2 (used this download link, since BlueG links are down)
When our server runs it get's segmentation fault and here's the log:
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[23:11:30] 
[23:11:30] Server Plugins
[23:11:30] --------------
[23:11:30]  Loading plugin: streamer.so
[23:11:30] 

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

[23:11:30]   Loaded.
[23:11:30]  Loading plugin: mysql.so
[23:11:30] 

  > MySQL plugin R6-2 successfully loaded.

[23:11:30]   Loaded.
[23:11:30]  Loading plugin: crashdetect.so
[23:11:30]   CrashDetect v4.10 is OK.
[23:11:30]   Loaded.
[23:11:30]  Loaded 3 plugins.

[23:11:30] 
[23:11:30] Filterscripts
[23:11:30] ---------------
[23:11:30]   Loading filterscript 'animations.amx'...
[23:11:30]   Loading filterscript 'SAPT-Peatused.amx'...
[23:11:30] 
--------------------------------------
[23:11:30]  CPT FS -  Peatused by kerts93
[23:11:30] --------------------------------------

[23:11:30]   Loading filterscript 'mapping.amx'...
[23:11:30] 
--------------------------------------
[23:11:30]  nG RP Mappingu FS
[23:11:30] --------------------------------------

[23:11:30]   Loaded 3 filterscripts.

[23:11:31] [SERVER] - Component: [MYSQL]: Ьhendus `mysql_srv43`'le хnnestus!
[23:11:31] [SERVER] - Component: [Authentication] Successful!
[23:11:31] [debug] Server crashed while executing rp2.amx
[23:11:31] [debug] AMX backtrace:
[23:11:31] [debug] #0 native mysql_fetch_field_row () [f73d2d50] from mysql.so
[23:11:31] [debug] #1 0006782c in ?? () from rp2.amx
[23:11:31] [debug] #2 00073008 in ?? () from rp2.amx
[23:11:31] [debug] #3 00005a14 in public zcmd_OnGameModeInit () from rp2.amx
[23:11:31] [debug] #4 native CallLocalFunction () [080d2870] from samp03svr
[23:11:31] [debug] #5 00000748 in public OnGameModeInit () from rp2.amx
[23:11:31] [debug] System backtrace:
[23:11:31] [debug] #0 f695becb in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[23:11:31] [debug] #1 f6953c69 in _ZN11CrashDetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[23:11:31] [debug] #2 f6955c99 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[23:11:31] [debug] #3 f695b9d8 in ?? () from plugins/crashdetect.so
[23:11:31] [debug] #4 f772d410 in ?? ()
[23:11:31] [debug] #5 f74f4e30 in ?? () from /lib32/libc.so.6
[23:11:31] [debug] #6 f76a38f0 in _ZNKSs7compareEPKc () from /usr/lib32/libstdc++.so.6
[23:11:31] [debug] #7 f73cddb3 in _ZN13CMySQLHandler10FetchFieldESs () from plugins/mysql.so
[23:11:31] [debug] #8 f73d2dd0 in _ZN7Natives23n_mysql_fetch_field_rowEP6tagAMXPi () from plugins/mysql.so
[23:11:31] [debug] #9 08093c94 in ?? () from ./samp03svr
[23:11:31] [debug] #10 f6955f37 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[23:11:31] [debug] #11 f6958268 in ?? () from plugins/crashdetect.so
[23:11:31] [debug] #12 f695e2c2 in amx_Exec () from plugins/crashdetect.so
[23:11:31] [debug] #13 f6955e1e in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[23:11:31] [debug] #14 f69582de in ?? () from plugins/crashdetect.so
[23:11:31] [debug] #15 080d2b12 in ?? () from ./samp03svr
[23:11:31] [debug] #16 08093c94 in ?? () from ./samp03svr
[23:11:31] [debug] #17 f6955f37 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[23:11:31] [debug] #18 f6958268 in ?? () from plugins/crashdetect.so
[23:11:31] [debug] #19 f695e2c2 in amx_Exec () from plugins/crashdetect.so
[23:11:31] [debug] #20 f6955e1e in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[23:11:31] [debug] #21 f69582de in ?? () from plugins/crashdetect.so
[23:11:31] [debug] #22 080acc4b in ?? () from ./samp03svr
[23:11:31] [debug] #23 080b2b3d in ?? () from ./samp03svr
[23:11:31] [debug] #24 080b1407 in ?? () from ./samp03svr
[23:11:31] [debug] #25 f7497ca6 in __libc_start_main () from /lib32/libc.so.6
[23:11:31] [debug] #26 0804b521 in ?? () from ./samp03svr
If needed I also have coredump file. If anyone can help, it would be appreciated. All files are uploaded via SFTP as binary.
Reply
#2

Also to note, same script worked on centos system. (Of course with centos edition of mysql plugin)

//Also worked on other Debian 6 (64bit), so the problem has to lay in our server.
Reply
#3

Get both 32-bit and 64-bit libraries for MySQL.
Reply
#4

Already have both
Reply
#5

Looks like we managed to get the problem fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)