SA-MP Forums Archive
[HELP] Error crash server - 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: [HELP] Error crash server (/showthread.php?tid=376530)



[HELP] Error crash server - [IKS]Niko_Hs™ - 10.09.2012

Hi all, i have a problem.
my server crashes shortly after it was launched, I use a dedicated linux.

This is log error :

Код:
# *** glibc detected *** ./samp03svr: double free or corruption (fasttop): 0xb4718f50 ***
======= Backtrace: =========
/lib/libc.so.6[0x3f7ee5]
/lib/libc.so.6(cfree+0x59)[0x3f8329]
./samp03svr[0x80ec41f]
./samp03svr[0x8114859]
./samp03svr[0x8143a78]
./samp03svr[0x80954a4]
./samp03svr[0x8096f45]
./samp03svr[0x80dcc22]
./samp03svr[0x8096dc7]
./samp03svr[0x80dcc22]
./samp03svr[0x8096dc7]
./samp03svr[0x80a1777]
./samp03svr[0x80cee80]
./samp03svr[0x80abd87]
./samp03svr[0x80ad60e]
./samp03svr[0x80ad652]
./samp03svr[0x80a8fb3]
/lib/libc.so.6(__libc_start_main+0xdc)[0x3a5e9c]
./samp03svr[0x804b491]
======= Memory map: ========
00110000-001ee000 r-xp 00000000 fd:00 39813484 /usr/lib/libstdc++.so.6.0.8
001ee000-001f1000 r--p 000dd000 fd:00 39813484 /usr/lib/libstdc++.so.6.0.8
001f1000-001f3000 rw-p 000e0000 fd:00 39813484 /usr/lib/libstdc++.so.6.0.8
001f3000-001f9000 rw-p 00000000 00:00 0 
001f9000-00282000 r-xp 00000000 fd:00 93119019 /root/samp03/plugins/streamer.so
00282000-00283000 rw-p 00089000 fd:00 93119019 /root/samp03/plugins/streamer.so
00283000-00284000 rw-p 00000000 00:00 0 
00284000-002da000 r-xp 00000000 fd:00 93119008 /root/samp03/plugins/GeoIP_Plugin.so
002da000-002db000 r--p 00055000 fd:00 93119008 /root/samp03/plugins/GeoIP_Plugin.so
002db000-002dc000 rw-p 00056000 fd:00 93119008 /root/samp03/plugins/GeoIP_Plugin.so
00390000-004e2000 r-xp 00000000 fd:00 91824474 /lib/libc-2.5.so
004e2000-004e3000 ---p 00152000 fd:00 91824474 /lib/libc-2.5.so
004e3000-004e5000 r--p 00152000 fd:00 91824474 /lib/libc-2.5.so
004e5000-004e6000 rw-p 00154000 fd:00 91824474 /lib/libc-2.5.so
004e6000-004e9000 rw-p 00000000 00:00 0 
0057e000-0057f000 r-xp 00000000 00:00 0 [vdso]
00685000-0069a000 r-xp 00000000 fd:00 91824403 /lib/libpthread-2.5.so
0069a000-0069b000 ---p 00015000 fd:00 91824403 /lib/libpthread-2.5.so
0069b000-0069c000 r--p 00015000 fd:00 91824403 /lib/libpthread-2.5.so
0069c000-0069d000 rw-p 00016000 fd:00 91824403 /lib/libpthread-2.5.so
0069d000-0069f000 rw-p 00000000 00:00 0 
006f9000-00714000 r-xp 00000000 fd:00 91824452 /lib/ld-2.5.so
00714000-00715000 r--p 0001a000 fd:00 91824452 /lib/ld-2.5.so
00715000-00716000 rw-p 0001b000 fd:00 91824452 /lib/ld-2.5.so
00a76000-00a82000 r-xp 00000000 fd:00 93119017 /root/samp03/plugins/sscanf.so
00a82000-00a83000 rw-p 0000c000 fd:00 93119017 /root/samp03/plugins/sscanf.so
00a98000-00abf000 r-xp 00000000 fd:00 91824475 /lib/libm-2.5.so
00abf000-00ac0000 r--p 00026000 fd:00 91824475 /lib/libm-2.5.so
00ac0000-00ac1000 rw-p 00027000 fd:00 91824475 /lib/libm-2.5.so
00ae8000-00af3000 r-xp 00000000 fd:00 91828526 /lib/libgcc_s-4.1.2-20080825.so.1
00af3000-00af4000 rw-p 0000a000 fd:00 91828526 /lib/libgcc_s-4.1.2-20080825.so.1
00aff000-00b10000 r-xp 00000000 fd:00 91824396 /lib/libresolv-2.5.so
00b10000-00b11000 r--p 00010000 fd:00 91824396 /lib/libresolv-2.5.so
00b11000-00b12000 rw-p 00011000 fd:00 91824396 /lib/libresolv-2.5.so
00b12000-00b14000 rw-p 00000000 00:00 0 
00b6c000-00b73000 r-xp 00000000 fd:00 91824483 /lib/librt-2.5.so
00b73000-00b74000 r--p 00007000 fd:00 91824483 /lib/librt-2.5.so
00b74000-00b75000 rw-p 00008000 fd:00 91824483 /lib/librt-2.5.so
00b83000-00b86000 r-xp 00000000 fd:00 91824549 /lib/libdl-2.5.so
00b86000-00b87000 r--p 00002000 fd:00 91824549 /lib/libdl-2.5.so
00b87000-00b88000 rw-p 00003000 fd:00 91824549 /lib/libdl-2.5.so
00b90000-00b9a000 r-xp 00000000 fd:00 91824444 /lib/libnss_files-2.5.so
00b9a000-00b9b000 r--p 00009000 fd:00 91824444 /lib/libnss_files-2.5.so
00b9b000-00b9c000 rw-p 0000a000 fd:00 91824444 /lib/libnss_files-2.5.so
00d2e000-00d92000 r-xp 00000000 fd:00 93119014 /root/samp03/plugins/regex.so
00d92000-00d93000 rw-p 00064000 fd:00 93119014 /root/samp03/plugins/regex.so
00f37000-00f3b000 r-xp 00000000 fd:00 91824476 /lib/libnss_dns-2.5.so
00f3b000-00f3c000 r--p 00003000 fd:00 91824476 /lib/libnss_dns-2.5.so
00f3c000-00f3d000 rw-p 00004000 fd:00 91824476 /lib/libnss_dns-2.5.so
00fb9000-00fc2000 r-xp 00000000 fd:00 93119023 /root/samp03/plugins/Whirlpool.so
00fc2000-00fc3000 rw-p 00008000 fd:00 93119023 /root/samp03/plugins/Whirlpool.so
08048000-08096000 r-xp 00000000 fd:00 92800810 /root/samp03/samp03svr
08096000-08098000 rwxp 0004e000 fd:00 92800810 /root/samp03/samp03svr
08098000-08171000 r-xp 00050000 fd:00 92800810 /root/samp03/samp03svr
08171000-08193000 rw-p 00129000 fd:00 92800810 /root/samp03/samp03svr
08193000-0819e000 rw-p 00000000 00:00 0 
0a00d000-0b1e1000 rw-p 00000000 00:00 0 [heap]
b4700000-b4800000 rw-p 00000000 00:00 0 
b48b5000-b48b6000 ---p 00000000 00:00 0 
b48b6000-b48f6000 rw-p 00000000 00:00 0 
b48f6000-b48f7000 ---p 00000000 00:00 0 
b48f7000-b4937000 rw-p 00000000 00:00 0 
b4937000-b4938000 ---p 00000000 00:00 0 
b4938000-b55aa000 rw-p 00000000 00:00 0 
b55ab000-b5a81000 rw-p 00000000 00:00 0 
b5a81000-b5a82000 ---p 00000000 00:00 0 
b5a82000-b77e2000 rw-p 00000000 00:00 0 
b77e4000-b77e7000 rw-p 00000000 00:00 0 
bfe15000-bfe2a000 rw-p 00000000 00:00 0 [stack]ls
Help me please.

Thanks.


Re: [HELP] Error crash server - Glint - 10.09.2012

Is this your server_log ?

What plugins do you use ?


Re: [HELP] Error crash server - iPawner - 10.09.2012

libstdc++
You're Dedicated Dosen't have "libstdc++"
That's the problem.You can download it for free.

If you still have any problem i had added you on skype please don't hesitate to ask.




Re: [HELP] Error crash server - Antony500 - 10.09.2012

Quote:
Originally Posted by iPawner
Посмотреть сообщение
libstdc++
You're Dedicated Dosen't have "libstdc++"
That's the problem.You can download it for free.

If you still have any problem i had added you on skype please don't hesitate to ask.

Hello,

I am the owner of the server.

libstdc++ was already installed, but i updated it. We'll keep you informed about it. Also, after 5-6 mins, it gives a Segmentation fault and crashes. 0 mentions for Segmentation fault in the server's log.
Thanks for your help guys!


Re: [HELP] Error crash server - iPawner - 10.09.2012

Also had you checked your Permisions of samp03svr was set to
pawn Код:
777



Re: [HELP] Error crash server - Antony500 - 10.09.2012

Quote:
Originally Posted by iPawner
Посмотреть сообщение
libstdc++
You're Dedicated Dosen't have "libstdc++"
That's the problem.You can download it for free.

If you still have any problem i had added you on skype please don't hesitate to ask.

Quote:
Originally Posted by iPawner
Посмотреть сообщение
Also had you checked your Permisions of samp03svr was set to
pawn Код:
777
Yes it is set to 777.

I'm trying to keep the server up but it ends up crashing with Segmentation fault or a Backtrace, the same on the OP.


Respuesta: [HELP] Error crash server - [IKS]Niko_Hs™ - 10.09.2012

I read that Segmentation fault may come from the streamer plugin,is not it?
Hmm, though, because if I do not put all the callbacks, the server crashes?

print by crashdetect :
Es:
Код:
[15:34:08] [debug] Server crashed while executing gamemode.amx
[15:34:08] [debug] Backtrace (most recent call first):
[15:34:08] [debug] #0  ???????? in OnEnterExitModShop () from gamemode.amx



Re: [HELP] Error crash server - Antony500 - 11.09.2012

May i get up this post? We need this asap


Re: [HELP] Error crash server - ColorHost-Kevin - 11.09.2012

Well the error is clearly your script and OnEnterExitModShop

So i would suggest looking into that.


Re: [HELP] Error crash server - [IKS]Niko_Hs™ - 11.09.2012

The problem is that I do not have that callback in gamemode..
How can we solve the Segmentation fault ERROR ?