15.10.2013, 12:39
(
Последний раз редактировалось iZN; 30.12.2013 в 18:45.
)
EDIT: It was related with the plugin, I was using MySQL Plugin R5 and I tried to use R6. Anyway, I am no longer using unthreaded queries.
I'm getting Invalid Pointer error while starting my server. I'm using MySQL plugin R6 (BlueG's)
OS: CentOS
Some notes, I'm not using mysql_free_result before connecting.
Also:
I'm getting Invalid Pointer error while starting my server. I'm using MySQL plugin R6 (BlueG's)
OS: CentOS
Код:
*** glibc detected *** /home/izn/samp03/samp03svr: free(): invalid pointer: 0x09b31760 *** ======= Backtrace: ========= /lib/libc.so.6(+0x70e31)[0xb74b9e31] plugins/mysql.so(mysql_free_result+0x39)[0xb7310249] plugins/mysql.so(_ZN13CMySQLHandler10FreeResultEv+0x21)[0xb72e7241] plugins/mysql.so(_ZN13CMySQLHandlerD1Ev+0x25)[0xb72e9c75] plugins/mysql.so(Unload+0x3c)[0xb72efc3c] /home/izn/samp03/samp03svr[0x80c630b] /home/izn/samp03/samp03svr[0x80b157f] /lib/libc.so.6(__libc_start_main+0xe6)[0xb745fce6] /home/izn/samp03/samp03svr[0x804b521] ======= Memory map: ======== 08048000-08094000 r-xp 00000000 08:03 34090612 /home/izn/samp03/samp03svr 08094000-08096000 rwxp 0004c000 08:03 34090612 /home/izn/samp03/samp03svr 08096000-08168000 r-xp 0004e000 08:03 34090612 /home/izn/samp03/samp03svr 08168000-0818a000 rw-p 0011f000 08:03 34090612 /home/izn/samp03/samp03svr 0818a000-08195000 rw-p 00000000 00:00 0 093e4000-09b52000 rw-p 00000000 00:00 0 [heap] b39b3000-b39b4000 ---p 00000000 00:00 0 b39b4000-b43b4000 rw-p 00000000 00:00 0 b4c00000-b4c21000 rw-p 00000000 00:00 0 b4c21000-b4d00000 ---p 00000000 00:00 0 b4e00000-b4e21000 rw-p 00000000 00:00 0 b4e21000-b4f00000 ---p 00000000 00:00 0 b4f11000-b4f16000 r-xp 00000000 08:03 33697838 /lib/libnss_dns-2.12.so b4f16000-b4f17000 r--p 00004000 08:03 33697838 /lib/libnss_dns-2.12.so b4f17000-b4f18000 rw-p 00005000 08:03 33697838 /lib/libnss_dns-2.12.so b4f18000-b4f19000 ---p 00000000 00:00 0 b4f19000-b5919000 rw-p 00000000 00:00 0 b5a62000-b5a63000 ---p 00000000 00:00 0 b5a63000-b6463000 rw-p 00000000 00:00 0 b6463000-b64d9000 r-xp 00000000 08:03 34090750 /home/izn/samp03/plugins/irc.so b64d9000-b64da000 rw-p 00075000 08:03 34090750 /home/izn/samp03/plugins/irc.so b64da000-b64e1000 r-xp 00000000 08:03 33697818 /lib/librt-2.12.so b64e1000-b64e2000 r--p 00006000 08:03 33697818 /lib/librt-2.12.so b64e2000-b64e3000 rw-p 00007000 08:03 33697818 /lib/librt-2.12.so b64e3000-b656f000 r-xp 00000000 08:03 34090752 /home/izn/samp03/plugins/streamer.so b656f000-b6570000 rw-p 0008c000 08:03 34090752 /home/izn/samp03/plugins/streamer.so b6570000-b6571000 rw-p 00000000 00:00 0 b6571000-b6572000 ---p 00000000 00:00 0 b6572000-b6f72000 rw-p 00000000 00:00 0 b6f72000-b6f7e000 r-xp 00000000 08:03 33697702 /lib/libnss_files-2.12.so b6f7e000-b6f7f000 r--p 0000b000 08:03 33697702 /lib/libnss_files-2.12.so b6f7f000-b6f80000 rw-p 0000c000 08:03 33697702 /lib/libnss_files-2.12.so b6f80000-b6f9d000 r-xp 00000000 08:03 33697749 /lib/libselinux.so.1 b6f9d000-b6f9e000 r--p 0001c000 08:03 33697749 /lib/libselinux.so.1 b6f9e000-b6f9f000 rw-p 0001d000 08:03 33697749 /lib/libselinux.so.1 b6f9f000-b6fa1000 r-xp 00000000 08:03 33697862 /lib/libkeyutils.so.1.3 b6fa1000-b6fa2000 r--p 00001000 08:03 33697862 /lib/libkeyutils.so.1.3 b6fa2000-b6fa3000 rw-p 00002000 08:03 33697862 /lib/libkeyutils.so.1.3 b6fa3000-b6fad000 r-xp 00000000 08:03 33697843 /lib/libkrb5support.so.0.1 b6fad000-b6fae000 r--p 00009000 08:03 33697843 /lib/libkrb5support.so.0.1 b6fae000-b6faf000 rw-p 0000a000 08:03 33697843 /lib/libkrb5support.so.0.1 b6faf000-b6fc1000 r-xp 00000000 08:03 33697798 /lib/libz.so.1.2.3 b6fc1000-b6fc2000 r--p 00011000 08:03 33697798 /lib/libz.so.1.2.3 b6fc2000-b6fc3000 rw-p 00012000 08:03 33697798 /lib/libz.so.1.2.3 b6fc3000-b70fb000 r-xp 00000000 08:03 33696554 /usr/lib/libcrypto.so.0.9.8e b70fb000-b710e000 rw-p 00138000 08:03 33696554 /usr/lib/libcrypto.so.0.9.8e b710e000-b7112000 rw-p 00000000 00:00 0 b7112000-b7127000 r-xp 00000000 08:03 33697840 /lib/libresolv-2.12.so b7127000-b7128000 ---p 00015000 08:03 33697840 /lib/libresolv-2.12.so b7128000-b7129000 r--p 00015000 08:03 33697840 /lib/libresolv-2.12.so b7129000-b712a000 rw-p 00016000 08:03 33697840 /lib/libresolv-2.12.so b712a000-b712c000 rw-p 00000000 00:00 0 b712c000-b7154000 r-xp 00000000 08:03 33697847 /lib/libk5crypto.so.3.1 b7154000-b7155000 r--p 00028000 08:03 33697847 /lib/libk5crypto.so.3.1 b7155000-b7156000 rw-p 00029000 08:03 33697847 /lib/libk5crypto.so.3.1 b7156000-b7157000 rw-p 00000000 00:00 0 b7157000-b715a000 r-xp 00000000 08:03 33696918 /lib/libcom_err.so.2.1 b715a000-b715b000 r--p 00002000 08:03 33696918 /lib/libcom_err.so.2.1 b715b000-b715c000 rw-p 00003000 08:03 33696918 /lib/libcom_err.so.2.1 b715c000-b7232000 r-xp 00000000 08:03 33697792 /lib/libkrb5.so.3.3 b7232000-b7238000 r--p 000d5000 08:03 33697792 /lib/libkrb5.so.3.3 b7238000-b7239000 rw-p 000db000 08:03 33697792 /lib/libkrb5.so.3.3 b7239000-b7277000 r-xp 00000000 08:03 33697852 /lib/libgssapi_krb5.so.2.2 b7277000-b7278000 r--p 0003e000 08:03 33697852 /lib/libgssapi_krb5.so.2.2 b7278000-b7279000 rw-p 0003f000 08:03 33697852 /lib/libgssapi_krb5.so.2.2 b7279000-b72c0000 r-xp 00000000 08:03 33696703 /usr/lib/libssl.so.0.9.8e b72c0000-b72c4000 rw-p 00047000 08:03 33696703 /usr/lib/libssl.so.0.9.8e b72c8000-b73f5000 r-xp 00000000 08:03 34090700 /home/izn/samp03/plugins/mysql.so b73f5000-b7435000 rw-p 0012d000 08:03 34090700 /home/izn/samp03/plugins/mysql.so b7435000-b7436000 rw-p 00000000 00:00 0 b7447000-b7449000 rw-p 00000000 00:00 0 b7449000-b75d9000 r-xp 00000000 08:03 33697705 /lib/libc-2.12.so b75d9000-b75da000 ---p 00190000 08:03 33697705 /lib/libc-2.12.so b75da000-b75dc000 r--p 00190000 08:03 33697705 /lib/libc-2.12.so b75dc000-b75dd000 rw-p 00192000 08:03 33697705 /lib/libc-2.12.so b75dd000-b75e0000 rw-p 00000000 00:00 0 b75e0000-b75fd000 r-xp 00000000 08:03 33696485 /lib/libgcc_s-4.4.7-20120601.so.1 b75fd000-b75fe000 rw-p 0001d000 08:03 33696485 /lib/libgcc_s-4.4.7-20120601.so.1 b75fe000-b75ff000 rw-p 00000000 00:00 0 b75ff000-b7627000 r-xp 00000000 08:03 33697791 /lib/libm-2.12.so b7627000-b7628000 r--p 00027000 08:03 33697791 /lib/libm-2.12.so b7628000-b7629000 rw-p 00028000 08:03 33697791 /lib/libm-2.12.so b7629000-b7708000 r-xp 00000000 08:03 33697651 /usr/lib/libstdc++.so.6.0.13 b7708000-b770c000 r--p 000de000 08:03 33697651 /usr/lib/libstdc++.so.6.0.13 b770c000-b770d000 rw-p 000e2000 08:03 33697651 /usr/lib/libstdc++.so.6.0.13 b770d000-b7714000 rw-p 00000000 00:00 0 b7714000-b772b000 r-xp 00000000 08:03 33697858 /lib/libpthread-2.12.so b772b000-b772c000 r--p 00016000 08:03 33697858 /lib/libpthread-2.12.so b772c000-b772d000 rw-p 00017000 08:03 33697858 /lib/libpthread-2.12.so b772d000-b772f000 rw-p 00000000 00:00 0 b772f000-b7732000 r-xp 00000000 08:03 33697799 /lib/libdl-2.12.so b7732000-b7733000 r--p 00002000 08:03 33697799 /lib/libdl-2.12.so b7733000-b7734000 rw-p 00003000 08:03 33697799 /lib/libdl-2.12.so b7735000-b7739000 rw-p 00000000 00:00 0 b7739000-b7757000 r-xp 00000000 08:03 33696409 /lib/ld-2.12.so b7757000-b7758000 r--p 0001d000 08:03 33696409 /lib/ld-2.12.so b7758000-b7759000 rw-p 0001e000 08:03 33696409 /lib/ld-2.12.so b7759000-b775a000 r-xp 00000000 00:00 0 [vdso] bfad5000-bfaea000 rw-p 00000000 00:00 0 [stack] ./restart.sh: line 12: 32623 Aborted ${samp} >> $log
Also:
Код:
b75c2000-b75df000 r-xp 00000000 08:03 33696485 /lib/libgcc_s-4.4.7-20120601.so.1Aborted