View Issue Details

IDProjectCategoryView StatusLast Update
0006126Multi Theft Auto : San AndreasServerpublic2011-06-02 13:11
ReporterMX_MasterAssigned Toccw 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentOSOS Version5
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0006126: Linux 1.1-2700 server crashes with unknown reason
Description

Some players was online. All players has 1.1-unstable-2698 client. And after few minutes of chat talk (unicode messages) server crashed. There are no errors in server console.

All scripts was checked on 1.1-unstable-2626 linux server, no errors and works fine.

Steps To Reproduce
  • linux host with CentOS 5
  • linux-1.1-unstable-2700 server
  • 1.1-unstable-2698 client
  • some players on the server
  • players must talk a few minutes in chat with unicode messages
Additional Information

Found some system logs..

/var/log/messages

May 28 21:26:06 mxgames mta-server-1.1: glibc detected ./mta-server-1.1: munmap_chunk(): invalid pointer: 0x0930f118
May 28 21:30:40 mxgames mta-server-1.1:
glibc detected ./mta-server-1.1: double free or corruption (out): 0x0998b4c0
May 28 21:37:04 mxgames mta-server-1.1: glibc detected ./mta-server-1.1: corrupted double-linked list: 0x0a203eb8
May 28 21:43:37 mxgames mta-server-1.1:
glibc detected ./mta-server-1.1: free(): invalid pointer: 0xb1dc8b60
May 28 21:49:39 mxgames mta-server-1.1: glibc detected ./mta-server-1.1: double free or corruption (out): 0xb1db71a0
May 28 21:50:02 mxgames mta-server-1.1:
glibc detected ./mta-server-1.1: free(): invalid pointer: 0x09470518
May 28 21:54:17 mxgames mta-server-1.1: glibc detected ./mta-server-1.1: free(): invalid pointer: 0x08e6fb98
May 28 21:54:42 mxgames mta-server-1.1:
glibc detected ./mta-server-1.1: free(): invalid next size (fast): 0x090472a8
May 28 21:55:00 mxgames mta-server-1.1: glibc detected ./mta-server-1.1: free(): invalid pointer: 0x09f4ad60 ***

And in host console I saw these string:

glibc detected ./mta-server-1.1: free(): invalid pointer: 0x09fb8b38 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7da0595]
/lib/libc.so.6(cfree+0x59)[0xb7da09d9]
/usr/lib/libstdc++.so.6(_ZdlPv+0x23)[0xb7f7e3a3]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN5CGame19RelayPlayerPuresyncER7CPacket+0xeb)[0xb749cbeb]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN5CGame22Packet_VehiclePuresyncER22CVehiclePuresyncPacket+0x99)[0xb749cc99]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN5CGame13ProcessPacketER7CPacket+0x1cc)[0xb74a30bc]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN5CGame19StaticProcessPacketEhR17NetServerPlayerIDR21NetBitStreamInterface+0x6e)[0xb74a31ee]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/net.so(_ZN13CNetServerDLL21ExecutePacketHandlersEhR17NetServerPlayerIDR21NetBitStreamInterface+0x5e)[0xb7b0863e]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/net.so(_ZN13CNetServerDLL7DoPulseEv+0x1dc)[0xb7b0d56c]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN5CGame7DoPulseEv+0x160)[0xb74a7050]
/var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so(_ZN7CServer7DoPulseEv+0x24)[0xb7452f24]
./core.so(_ZN15CModManagerImpl7DoPulseEv+0x18)[0xb7d032a8]
./core.so(_ZN11CServerImpl8MainLoopEv+0x3b)[0xb7d0431b]
./core.so(_ZN11CServerImpl3RunEiPPc+0x95c)[0xb7d056ac]
./core.so(Run+0x3e)[0xb7d06dee]
./mta-server-1.1(gxx_personality_v0+0x3a3)[0x8048c07]
/lib/libc.so.6(
libc_start_main+0xdc)[0xb7d4ce9c]
./mta-server-1.1(__gxx_personality_v0+0x4d)[0x80488b1]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 00:73 25247780 /var/games/cH9dnGjcSye7nNx1/mta/1.1/mta-server-1.1
0804a000-0804b000 rw-p 00001000 00:73 25247780 /var/games/cH9dnGjcSye7nNx1/mta/1.1/mta-server-1.1
09242000-0a43d000 rw-p 09242000 00:00 0 [heap]
b1b00000-b1b33000 rw-p b1b00000 00:00 0
b1b33000-b1c00000 ---p b1b33000 00:00 0
b1d00000-b1df8000 rw-p b1d00000 00:00 0
b1df8000-b1e00000 ---p b1df8000 00:00 0
b1ed7000-b1ee0000 r-xp 00000000 00:73 22399987 /lib/libnss_files-2.5.so
b1ee0000-b1ee1000 r--p 00008000 00:73 22399987 /lib/libnss_files-2.5.so
b1ee1000-b1ee2000 rw-p 00009000 00:73 22399987 /lib/libnss_files-2.5.so
b1ee9000-b1eea000 ---p b1ee9000 00:00 0
b1eea000-b20ea000 rw-p b1eea000 00:00 0
b20ea000-b20eb000 ---p b20ea000 00:00 0
b20eb000-b230e000 rw-p b20eb000 00:00 0
b230e000-b230f000 ---p b230e000 00:00 0
b230f000-b2d0f000 rw-p b230f000 00:00 0
b2d0f000-b2d10000 ---p b2d0f000 00:00 0
b2d10000-b3710000 rw-p b2d10000 00:00 0
b3710000-b3711000 ---p b3710000 00:00 0
b3711000-b4111000 rw-p b3711000 00:00 0
b4111000-b4112000 ---p b4111000 00:00 0
b4112000-b4b12000 rw-p b4112000 00:00 0
b4b12000-b4b13000 ---p b4b12000 00:00 0
b4b13000-b5513000 rw-p b4b13000 00:00 0
b5513000-b5514000 ---p b5513000 00:00 0
b5514000-b5f14000 rw-p b5514000 00:00 0
b5f14000-b5f15000 ---p b5f14000 00:00 0
b5f15000-b6915000 rw-p b5f15000 00:00 0
b6915000-b6916000 ---p b6915000 00:00 0
b6916000-b7316000 rw-p b6916000 00:00 0
b7316000-b7373000 r-xp 00000000 00:73 22118646 /usr/lib/libsqlite3.so.0.8.6
b7373000-b7375000 rw-p 0005d000 00:73 22118646 /usr/lib/libsqlite3.so.0.8.6
b7375000-b73a4000 r-xp 00000000 00:73 22120239 /usr/lib/libreadline.so.5.1
b73a4000-b73a8000 rw-p 0002f000 00:73 22120239 /usr/lib/libreadline.so.5.1
b73a8000-b73a9000 rw-p b73a8000 00:00 0
b73a9000-b73c5000 r-xp 00000000 00:73 22399939 /lib/libpcre.so.0.0.1
b73c5000-b73c6000 rw-p 0001c000 00:73 22399939 /lib/libpcre.so.0.0.1
b73c6000-b7687000 r-xp 00000000 00:73 25247754 /var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so
b7687000-b76c7000 rw-p 002c0000 00:73 25247754 /var/games/cH9dnGjcSye7nNx1/mta/1.1/mods/deathmatch/deathmatch.so
b76c7000-b7737000 rw-p b76c7000 00:00 0
b7737000-b7770000 r-xp 00000000 00:73 25247757 /var/games/cH9dnGjcSye7nNx1/mta/1.1/xmll.so
b7770000-b7773000 rw-p 00039000 00:73 25247757 /var/games/cH9dnGjcSye7nNx1/mta/1.1/xmll.so
b7773000-b77ae000 r-xp 00000000 00:73 22400015 /lib/libsepol.so.1
b77ae000-b77af000 rw-p 0003a000 00:73 22400015 /lib/libsepol.so.1
b77af000-b77b9000 rw-p b77af000 00:00 0
b77b9000-b77cf000 r-xp 00000000 00:73 22399945 /lib/libselinux.so.1
b77cf000-b77d1000 rw-p 00015000 00:73 22399945 /lib/libselinux.so.1
b77d1000-b77e0000 r-xp 00000000 00:73 22399960 /lib/libresolv-2.5.so
b77e0000-b77e1000 r--p 0000e000 00:73 22399960 /lib/libresolv-2.5.so
b77e1000-b77e2000 rw-p 0000f000 00:73 22399960 /lib/libresolv-2.5.so
b77e2000-b77e4000 rw-p b77e2000 00:00 0
b77e4000-b77e6000 r-xp 00000000 00:73 22399972 /lib/libkeyutils-1.2.so
b77e6000-b77e7000 rw-p 00001000 00:73 22399972 /lib/libkeyutils-1.2.so
b77e7000-b77ef000 r-xp 00000000 00:73 22118411 /usr/lib/libkrb5support.so.0.1
b77ef000-b77f0000 rw-p 00007000 00:73 22118411 /usr/lib/libkrb5support.so.0.1
b77f0000-b7919000 r-xp 00000000 00:73 22399963 /lib/libcrypto.so.0.9.8e
b7919000-b792c000 rw-p 00129000 00:73 22399963 /lib/libcrypto.so.0.9.8e
b792c000-b7930000 rw-p b792c000 00:00 0
b7930000-b7973000 r-xp 00000000 00:73 22399976 /lib/libssl.so.0.9.8e
b7973000-b7977000 rw-p 00042000 00:73 22399976 /lib/libssl.so.0.9.8e
b7977000-b79a7000 r-xp 00000000 00:73 22120223 /usr/lib/libidn.so.11.5.19
b79a7000-b79a8000 rw-p 0002f000 00:73 22120223 /usr/lib/libidn.so.11.5.19
b79a8000-b79aa000 r-xp 00000000 00:73 22399992 /lib/libcom_err.so.2.1
b79aa000-b79ab000 rw-p 00001000 00:73 22399992 /lib/libcom_err.so.2.1
b79ab000-b79d0000 r-xp 00000000 00:73 22120241 /usr/lib/libk5crypto.so.3.1
b79d0000-b79d1000 rw-p 00025000 00:73 22120241 /usr/lib/libk5crypto.so.3.1
b79d1000-b7a64000 r-xp 00000000 00:73 22120213 /usr/lib/libkrb5.so.3.3
b7a64000-b7a67000 rw-p 00092000 00:73 22120213 /usr/lib/libkrb5.so.3.3
b7a67000-b7a93000 r-xp 00000000 00:73 22118679 /usr/lib/libgssapi_krb5.so.2.2
b7a93000-b7a94000 rw-p 0002c000 00:73 22118679 /usr/lib/libgssapi_krb5.so.2.2
b7a94000-b7acf000 r-xp 00000000 00:73 22118669 /usr/lib/libcurl.so.3.0.0
b7acf000-b7ad0000 rw-p 0003b000 00:73 22118669 /usr/lib/libcurl.so.3.0.0
b7ad0000-b7ad4000 r-xp 00000000 00:73 22399941 /lib/libnss_dns-2.5.so
b7ad4000-b7ad5000 r--p 00003000 00:73 22399941 /lib/libnss_dns-2.5.so
b7ad5000-b7ad6000 rw-p 00004000 00:73 22399941 /lib/libnss_dns-2.5.so
b7ad6000-b7ad7000 rw-p b7ad6000 00:00 0
b7ad7000-b7b7e000 r-xp 00000000 00:73 25247753 /var/games/cH9dnGjcSye7nNx1/mta/1.1/net.so
b7b7e000-b7b86000 rw-p 000a7000 00:73 25247753 /var/games/cH9dnGjcSye7nNx1/mta/1.1/net.so
b7b86000-b7b8a000 rw-p b7b86000 00:00 0
b7b8a000-b7bc5000 r--p 00000000 00:73 22118713 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7bc5000-b7bc6000 r--p 00000000 00:73 22118703 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7bc6000-b7bc7000 r--p 00000000 00:73 22137682 /usr/lib/locale/en_US.utf8/LC_TIME
b7bc7000-b7c9e000 r--p 00000000 00:73 22118815 /usr/lib/locale/en_US.utf8/LC_COLLATE
b7c9e000-b7c9f000 r--p 00000000 00:73 22137681 /usr/lib/locale/en_US.utf8/LC_MONETARY
b7c9f000-b7ca6000 r--s 00000000 00:73 22137178 /usr/lib/gconv/gconv-modules.cache
b7ca6000-b7cee000 r-xp 00000000 00:73 22118677 /usr/lib/libncursesw.so.5.5
b7cee000-b7cf6000 rw-p 00048000 00:73 22118677 /usr/lib/libncursesw.so.5.5
b7cf6000-b7cf7000 rw-p b7cf6000 00:00 0
b7cf7000-b7d1b000 r-xp 00000000 00:73 25247748 /var/games/cH9dnGjcSye7nNx1/mta/1.1/core.so
b7d1b000-b7d1e000 rw-p 00024000 00:73 25247748 /var/games/cH9dnGjcSye7nNx1/mta/1.1/core.so
b7d1e000-b7d1f000 rw-p b7d1e000 00:00 0
b7d1f000-b7d32000 r-xp 00000000 00:73 22399999 /lib/libpthread-2.5.so
b7d32000-b7d33000 r--p 00013000 00:73 22399999 /lib/libpthread-2.5.so
b7d33000-b7d34000 rw-p 00014000 00:73 22399999 /lib/libpthread-2.5.so
b7d34000-b7d37000 rw-p b7d34000 00:00 0
b7d37000-b7e76000 r-xp 00000000 00:73 22399978 /lib/libc-2.5.so
b7e76000-b7e78000 r--p 0013f000 00:73 22399978 /lib/libc-2.5.so
b7e78000-b7e79000 rw-p 00141000 00:73 22399978 /lib/libc-2.5.so
b7e79000-b7e7c000 rw-p b7e79000 00:00 0
b7e7c000-b7e87000 r-xp 00000000 00:73 22400009 /lib/libgcc_s-4.1.2-20080825.so.1
b7e87000-b7e88000 rw-p 0000a000 00:73 22400009 /lib/libgcc_s-4.1.2-20080825.so.1
b7e88000-b7ead000 r-xp 00000000 00:73 22400031 /lib/libm-2.5.so
b7ead000-b7eae000 r--p 00024000 00:73 22400031 /lib/libm-2.5.so
b7eae000-b7eaf000 rw-p 00025000 00:73 22400031 /lib/libm-2.5.so
b7eaf000-b7eb6000 r-xp 00000000 00:73 22399981 /lib/librt-2.5.so
b7eb6000-b7eb7000 r--p 00006000 00:73 22399981 /lib/librt-2.5.so
b7eb7000-b7eb8000 rw-p 00007000 00:73 22399981 /lib/librt-2.5.so
b7eb8000-b7eca000 r-xp 00000000 00:73 22118634 /usr/lib/libz.so.1.2.3
b7eca000-b7ecb000 rw-p 00011000 00:73 22118634 /usr/lib/libz.so.1.2.3
b7ecb000-b7ecd000 r-xp 00000000 00:73 22399973 /lib/libdl-2.5.so
b7ecd000-b7ece000 r--p 00001000 00:73 22399973 /lib/libdl-2.5.so
b7ece000-b7ecf000 rw-p 00002000 00:73 22399973 /lib/libdl-2.5.so
b7ecf000-b7fab000 r-xp 00000000 00:73 22120183 /usr/lib/libstdc++.so.6.0.9
b7fab000-b7faf000 r--p 000db000 00:73 22120183 /usr/lib/libstdc++.so.6.0.9
b7faf000-b7fb0000 rw-p 000df000 00:73 22120183 /usr/lib/libstdc++.so.6.0.9
b7fb0000-b7fb7000 rw-p b7fb0000 00:00 0
b7fb7000-b7fb8000 r--p 00000000 00:73 22118707 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7fb8000-b7fb9000 r--p 00000000 00:73 22118791 /usr/lib/locale/en_US.utf8/LC_PAPER
b7fb9000-b7fba000 r--p 00000000 00:73 22118730 /usr/lib/locale/en_US.utf8/LC_NAME
b7fba000-b7fbb000 r--p 00000000 00:73 22135652 /usr/lib/locale/en_US.utf8/LC_ADDRESS
b7fbb000-b7fbc000 r--p 00000000 00:73 22118727 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7fbc000-b7fbd000 r--p 00000000 00:73 22118789 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7fbd000-b7fbe000 r--p 00000000 00:73 22137678 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b7fbe000-b7fd8000 r-xp 00000000 00:73 22399994 /lib/ld-2.5.so
b7fd8000-b7fd9000 r--p 00019000 00:73 22399994 /lib/ld-2.5.so
b7fd9000-b7fda000 rw-p 0001a000 00:73 22399994 /lib/ld-2.5.so
bfe8c000-bfea1000 rw-p 7ffffffe9000 00:00 0 [stack]
bash: line 1: 28014 Aborted ./mta-server-1.1 >> /dev/null

last line it's server start method, and this line tells that process was killed by system

TagsNo tags attached.

Activities

MX_Master

2011-05-29 10:48

viewer   ~~0013504

there is no such crash on 1.1-2703, i think it was fixed in some commit between 2700 and 2703

Issue History

Date Modified Username Field Change