Tasho 243 Posted December 5, 2015 Share Posted December 5, 2015 Hi devs, I have a big bug that I can;t find an answer, it sounds like this: When I kill 20 metins consecutive, the server is shuting down with a .core dump ... I tried to use gdb but I can't manage to make it work. So if someone has any idea how to deal with this bug please help, I can leave the .core dump here and if someone is so kind to debug it I will be verry gratefull This is the hidden content, please Sign In or Sign Up Link to comment Share on other sites More sharing options...
ds_aim 241 Posted December 5, 2015 Share Posted December 5, 2015 we can't debug game.core It depend what compiler you use. what flags, what arhitecture , what ld-elf compatibility , what dwarf version you use. Link to comment Share on other sites More sharing options...
Tasho 243 Posted December 5, 2015 Author Share Posted December 5, 2015 ok, in that case this is what gdb shows me : root@:/1 # cd /usr/home/ultras/Channels/Channel1/core1 root@:/usr/home/ultras/Channels/Channel1/core1 # gdb ch1_core1 game_ ultras.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found). .. warning: core file may not match specified executable file. Core was generated by `game_ultras'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libmd.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libmd.so.5 Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/lib/libstdc++.so.6...Error while reading shared librar y symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in mo dule /usr/lib/libstdc++.so.6] Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0808e0e8 in ?? () [New Thread 28c05500 (LWP 100268/game_ultras)] [New Thread 28c05200 (LWP 100264/game_ultras)] [New Thread 28c04f00 (LWP 100263/game_ultras)] [New Thread 28c04300 (LWP 100232/game_ultras)] (gdb) bt full #0 0x0808e0e8 in ?? () No symbol table info available. #1 0x080b059f in ?? () No symbol table info available. #2 0x08108b4d in std::string::_S_construct<char*> () No symbol table info available. #3 0x08216919 in std::operator+<char, std::char_traits<char>, std::allocator<ch ar> > () No symbol table info available. #4 0x08217a5a in std::operator+<char, std::char_traits<char>, std::allocator<ch ar> > () No symbol table info available. #5 0x0805622a in ?? () No symbol table info available. #6 0x28c13370 in ?? () No symbol table info available. #7 0x2986208c in ?? () No symbol table info available. #8 0xbfbfb697 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. Link to comment Share on other sites More sharing options...
ds_aim 241 Posted December 5, 2015 Share Posted December 5, 2015 Dwarf Error: wrong version in compilation unit header (is 4, should be 2) You should compile game with dwarf 2 flags Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now