linux server error help me -
bloodline - 04.06.2009
[root@localhost Bloodlines.Linux.tgz_FILES]# ./samp02Xsvr
Started Server on port: 8888, with maxplayers: 100 lanmode is OFF.
*** glibc detected *** ./samp02Xsvr: double free or corruption (top): 0x08f33c98 ***
======= Backtrace: =========
/lib/libc.so.6[0x8090f1]
/lib/libc.so.6(cfree+0x90)[0x80cbc0]
/usr/lib/mysql/libmysqlclient.so.15(my_no_flags_free+0x21)[0x95eba1]
/usr/lib/mysql/libmysqlclient.so.15(free_rows+0x39)[0x9834f9]
/usr/lib/mysql/libmysqlclient.so.15(mysql_free_result+0x47)[0x983557]
plugins/sampmysql.so[0x28b8ad]
./samp02Xsvr[0x804efe4]
./samp02Xsvr[0x8050a86]
./samp02Xsvr[0x807143b]
./samp02Xsvr[0x8080f58]
./samp02Xsvr[0x807e1ea]
/lib/libc.so.6(__libc_start_main+0xdc)[0x7b5e8c]
./samp02Xsvr(__gxx_personality_v0+0xc1)[0x804ae71]
======= Memory map: ========
00110000-00119000 r-xp 00000000 fd:00 753704 /lib/libnss_files-2.5.so
00119000-0011a000 r-xp 00008000 fd:00 753704 /lib/libnss_files-2.5.so
0011a000-0011b000 rwxp 00009000 fd:00 753704 /lib/libnss_files-2.5.so
00289000-0028d000 r-xp 00000000 fd:00 920199 /root/Desktop/Bloodlines.Linux.tgz_FILES/plugins/sampmysql.so
0028d000-0028e000 rwxp 00004000 fd:00 920199 /root/Desktop/Bloodlines.Linux.tgz_FILES/plugins/sampmysql.so
0050b000-00546000 r-xp 00000000 fd:00 755372 /lib/libsepol.so.1
00546000-00547000 rwxp 0003a000 fd:00 755372 /lib/libsepol.so.1
00547000-00551000 rwxp 00547000 00:00 0
006d2000-006d4000 r-xp 00000000 fd:00 755370 /lib/libkeyutils-1.2.so
006d4000-006d5000 rwxp 00001000 fd:00 755370 /lib/libkeyutils-1.2.so
006d7000-006d9000 r-xp 00000000 fd:00 755374 /lib/libcom_err.so.2.1
006d9000-006da000 rwxp 00001000 fd:00 755374 /lib/libcom_err.so.2.1
00700000-0070b000 r-xp 00000000 fd:00 755366 /lib/libgcc_s-4.1.2-20080825.so.1
0070b000-0070c000 rwxp 0000a000 fd:00 755366 /lib/libgcc_s-4.1.2-20080825.so.1
00731000-00740000 r-xp 00000000 fd:00 755371 /lib/libresolv-2.5.so
00740000-00741000 r-xp 0000e000 fd:00 755371 /lib/libresolv-2.5.so
00741000-00742000 rwxp 0000f000 fd:00 755371 /lib/libresolv-2.5.so
00742000-00744000 rwxp 00742000 00:00 0
00746000-0074e000 r-xp 00000000 fd:00 1978993 /usr/lib/libkrb5support.so.0.1
0074e000-0074f000 rwxp 00007000 fd:00 1978993 /usr/lib/libkrb5support.so.0.1
00751000-00776000 r-xp 00000000 fd:00 1990635 /usr/lib/libk5crypto.so.3.1
00776000-00777000 rwxp 00025000 fd:00 1990635 /usr/lib/libk5crypto.so.3.1
0077d000-00797000 r-xp 00000000 fd:00 755354 /lib/ld-2.5.so
00797000-00798000 r-xp 00019000 fd:00 755354 /lib/ld-2.5.so
00798000-00799000 rwxp 0001a000 fd:00 755354 /lib/ld-2.5.so
007a0000-008de000 r-xp 00000000 fd:00 755355 /lib/libc-2.5.so
008de000-008e0000 r-xp 0013e000 fd:00 755355 /lib/libc-2.5.so
008e0000-008e1000 rwxp 00140000 fd:00 755355 /lib/libc-2.5.so
008e1000-008e4000 rwxp 008e1000 00:00 0
008e6000-0090b000 r-xp 00000000 fd:00 755362 /lib/libm-2.5.so
0090b000-0090c000 r-xp 00024000 fd:00 755362 /lib/libm-2.5.so
0090c000-0090d000 rwxp 00025000 fd:00 755362 /lib/libm-2.5.so
0090f000-00911000 r-xp 00000000 fd:00 755356 /lib/libdl-2.5.so
00911000-00912000 r-xp 00001000 fd:00 755356 /lib/libdl-2.5.so
00912000-00913000 rwxp 00002000 fd:00 755356 /lib/libdl-2.5.so
00915000-00928000 r-xp 00000000 fd:00 755357 /lib/libpthread-2.5.so
00928000-00929000 r-xp 00012000 fd:00 755357 /lib/libpthread-2.5.so
00929000-0092a000 rwxp 00013000 fd:00 755357 /lib/libpthread-2.5.so
0092a000-0092c000 rwxp 0092a000 00:00 0
0092e000-00940000 r-xp 00000000 fd:00 1990599 /usr/lib/libz.so.1.2.3
00940000-00941000 rwxp 00011000 fd:00 1990599 /usr/lib/libz.so.1.2.3
00943000-00a64000 r-xp 00000000 fd:00 557057 /usr/lib/mysql/libmysqlclient.so.15.0.0
00a64000-00aa6000 rwxp 00120000 fd:00 557057 /usr/lib/mysql/libmysqlclient.so.15.0.0
00aa6000-00aa7000 rwxp 00aa6000 00:00 0
00c09000-00c0a000 r-xp 00c09000 00:00 0 [vdso]
00dc6000-00ddc000 r-xp 00000000 fd:00 755373 /lib/libselinux.so.1
00ddc000-00dde000 rwxp 00015000 fd:00 755373 /lib/libselinux.so.1
00de0000-00df3000 r-xp 00000000 fd:00 755369 /lib/libnsl-2.5.so
00df3000-00df4000 r-xp 00012000 fd:00 755369 /lib/libnsl-2.5.so
00df4000-00df5000 rwxp 00013000 fd:00 755369 /lib/libnsl-2.5.so
00df5000-00df7000 rwxp 00df5000 00:00 0
04557000-04680000 r-xp 00000000 fd:00 755375 /lib/libcrypto.so.0.9.8e
04680000-04693000 rwxp 00129000 fd:00 755375 /lib/libcrypto.so.0.9.8e
04693000-04697000 rwxp 04693000 00:00 0
04699000-0472c000 r-xp 00000000 fd:00 1990636 /usr/lib/libkrb5.so.3.3
0472c000-0472f000 rwxp 00092000 fd:00 1990636 /usr/lib/libkrb5.so.3.3
04731000-0475e000 r-xp 00000000 fd:00 1990637 /usr/lib/libgssapi_krb5.so.2.2
0475e000-0475f000 rwxp 0002d000 fd:00 1990637 /usr/lib/libgssapi_krb5.so.2.2
0481f000-04862000 r-xp 00000000 fd:00 755376 /lib/libssl.so.0.9.8e
04862000-04866000 rwxp 00042000 fd:00 755376 /lib/libssl.so.0.9.8e
04f14000-04ff4000 r-xp 00000000 fd:00 1982891 /usr/lib/libstdc++.so.6.0.8
04ff4000-04ff8000 r-xp 000df000 fd:00 1982891 /usr/lib/libstdc++.so.6.0.8
04ff8000-04ff9000 rwxp 000e3000 fd:00 1982891 /usr/lib/libstdc++.so.6.0.8
04ff9000-04fff000 rwxp 04ff9000 00:00 0
05001000-0500a000 r-xp 00000000 fd:00 755365 /lib/libcrypt-2.5.so
0500a000-0500b000 r-xp 00008000 fd:00 755365 /lib/libcrypt-2.5.so
0500b000-0500c000 rwxp 00009000 fd:00 755365 /lib/libcrypt-2.5.so
0500c000-05033000 rwxp 0500c000 00:00 0
08048000-08143000 r-xp 00000000 fd:00 920194 /root/Desktop/Bloodlines.Linux.tgz_FILES/samp02Xsvr
08143000-08149000 rw-p 000fa000 fd:00 920194 /root/Desktop/Bloodlines.Linux.tgz_FILES/samp02Xsvr
08149000-0814d000 rw-p 08149000 00:00 0
08c53000-08f4a000 rw-p 08c53000 00:00 0 [heap]
b6d00000-b6d21000 rw-p b6d00000 00:00 0
b6d21000-b6e00000 ---p b6d21000 00:00 0
b6e3b000-b751a000 rw-p b6e3b000 00:00 0
b751b000-b75b6000 rw-p b751b000 00:00 0
b75b6000-b75b7000 ---p b75b6000 00:00 0
b75b7000-b7fed000 rw-p b75b7000 00:00 0
b7ff9000-b7ffb000 rw-p b7ff9000 00:00 0
bff1b000-bff30000 rw-p bffea000 00:00 0 [stack]
중지됨 (Stop)
---------------------------------------------------------------------------------
----------------------
v0.2X, ©2005-2008 SA:MP Team
[07:28:00]
[07:28:00] Server Plugins
[07:28:00] --------------
[07:28:00] Loading plugin: sampmysql.so
[07:28:00]
/************************************************/
/* SAMP-MySQL v0.14 Plugin loaded successfully ! */
/************************************************/
[07:28:00] Loaded.
[07:28:00] Loaded 1 plugins.
[07:28:00]
[07:28:00] Filter Scripts
[07:28:00] ---------------
[07:28:00] Loaded 0 filter scripts.
[07:28:00] MYSQL: Attempting to connect to server...
[07:28:00]
Connection to MySQL database: Successfull !
[07:28:00] MYSQL: Database connection established.
----------
Loaded log file: "server_log.txt".
----------
SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team
[07:28:17]
[07:28:17] Server Plugins
[07:28:17] --------------
[07:28:17] Loading plugin: sampmysql.so
[07:28:17]
/************************************************/
/* SAMP-MySQL v0.14 Plugin loaded successfully ! */
/************************************************/
[07:28:17] Loaded.
[07:28:17] Loaded 1 plugins.
[07:28:17]
[07:28:17] Filter Scripts
[07:28:17] ---------------
[07:28:17] Loaded 0 filter scripts.
[07:28:17] MYSQL: Attempting to connect to server...
[07:28:17]
Connection to MySQL database: Successfull !
[07:28:17] MYSQL: Database connection established.
i use Cent OS 5.3
Re: linux server error help me -
samgreen - 05.06.2009
Did you call
mysql_free_result without calling
mysql_store_result?
Re: linux server error help me -
chaoskid - 17.09.2009
i have the same problem, help please?!
Re: linux server error help me -
Woet - 18.09.2009
Try reading the very big red text on the bottom of the topic:
http://forum.sa-mp.com/index.php?topic=23931.0