Segmentation Fault - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Segmentation Fault (
/showthread.php?tid=431208)
Segmentation Fault -
Camacorn - 17.04.2013
Hello,
I am running Cent OS 6.4 (64bit) on my dedicated server. When booting my server, it boots up fine and is displayed as online, but when anyone joins the server, it says "Connected to Server_Name" and then crashes due to a segmentation fault. The server remains online till the moment someone connects. I have done days of research on this issue and have come to no conclusion.
Things I have tried:
- Uploading server in binary mode.
- Uploading server via SSH.
- Correcting server permissions.
- Updating all plugins and includes.
- Updating to latest version of SA:MP server/client.
I will paste my server log, as well as crash detection log below.
Server Log:
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[02:44:24] filterscripts = "" (string)
[02:44:24]
[02:44:24] Server Plugins
[02:44:24] --------------
[02:44:24] Loading plugin: irc.so
[02:44:24]
*** IRC Plugin v1.4.2 by Incognito loaded ***
[02:44:24] Loaded.
[02:44:24] Loading plugin: mysql.so
[02:44:24]
> MySQL plugin R7 successfully loaded.
[02:44:24] Loaded.
[02:44:24] Loading plugin: sscanf.so
[02:44:24]
[02:44:24] ===============================
[02:44:24] sscanf plugin loaded.
[02:44:24] Version: 2.8.1
[02:44:24] © 2012 Alex "******" Cole
[02:44:24] ===============================
[02:44:24] Loaded.
[02:44:24] Loading plugin: streamer.so
[02:44:24]
*** Streamer Plugin v2.5.1 by Incognito loaded ***
[02:44:24] Loaded.
[02:44:24] Loading plugin: Whirlpool.so
[02:44:24]
[02:44:24] ==================
[02:44:24]
[02:44:24] Whirlpool loaded
[02:44:24]
[02:44:24] ==================
[02:44:24]
[02:44:24] Loaded.
[02:44:24] Loading plugin: crashdetect.so
[02:44:24] CrashDetect v4.10.2 is OK.
[02:44:24] Loaded.
[02:44:24] Loaded 6 plugins.
[02:44:24]
[02:44:24] Filterscripts
[02:44:24] ---------------
[02:44:24] Loaded 0 filterscripts.
[02:44:24]
[02:44:24]
[02:44:24]
[02:44:24] =======================================
[02:44:24] | |
[02:44:24] | YSI version 1.06.0002 |
[02:44:24] | By Alex "******" Cole |
[02:44:24] | |
[02:44:24] =======================================
[02:44:24]
[02:44:24] [URGENT] CHECKING SERVER FOR UNAUTHORIZED SCRIPT USE...
[02:44:24] Attempting to connect 3 IRC bots...
[02:44:24] Connection initalized...
[02:44:24]
---------------------------------------
[02:44:24] ---------------------------------------
[02:44:24] NOT TO BE EDITED OR RELEASED
[02:44:24] -----
[02:44:24] Vendetta Gaming Trucking
[02:44:24] Scripters: Camacorn
[02:44:24] Contact: camacorn@live.com
[02:44:24] Website: www.vendetta-gaming.com
[02:44:24] -----
[02:44:24] NOT TO BE EDITED OR RELEASED
[02:44:24] ---------------------------------------
[02:44:24] ---------------------------------------
[02:44:24] Number of vehicle models: 0
[02:44:28] Bot ID 1 connected (1/3) to ***.***.***.***[6667].
[02:44:31] Bot ID 2 connected (2/3) to ***.***.***.***[6667].
[02:44:34] Bot ID 3 connected (3/3) to ***.***.***.***[6667].
[02:44:56] Incoming connection: ***.***.***.***:40774
[02:44:57] [join] Camacorn has joined the server (0:***.***.***.***)
[02:44:57] [debug] Server crashed while executing vgtrucking.amx
Crash Detection Log:
Код:
[02:44:57] [debug] Server crashed while executing vgtrucking.amx
[02:44:57] [debug] AMX backtrace:
[02:44:57] [debug] #0 native mysql_real_escape_string () [f6ba1810] from mysql.so
[02:44:57] [debug] #1 000497d8 in ?? () from vgtrucking.amx
[02:44:57] [debug] #2 00010f20 in public SafeConnect () from vgtrucking.amx
[02:44:57] [debug] Native backtrace:
[02:44:57] [debug] #0 f5c6d03b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[02:44:57] [debug] #1 f5c6705f in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[02:44:57] [debug] #2 f5c67b36 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[02:44:57] [debug] #3 f5c6cd4d in ?? () from plugins/crashdetect.so
[02:44:57] [debug] #4 f771b410 in ?? ()
[02:44:57] [debug] #5 f749fbc1 in ?? () from /lib/libc.so.6
[02:44:57] [debug] #6 f746a4df in _IO_vfprintf () from /lib/libc.so.6
[02:44:57] [debug] #7 f748f9f0 in vsnprintf () from /lib/libc.so.6
[02:44:57] [debug] #8 f6ba7162 in _Z13stringvprintfPKcPc () from plugins/mysql.so
[02:44:57] [debug] #9 f6ba037f in _ZN7Natives5DebugEPcz () from plugins/mysql.so
[02:44:57] [debug] #10 f6b9bb65 in _ZN13CMySQLHandler9EscapeStrESsPc () from plugins/mysql.so
[02:44:57] [debug] #11 f6ba18ea in _ZN7Natives26n_mysql_real_escape_stringEP6tagAMXPi () from plugins/mysql.so
[02:44:57] [debug] #12 08093c94 in ?? () from ./samp03svr
[02:44:57] [debug] #13 f5c657db in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[02:44:57] [debug] #14 f5c693f8 in ?? () from plugins/crashdetect.so
[02:44:57] [debug] #15 f5c6f325 in amx_Exec () from plugins/crashdetect.so
[02:44:57] [debug] #16 f5c66efa in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[02:44:57] [debug] #17 f5c69499 in ?? () from plugins/crashdetect.so
[02:44:57] [debug] #18 080dc025 in ?? () from ./samp03svr
[02:44:57] [debug] #19 080b5c7b in ?? () from ./samp03svr
[02:44:57] [debug] #20 080b1453 in ?? () from ./samp03svr
[02:44:57] [debug] #21 f743cce6 in __libc_start_main () from /lib/libc.so.6
[02:44:57] [debug] #22 0804b521 in ?? () from ./samp03svr
While reading the crash detection log, I notice this:
Код:
[02:44:57] [debug] AMX backtrace:
[02:44:57] [debug] #0 native mysql_real_escape_string () [f6ba1810] from mysql.so
I am not sure if that is the issue, I have tried updating the MySQL.so plugin, which did not help. I am unable to downgrade the plugin due to MySQL caching in my gamemode.
If anyone could shed some light on this issue, I would be greatful, thank you!
Re: Segmentation Fault -
lolumadd_ - 17.04.2013
I've had the same issue, running the same OS 64-bit.
Update to this version of MySQL R7
http://www.solidfiles.com/d/65a78576b8/
I forgot what else I did to solve this problem. I also changed "localhost" in the mysql connect IP to the external IP address.
Hope it works out for you, it is very frustrating.
Re: Segmentation Fault -
Camacorn - 17.04.2013
That did it, thank you!