Server TurnOff
#1

why my server suddenly turns itself off.

and this is the statement

*** glibc detected *** ./samp03svr: double free or corruption (!prev): 0x09f02218 ***
======= Backtrace: =========
/lib/libc.so.6[0xf7d19d35]
/lib/libc.so.6(cfree+0x59)[0xf7d1dda9]
/lib/libc.so.6(fclose+0x136)[0xf7d082d6]
./samp03svr[0x809aa04]
./samp03svr[0x8093d84]
./samp03svr[0x8095825]
./samp03svr[0x80dc202]
./samp03svr[0x80956a7]
./samp03svr[0x80a3cb2]
./samp03svr[0x80af4e1]
./samp03svr[0x8071ac8]
./samp03svr[0x8071bc2]
./samp03svr[0x807ba20]
./samp03svr[0x80acbfd]
./samp03svr[0x80acda2]
./samp03svr[0x80a81ae]
/lib/libc.so.6(__libc_start_main+0xdc)[0xf7cc5ebc]
./samp03svr[0x804b4a1]
======= Memory map: ========
08048000-08094000 r-xp 00000000 03:01 131076 /root/samp03/samp03svr
08094000-08096000 rwxp 0004c000 03:01 131076 /root/samp03/samp03svr
08096000-08170000 r-xp 0004e000 03:01 131076 /root/samp03/samp03svr
08170000-08192000 rw-p 00128000 03:01 131076 /root/samp03/samp03svr
08192000-0819d000 rw-p 08192000 00:00 0
09096000-0a30c000 rw-p 09096000 00:00 0 [heap]
f1d00000-f1dab000 rw-p f1d00000 00:00 0
f1dab000-f1e00000 ---p f1dab000 00:00 0
f1f00000-f2000000 rw-p f1f00000 00:00 0
f2024000-f2037000 rw-p f2024000 00:00 0
f2037000-f2038000 ---p f2037000 00:00 0
f2038000-f2a38000 rw-p f2038000 00:00 0
f2a38000-f2a39000 ---p f2a38000 00:00 0
f2a39000-f6b5b000 rw-p f2a39000 00:00 0
f6b5c000-f7031000 rw-p f6b5c000 00:00 0
f7031000-f7032000 ---p f7031000 00:00 0
f7032000-f7a32000 rw-p f7032000 00:00 0
f7a32000-f7a43000 r-xp 00000000 03:01 4793 /lib/libresolv-2.5.so
f7a43000-f7a44000 r--p 00010000 03:01 4793 /lib/libresolv-2.5.so
f7a44000-f7a45000 rw-p 00011000 03:01 4793 /lib/libresolv-2.5.so
f7a45000-f7a47000 rw-p f7a45000 00:00 0
f7a47000-f7a4b000 r-xp 00000000 03:01 4771 /lib/libnss_dns-2.5.so
f7a4b000-f7a4c000 r--p 00003000 03:01 4771 /lib/libnss_dns-2.5.so
f7a4c000-f7a4d000 rw-p 00004000 03:01 4771 /lib/libnss_dns-2.5.so
f7a4d000-f7a57000 r-xp 00000000 03:01 4777 /lib/libnss_files-2.5.so
f7a57000-f7a58000 r--p 00009000 03:01 4777 /lib/libnss_files-2.5.so
f7a58000-f7a59000 rw-p 0000a000 03:01 4777 /lib/libnss_files-2.5.so
f7a5d000-f7b80000 rw-p f7a5d000 00:00 0
f7b80000-f7b8e000 r-xp 00000000 03:01 134189 /root/samp03/plugins/sscanf.so
f7b8e000-f7b8f000 rw-p 0000d000 03:01 134189 /root/samp03/plugins/sscanf.so
f7b8f000-f7b96000 r-xp 00000000 03:01 4795 /lib/librt-2.5.so
f7b96000-f7b97000 r--p 00007000 03:01 4795 /lib/librt-2.5.so
f7b97000-f7b98000 rw-p 00008000 03:01 4795 /lib/librt-2.5.so
f7b9c000-f7c28000 r-xp 00000000 03:01 131114 /root/samp03/plugins/streamer.so
f7c28000-f7c29000 rw-p 0008c000 03:01 131114 /root/samp03/plugins/streamer.so
f7c29000-f7c2a000 rw-p f7c29000 00:00 0
f7c2a000-f7cad000 r-xp 00000000 03:01 134188 /root/samp03/plugins/audio.so
f7cad000-f7cae000 rw-p 00083000 03:01 134188 /root/samp03/plugins/audio.so
f7cae000-f7cb0000 rw-p f7cae000 00:00 0
f7cb0000-f7e07000 r-xp 00000000 03:01 4731 /lib/libc-2.5.so
f7e07000-f7e09000 r--p 00157000 03:01 4731 /lib/libc-2.5.so
f7e09000-f7e0a000 rw-p 00159000 03:01 4731 /lib/libc-2.5.so
f7e0a000-f7e0d000 rw-p f7e0a000 00:00 0
f7e0d000-f7e18000 r-xp 00000000 03:01 9033 /lib/libgcc_s-4.1.2-20080825.so.1
f7e18000-f7e19000 rw-p 0000a000 03:01 9033 /lib/libgcc_s-4.1.2-20080825.so.1
f7e19000-f7e40000 r-xp 00000000 03:01 4748 /lib/libm-2.5.so
f7e40000-f7e41000 r--p 00026000 03:01 4748 /lib/libm-2.5.so
f7e41000-f7e42000 rw-p 00027000 03:01 4748 /lib/libm-2.5.so
f7e42000-f7f20000 r-xp 00000000 03:01 9039 /usr/lib/libstdc++.so.6.0.8
f7f20000-f7f23000 r--p 000dd000 03:01 9039 /usr/lib/libstdc++.so.6.0.8
f7f23000-f7f25000 rw-p 000e0000 03:01 9039 /usr/lib/libstdc++.so.6.0.8
f7f25000-f7f2b000 rw-p f7f25000 00:00 0
f7f2b000-f7f41000 r-xp 00000000 03:01 4791 /lib/libpthread-2.5.so
f7f41000-f7f42000 r--p 00015000 03:01 4791 /lib/libpthread-2.5.so
f7f42000-f7f43000 rw-p 00016000 03:01 4791 /lib/libpthread-2.5.so
f7f43000-f7f45000 rw-p f7f43000 00:00 0
f7f45000-f7f48000 r-xp 00000000 03:01 4746 /lib/libdl-2.5.so
f7f48000-f7f49000 r--p 00002000 03:01 4746 /lib/libdl-2.5.so
f7f49000-f7f4a000 rw-p 00003000 03:01 4746 /lib/libdl-2.5.so
f7f4a000-f7f4b000 rw-p f7f4a000 00:00 0
f7f4c000-f7f4f000 rw-p f7f4c000 00:00 0
f7f4f000-f7f6a000 r-xp 00000000 03:01 4716 /lib/ld-2.5.so
f7f6a000-f7f6b000 r--p 0001a000 03:01 4716 /lib/ld-2.5.so
f7f6b000-f7f6c000 rw-p 0001b000 03:01 4716 /lib/ld-2.5.so
ffc9e000-ffcb3000 rw-p 7ffffffe9000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0

Anyone can help my problem
Reply
#2

I had similar crashes couple of years ago due to memory leaking.. it was bad/heavy scripting.
Reply
#3

Is there any solution?
Reply
#4

Re-write your code. It's probably very messy.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)