Invalid Pointer
#1

Running CentOS 6 x64

Everyting was going smoothly getting the server up and running until I added BlueG's MySQL plugin, and now when I try to start the server, I get this

Код:
*** glibc detected *** ./samp03svr: free(): invalid pointer: 0x092b6778 ***
======= Backtrace: =========
/lib/libc.so.6(+0x70e31)[0x452e31]
/usr/lib/libmysqlclient_r.so.15(my_no_flags_free+0x21)[0x4b352e01]
/usr/lib/libmysqlclient_r.so.15(free_rows+0x39)[0x4b377679]
/usr/lib/libmysqlclient_r.so.15(mysql_free_result+0x47)[0x4b3776d7]
plugins/mysql.so(_ZN13CMySQLHandler10FreeResultEv+0x21)[0x203801]
plugins/mysql.so(_ZN13CMySQLHandlerD1Ev+0x25)[0x206235]
plugins/mysql.so(Unload+0x3c)[0x20c1fc]
./samp03svr[0x80c621b]
./samp03svr[0x80b14ff]
/lib/libc.so.6(__libc_start_main+0xe6)[0x3f8ce6]
./samp03svr[0x804b521]
======= Memory map: ========
00110000-001ef000 r-xp 00000000 ca:01 2195770                            /usr/lib/libstdc++.so.6.0.13
001ef000-001f3000 r--p 000de000 ca:01 2195770                            /usr/lib/libstdc++.so.6.0.13
001f3000-001f4000 rw-p 000e2000 ca:01 2195770                            /usr/lib/libstdc++.so.6.0.13
001f4000-001fb000 rw-p 00000000 00:00 0
001fb000-00212000 r-xp 00000000 ca:01 245885                             /home/samp/samp/samp03/plugins/mysql.so
00212000-00213000 rw-p 00016000 ca:01 245885                             /home/samp/samp/samp03/plugins/mysql.so
00213000-0025c000 r-xp 00000000 ca:01 3777174                            /lib/libfreebl3.so
0025c000-0025d000 r--p 00048000 ca:01 3777174                            /lib/libfreebl3.so
0025d000-0025e000 rw-p 00049000 ca:01 3777174                            /lib/libfreebl3.so
0025e000-00262000 rw-p 00000000 00:00 0
00262000-00265000 r-xp 00000000 ca:01 245886                             /home/samp/samp/samp03/plugins/MapAndreas.so
00265000-00266000 r--p 00002000 ca:01 245886                             /home/samp/samp/samp03/plugins/MapAndreas.so
00266000-00267000 rw-p 00003000 ca:01 245886                             /home/samp/samp/samp03/plugins/MapAndreas.so
002ee000-00305000 r-xp 00000000 ca:01 3777206                            /lib/libpthread-2.12.so
00305000-00306000 r--p 00016000 ca:01 3777206                            /lib/libpthread-2.12.so
00306000-00307000 rw-p 00017000 ca:01 3777206                            /lib/libpthread-2.12.so
00307000-00309000 rw-p 00000000 00:00 0
00320000-00327000 r-xp 00000000 ca:01 3777186                            /lib/libcrypt-2.12.so
00327000-00328000 r--p 00007000 ca:01 3777186                            /lib/libcrypt-2.12.so
00328000-00329000 rw-p 00008000 ca:01 3777186                            /lib/libcrypt-2.12.so
00329000-00350000 rw-p 00000000 00:00 0
00369000-00386000 r-xp 00000000 ca:01 3777216                            /lib/libgcc_s-4.4.7-20120601.so.1
00386000-00387000 rw-p 0001d000 ca:01 3777216                            /lib/libgcc_s-4.4.7-20120601.so.1
003dd000-003e0000 r-xp 00000000 ca:01 3777188                            /lib/libdl-2.12.so
003e0000-003e1000 r--p 00002000 ca:01 3777188                            /lib/libdl-2.12.so
003e1000-003e2000 rw-p 00003000 ca:01 3777188                            /lib/libdl-2.12.so
003e2000-00572000 r-xp 00000000 ca:01 3777182                            /lib/libc-2.12.so
00572000-00573000 ---p 00190000 ca:01 3777182                            /lib/libc-2.12.so
00573000-00575000 r--p 00190000 ca:01 3777182                            /lib/libc-2.12.so
00575000-00576000 rw-p 00192000 ca:01 3777182                            /lib/libc-2.12.so
00576000-00579000 rw-p 00000000 00:00 0
00582000-005a0000 r-xp 00000000 ca:01 3777175                            /lib/ld-2.12.so
005a0000-005a1000 r--p 0001d000 ca:01 3777175                            /lib/ld-2.12.so
005a1000-005a2000 rw-p 0001e000 ca:01 3777175                            /lib/ld-2.12.so
0077d000-00789000 r-xp 00000000 ca:01 3777198                            /lib/libnss_files-2.12.so
00789000-0078a000 r--p 0000b000 ca:01 3777198                            /lib/libnss_files-2.12.so
0078a000-0078b000 rw-p 0000c000 ca:01 3777198                            /lib/libnss_files-2.12.so
007d7000-007ff000 r-xp 00000000 ca:01 3777190                            /lib/libm-2.12.so
007ff000-00800000 r--p 00027000 ca:01 3777190                            /lib/libm-2.12.so
00800000-00801000 rw-p 00028000 ca:01 3777190                            /lib/libm-2.12.so
00825000-0083a000 r-xp 00000000 ca:01 3777208                            /lib/libresolv-2.12.so
0083a000-0083b000 ---p 00015000 ca:01 3777208                            /lib/libresolv-2.12.so
0083b000-0083c000 r--p 00015000 ca:01 3777208                            /lib/libresolv-2.12.so
0083c000-0083d000 rw-p 00016000 ca:01 3777208                            /lib/libresolv-2.12.so
0083d000-0083f000 rw-p 00000000 00:00 0
00847000-0084e000 r-xp 00000000 ca:01 3777210                            /lib/librt-2.12.so
0084e000-0084f000 r--p 00006000 ca:01 3777210                            /lib/librt-2.12.so
0084f000-00850000 rw-p 00007000 ca:01 3777210                            /lib/librt-2.12.so
00a7b000-00a92000 r-xp 00000000 ca:01 3777192                            /lib/libnsl-2.12.so
00a92000-00a93000 r--p 00016000 ca:01 3777192                            /lib/libnsl-2.12.so
00a93000-00a94000 rw-p 00017000 ca:01 3777192                            /lib/libnsl-2.12.so
00a94000-00a96000 rw-p 00000000 00:00 0
00c6d000-00cf6000 r-xp 00000000 ca:01 245884                             /home/samp/samp/samp03/plugins/streamer.so
00cf6000-00cf7000 rw-p 00089000 ca:01 245884                             /home/samp/samp/samp03/plugins/streamer.so
00cf7000-00cf8000 rw-p 00000000 00:00 0
00da5000-00da6000 r-xp 00000000 00:00 0                                  [vdso]
00e3f000-00e44000 r-xp 00000000 ca:01 3777196                            /lib/libnss_dns-2.12.so
00e44000-00e45000 r--p 00004000 ca:01 3777196                            /lib/libnss_dns-2.12.so
00e45000-00e46000 rw-p 00005000 ca:01 3777196                            /lib/libnss_dns-2.12.so
00ff1000-00fff000 r-xp 00000000 ca:01 245887                             /home/samp/samp/samp03/plugins/sscanf.so
00fff000-01000000 rw-p 0000d000 ca:01 245887                             /home/samp/samp/samp03/plugins/sscanf.so
08048000-08094000 r-xp 00000000 ca:01 245791                             /home/samp/samp/samp03/samp03svr
08094000-08096000 rwxp 0004c000 ca:01 245791                             /home/samp/samp/samp03/samp03svr
08096000-08168000 r-xp 0004e000 ca:01 245791                             /home/samp/samp/samp03/samp03svr
08168000-0818a000 rw-p 0011f000 ca:01 245791                             /home/samp/samp/samp03/samp03svr
0818a000-08195000 rw-p 00000000 00:00 0
090e2000-092c6000 rw-p 00000000 00:00 0                                  [heap]
4b33b000-4b467000 r-xp 00000000 ca:01 2195819                            /usr/lib/libmysqlclient_r.so.15
4b467000-4b496000 rw-p 0012c000 ca:01 2195819                            /usr/lib/libmysqlclient_r.so.15
4b496000-4b497000 rw-p 00000000 00:00 0
f0a55000-f4f00000 rw-p 00000000 00:00 0
f4f00000-f4f21000 rw-p 00000000 00:00 0
f4f21000-f5000000 ---p 00000000 00:00 0
f50d3000-f50d4000 ---p 00000000 00:00 0
f50d4000-f5ad4000 rw-p 00000000 00:00 0
f6103000-f6104000 ---p 00000000 00:00 0
f6104000-f6b04000 rw-p 00000000 00:00 0
f6c00000-f6c21000 rw-p 00000000 00:00 0
f6c21000-f6d00000 ---p 00000000 00:00 0
f6d66000-f6d67000 ---p 00000000 00:00 0
f6d67000-f776a000 rw-p 00000000 00:00 0
f776d000-f7771000 rw-p 00000000 00:00 0
ffd09000-ffd1e000 rw-p 00000000 00:00 0                                  [stack]
Aborted
Ive searched and searched and searched but I can't find a single thing that helps. Anyone?
Reply
#2

Some problem with mysql_free_result. Eventually you are calling it before connecting to the database or before there is a query result to free.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)