Nich Posted December 26, 2009 Share Posted December 26, 2009 Hi! Just got my MTA 1.x server from ServerFFS. Was the 10 000th member and got server free for 1 year! YAY! Ok, about my problem.. it's related to mysql plugin. OS: Linux Debian 5.0 When I enter the server, the plugin crashes it. More about the problem: http://pastebin.com/m2137674 OR: *** glibc detected *** ./exec_server10000_child: double free or corruption (top): 0x09ce31d8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7c9e624] /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7ca0826] /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so(_ZN5MySQL5CloseEv+0x28)[0xb3e29588] /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so(_ZN5MySQLD1Ev+0x1d)[0xb3e295bd] /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so(_ZN5MySQL7ConnectEP9lua_State+0x231)[0xb3e29f31] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78d77e1] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78e16f0] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78d7ca8] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78d4a41] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78d7223] /home/lauri865/server10000/mods/deathmatch/deathmatch.so[0xb78d7288] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(lua_pcall+0x68)[0xb78d4858] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZNK13CLuaArguments4CallEP8CLuaMainiPS_+0x9a)[0xb786636a] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN9CMapEvent4CallERK13CLuaArguments+0x39)[0xb77ebfe9] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN16CMapEventManager4CallEPKcRK13CLuaArgumentsP8CElementS6_P7CPlayer+0x3d0)[0xb77ec830] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN8CElement15CallParentEventEPKcRK13CLuaArgumentsPS_P7CPlayer+0x48)[0xb77ba3f8] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN8CElement9CallEventEPKcRK13CLuaArgumentsP7CPlayer+0x4e)[0xb77bb0be] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN5CGame17InitialDataStreamER7CPlayer+0x48d)[0xb77cb9bd] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN13CRPCFunctions17InitialDataStreamER21NetBitStreamInterface+0x37)[0xb77fe1f7] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN13CRPCFunctions13ProcessPacketER17NetServerPlayerIDR21NetBitStreamInterface+0x96)[0xb77fe336] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN5CGame19StaticProcessPacketEhR17NetServerPlayerIDR21NetBitStreamInterface+0xb1)[0xb77cd561] /home/lauri865/server10000/net.so(_ZN13CNetServerDLL21ExecutePacketHandlersEhR17NetServerPlayerIDR21NetBitStreamInterface+0x33)[0xb7b82a63] /home/lauri865/server10000/net.so(_ZN13CNetServerDLL7DoPulseEv+0x22f)[0xb7b8406f] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN5CGame7DoPulseEv+0x160)[0xb77c65b0] /home/lauri865/server10000/mods/deathmatch/deathmatch.so(_ZN7CServer7DoPulseEv+0x24)[0xb7791584] ./core.so(_ZN15CModManagerImpl7DoPulseEv+0x18)[0xb7c0dbe8] ./core.so(_ZN11CServerImpl8MainLoopEv+0x3b)[0xb7c0eb2b] ./core.so(_ZN11CServerImpl3RunEiPPc+0x892)[0xb7c0fc02] ./core.so(Run+0x3e)[0xb7c0fdde] ./exec_server10000_child(__gxx_personality_v0+0x39b)[0x8048cc7] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7c46455] ./exec_server10000_child(__gxx_personality_v0+0x45)[0x8048971] ======= Memory map: ======== 08048000-0804a000 r-xp 00000000 08:06 1869054 /home/lauri865/server10000/exec_server10000_child 0804a000-0804b000 rw-p 00001000 08:06 1869054 /home/lauri865/server10000/exec_server10000_child 0982e000-09cfe000 rw-p 0982e000 00:00 0 [heap] b3d00000-b3d21000 rw-p b3d00000 00:00 0 b3d21000-b3e00000 ---p b3d21000 00:00 0 b3e15000-b3e57000 r-xp 00000000 08:06 1877319 /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so b3e57000-b3e58000 r--p 00041000 08:06 1877319 /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so b3e58000-b3e7d000 rw-p 00042000 08:06 1877319 /home/lauri865/server10000/mods/deathmatch/modules/mta_mysql.so b3e7d000-b3e8d000 r-xp 00000000 08:06 6832799 /lib/i686/cmov/libresolv-2.7.so b3e8d000-b3e8f000 rw-p 0000f000 08:06 6832799 /lib/i686/cmov/libresolv-2.7.so b3e8f000-b3e91000 rw-p b3e8f000 00:00 0 b3e91000-b3e95000 r-xp 00000000 08:06 6832792 /lib/i686/cmov/libnss_dns-2.7.so b3e95000-b3e97000 rw-p 00003000 08:06 6832792 /lib/i686/cmov/libnss_dns-2.7.so b3e97000-b3ea1000 r-xp 00000000 08:06 6832793 /lib/i686/cmov/libnss_files-2.7.so b3ea1000-b3ea3000 rw-p 00009000 08:06 6832793 /lib/i686/cmov/libnss_files-2.7.so b3ea8000-b3ea9000 ---p b3ea8000 00:00 0 b3ea9000-b46a9000 rw-p b3ea9000 00:00 0 b46a9000-b46aa000 ---p b46a9000 00:00 0 b46aa000-b4eaa000 rw-p b46aa000 00:00 0 b4eaa000-b4eab000 ---p b4eaa000 00:00 0 b4eab000-b56ab000 rw-p b4eab000 00:00 0 b56ab000-b56ac000 ---p b56ab000 00:00 0 b56ac000-b5eac000 rw-p b56ac000 00:00 0 b5eac000-b5ead000 ---p b5eac000 00:00 0 b5ead000-b66ad000 rw-p b5ead000 00:00 0 b66ad000-b66ae000 ---p b66ad000 00:00 0 b66ae000-b6eae000 rw-p b66ae000 00:00 0 b6eae000-b6eaf000 ---p b6eae000 00:00 0 b6eaf000-b76af000 rw-p b6eaf000 00:00 0 b76af000-b771c000 r-xp 00000000 08:06 2076548 /usr/lib/libsqlite3.so.0.8.6 b771c000-b771e000 rw-p 0006c000 08:06 2076548 /usr/lib/libsqlite3.so.0.8.6 b771e000-b7947000 r-xp 00000000 08:06 1869058 /home/lauri865/server10000/mods/deathmatch/deathmatch.so b7947000-b7984000 rw-p 00228000 08:06 1869058 /home/lauri865/server10000/mods/deathmatch/deathmatch.so b7984000-b7a4d000 rw-p b7984000 00:00 0 b7a4d000-b7a6b000 r-xp 00000000 08:06 1869056 /home/lauri865/server10000/xmll.so b7a6b000-b7a6c000 rw-p 0001e000 08:06 1869056 /home/lauri865/server10000/xmll.so b7a6c000-b7b2f000 rw-p b7a6c000 00:00 0 b7b2f000-b7b3e000 r-xp 00000000 08:06 6816017 /lib/libbz2.so.1.0.4 b7b3e000-b7b3f000 rw-p 0000f000 08:06 6816017 /lib/libbz2.so.1.0.4 b7b3f000-b7c01000 r-xp 00000000 08:06 1869055 /home/lauri865/server10000/net.so b7c01000-b7c06000 rw-p 000c2000 08:06 1869055 /home/lauri865/server10000/net.so b7c06000-b7c09000 rw-p b7c06000 00:00 0 b7c09000-b7c14000 r-xp 00000000 08:06 1869057 /home/lauri865/server10000/core.so b7c14000-b7c15000 rw-p 0000b000 08:06 1869057 /home/lauri865/server10000/core.so b7c15000-b7c16000 rw-p b7c15000 00:00 0 b7c16000-b7c2b000 r-xp 00000000 08:06 6832798 /lib/i686/cmov/libpthread-2.7.so b7c2b000-b7c2d000 rw-p 00014000 08:06 6832798 /lib/i686/cmov/libpthread-2.7.so b7c2d000-b7c30000 rw-p b7c2d000 00:00 0 b7c30000-b7d85000 r-xp 00000000 08:06 6832784 /lib/i686/cmov/libc-2.7.so b7d85000-b7d86000 r--p 00155000 08:06 6832784 /lib/i686/cmov/libc-2.7.so b7d86000-b7d88000 rw-p 00156000 08:06 6832784 /lib/i686/cmov/libc-2.7.so b7d88000-b7d8b000 rw-p b7d88000 00:00 0 b7d8b000-b7d97000 r-xp 00000000 08:06 6815808 /lib/libgcc_s.so.1 b7d97000-b7d98000 rw-p 0000b000 08:06 6815808 /lib/libgcc_s.so.1 b7d98000-b7dbc000 r-xp 00000000 08:06 6832788 /lib/i686/cmov/libm-2.7.so b7dbc000-b7dbe000 rw-p 00023000 08:06 6832788 /lib/i686/cmov/libm-2.7.so b7dbe000-b7de6000 r-xp 00000000 08:06 2076281 /usr/lib/libpcre.so.3.12.1 b7de6000-b7de7000 rw-p 00027000 08:06 2076281 /usr/lib/libpcre.so.3.12.1 b7de7000-b7dee000 r-xp 00000000 08:06 6832800 /lib/i686/cmov/librt-2.7.so b7dee000-b7df0000 rw-p 00006000 08:06 6832800 /lib/i686/cmov/librt-2.7.so b7df0000-b7e1f000 r-xp 00000000 08:06 6815810 /lib/libncurses.so.5Aborted Link to comment
Schoorsteen Posted December 30, 2009 Share Posted December 30, 2009 I've got exactly the same problem. Link to comment
Schoorsteen Posted December 30, 2009 Share Posted December 30, 2009 I fixed it , I simply recompiled it, editting the files, here is a for me working mta_mysql.so. I hope to hear from you. Link to comment
Nich Posted December 31, 2009 Author Share Posted December 31, 2009 Thank you, Works like a charm! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now