[Linux] sscanf crashes server on command! - 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: [Linux] sscanf crashes server on command! (
/showthread.php?tid=321617)
[Linux] sscanf crashes server on command! -
ShawnMiller1337 - 27.02.2012
Hello all I updated my plugins with the latest sscanf. Compiled fine , no Errors , replaced pluggins , server starts up fine but when you type in a command lets say /report the server crashes. And when I check the log with putty. It gives me this
Code:
*** glibc detected *** ./samp03svr: double free or corruption (!prev): 0x09a51f58 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d5b0f1]
/lib/libc.so.6(cfree+0x90)[0xb7d5ebc0]
/lib/libc.so.6(fclose+0x136)[0xb7d49c56]
./samp03svr[0x804f544]
./samp03svr[0x80503e4]
./samp03svr[0x8051e85]
./samp03svr[0x80d0a12]
./samp03svr[0x8051d07]
./samp03svr[0x806f3c2]
./samp03svr[0x807f4ac]
./samp03svr[0x80ab431]
./samp03svr[0x80ab522]
./samp03svr[0x80b5210]
./samp03svr[0x807cd76]
./samp03svr[0x807cfa2]
./samp03svr[0x8077263]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7d07e8c]
./samp03svr(__gxx_personality_v0+0xf5)[0x804b4c1]
======= Memory map: ========
08048000-08051000 r-xp 00000000 08:05 82184245 /samp03/samp03svr
08051000-08053000 rwxp 00009000 08:05 82184245 /samp03/samp03svr
08053000-08169000 r-xp 0000b000 08:05 82184245 /samp03/samp03svr
08169000-08185000 rw-p 00120000 08:05 82184245 /samp03/samp03svr
08185000-08190000 rw-p 08185000 00:00 0
0890c000-09a63000 rw-p 0890c000 00:00 0 [heap]
b2400000-b2421000 rw-p b2400000 00:00 0
b2421000-b2500000 ---p b2421000 00:00 0
b253e000-b253f000 ---p b253e000 00:00 0
b253f000-b2f3f000 rw-p b253f000 00:00 0
b2f3f000-b2f4e000 r-xp 00000000 08:05 82118865 /lib/libresolv-2.5.so
b2f4e000-b2f4f000 r--p 0000e000 08:05 82118865 /lib/libresolv-2.5.so
b2f4f000-b2f50000 rw-p 0000f000 08:05 82118865 /lib/libresolv-2.5.so
b2f50000-b2f52000 rw-p b2f50000 00:00 0
b2f52000-b2f56000 r-xp 00000000 08:05 82118895 /lib/libnss_dns-2.5.so
b2f56000-b2f57000 r--p 00003000 08:05 82118895 /lib/libnss_dns-2.5.so
b2f57000-b2f58000 rw-p 00004000 08:05 82118895 /lib/libnss_dns-2.5.so
b2f5c000-b2f5d000 ---p b2f5c000 00:00 0
b2f5d000-b6aa6000 rw-p b2f5d000 00:00 0
b6aa7000-b6f7c000 rw-p b6aa7000 00:00 0
b6f7c000-b6f7d000 ---p b6f7c000 00:00 0
b6f7d000-b797d000 rw-p b6f7d000 00:00 0
b797d000-b7986000 r-xp 00000000 08:05 82118874 /lib/libnss_files-2.5.so
b7986000-b7987000 r--p 00008000 08:05 82118874 /lib/libnss_files-2.5.so
b7987000-b7988000 rw-p 00009000 08:05 82118874 /lib/libnss_files-2.5.so
b798c000-b7b8b000 rw-p b798c000 00:00 0
b7b8b000-b7b97000 r-xp 00000000 08:05 89660909 /samp03/plugins/sscanf.so
b7b97000-b7b98000 r--p 0000b000 08:05 89660909 /samp03/plugins/sscanf.so
b7b98000-b7b99000 rw-p 0000c000 08:05 89660909 /samp03/plugins/sscanf.so
b7b99000-b7ba0000 r-xp 00000000 08:05 82119019 /lib/librt-2.5.so
b7ba0000-b7ba1000 r--p 00006000 08:05 82119019 /lib/librt-2.5.so
b7ba1000-b7ba2000 rw-p 00007000 08:05 82119019 /lib/librt-2.5.so
b7ba2000-b7ba4000 r-xp 00000000 08:05 89661301 /samp03/plugins/nativechecker.so
b7ba4000-b7ba5000 r--p 00001000 08:05 89661301 /samp03/plugins/nativechecker.so
b7ba5000-b7ba6000 rw-p 00002000 08:05 89661301 /samp03/plugins/nativechecker.so
b7ba6000-b7c60000 r-xp 00000000 08:05 89660911 /samp03/plugins/streamer.so
b7c60000-b7c61000 rw-p 000b9000 08:05 89660911 /samp03/plugins/streamer.so
b7c61000-b7c66000 rw-p b7c61000 00:00 0
b7c66000-b7cef000 r-xp 00000000 08:05 89660907 /samp03/plugins/audio.so
b7cef000-b7cf0000 rw-p 00089000 08:05 89660907 /samp03/plugins/audio.so
b7cf0000-b7cf2000 rw-p b7cf0000 00:00 0
b7cf2000-b7e30000 r-xp 00000000 08:05 82118899 /lib/libc-2.5.so
b7e30000-b7e32000 r--p 0013e000 08:05 82118899 /lib/libc-2.5.so
b7e32000-b7e33000 rw-p 00140000 08:05 82118899 /lib/libc-2.5.so
b7e33000-b7e36000 rw-p b7e33000 00:00 0
b7e36000-b7e41000 r-xp 00000000 08:05 82119037 /lib/libgcc_s-4.1.2-20080825.so.1
b7e41000-b7e42000 rw-p 0000a000 08:05 82119037 /lib/libgcc_s-4.1.2-20080825.so.1
b7e42000-b7e67000 r-xp 00000000 08:05 82118893 /lib/libm-2.5.so
b7e67000-b7e68000 r--p 00024000 08:05 82118893 /lib/libm-2.5.so
Really annoying and frustrating stressing me out. The server works fine on a Windows OS but the second its on a Linux it crashes on command ? Any help anyone please ? Thanks
Re: [Linux] sscanf crashes server on command! -
ColorHost-Kevin - 27.02.2012
A plugin is not playing nicely together.
You must remove it to see which one is not working together.
Re: [Linux] sscanf crashes server on command! -
ShawnMiller1337 - 27.02.2012
Doesn't make much sense, The server will not start if certain plugins are not there. audio.so streamer.so sscanf.so by removing one of those the server will not start at all
Re: [Linux] sscanf crashes server on command! -
ShawnMiller1337 - 27.02.2012
Anyone ?
Re: [Linux] sscanf crashes server on command! - Guest9328472398472 - 27.02.2012
You Most likely need to open a support ticket with your host and see if they could resolve the issue.
Re: [Linux] sscanf crashes server on command! -
Nick_Phelps - 08.11.2012
Same problem...