Management Karbust 4888 Posted December 26, 2018 Management Share Posted December 26, 2018 Hello I have random crashes from time to time and the only info I have from game.core is this: root@sv1:~ # cd /usr/home/game/cores/channel1/game1 root@sv1:/usr/home/game/cores/channel1/game1 # lldb game -c game.core (lldb) target create "game" --core "game.core" Core file '/usr/home/game/cores/channel1/game1/game.core' (i386) was loaded. (lldb) bt all * thread #1, name = 'game', stop reason = signal SIGABRT * frame #0: 0x2890cee3 libc.so.7`kill + 7 thread #2, name = 'game', stop reason = signal SIGABRT frame #0: 0x288a48e9 libc.so.7`__umtx_op + 5 frame #1: 0x28890bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28890c70 libc.so.7`sem_wait + 32 frame #3: 0x08494db8 game`CSemaphore::Wait(void) + 24 thread #3, name = 'game', stop reason = signal SIGABRT frame #0: 0x288a48e9 libc.so.7`__umtx_op + 5 frame #1: 0x28890bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28890c70 libc.so.7`sem_wait + 32 frame #3: 0x08494db8 game`CSemaphore::Wait(void) + 24 thread #4, name = 'game', stop reason = signal SIGABRT frame #0: 0x288a48e9 libc.so.7`__umtx_op + 5 frame #1: 0x28890bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28890c70 libc.so.7`sem_wait + 32 frame #3: 0x08494db8 game`CSemaphore::Wait(void) + 24 (lldb) Anyone can see any error in there? Because I can't... Thank you all Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 27, 2018 Premium Share Posted December 27, 2018 # gdb (gdb) set gnutarget i386-marcel-freebsd (gdb) file game (gdb) core game.core (gdb) bt full (gdb) quit # Thx to Night / martysama0134 Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted December 27, 2018 Author Management Share Posted December 27, 2018 8 hours ago, WeedHex said: # gdb (gdb) set gnutarget i386-marcel-freebsd (gdb) file game (gdb) core game.core (gdb) bt full (gdb) quit # Thx to Night / martysama0134 I don't think it's very useful, but here it is... root@sv1:/usr/home/game/cores/channel1/game1 # gdb 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 "amd64-marcel-freebsd". (gdb) set gnutarget i386-marcel-freebsd (gdb) file game Reading symbols from game...Dwarf Error: wrong version in compilation unit heade r (is 4, should be 2) [in module /usr/home/game/cores/channel1/game1/game] (gdb) core game.core Core was generated by `game'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib32/libmd.so.6...(no debugging symbols found)...done . Loaded symbols for /usr/lib32/libmd.so.6 Reading symbols from /usr/local/lib32/metin2/libstdc++.so.6...Error while readin g shared library symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in mo dule /usr/local/lib32/metin2/libstdc++.so.6] Reading symbols from /usr/lib32/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib32/libm.so.5 Reading symbols from /usr/lib32/libgcc_s.so.1...(no debugging symbols found)...d one. Loaded symbols for /usr/lib32/libgcc_s.so.1 Reading symbols from /usr/lib32/libthr.so.3...(no debugging symbols found)...don e. Loaded symbols for /usr/lib32/libthr.so.3 Reading symbols from /usr/lib32/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib32/libc.so.7 Reading symbols from /libexec/ld-elf32.so.1...(no debugging symbols found)...don e. Loaded symbols for /libexec/ld-elf32.so.1 #0 0x2890cee3 in kill () from /usr/lib32/libc.so.7 (gdb) bt full #0 0x2890cee3 in kill () from /usr/lib32/libc.so.7 No symbol table info available. #1 0x2890cea0 in __stack_chk_fail () from /usr/lib32/libc.so.7 No symbol table info available. #2 0x2890cdfb in __stack_chk_fail () from /usr/lib32/libc.so.7 No symbol table info available. #3 0x0816b202 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available. (gdb) quit root@sv1:/usr/home/game/cores/channel1/game1 # Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 28, 2018 Premium Share Posted December 28, 2018 Dwarf Error: wrong version in compilation unit header (is 4, should be 2) Wrong way to GDB. Let's check online about "Dwarf Error" Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted December 28, 2018 Author Management Share Posted December 28, 2018 2 minutes ago, WeedHex said: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) Wrong way to GDB. Let's check online about "Dwarf Error" What do you mean? I've used LLDB because it works on FreeBSD x64 (where I run my server), I compile it on FreeBSD x86... Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 28, 2018 Premium Share Posted December 28, 2018 You're getting an error of #gdb If you don't fix it, the gdb will never tell you right info about what happened. Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted December 28, 2018 Author Management Share Posted December 28, 2018 Just now, WeedHex said: You're getting an error of #gdb If you don't fix it, the gdb will never tell you right info about what happened. That's why I use LLDB, it does the same effect and usually gives me more info than GDB... 1 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 28, 2018 Premium Share Posted December 28, 2018 Very weird bro i'm sorry, i was just tring to help you. In this case I dont know. Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted December 28, 2018 Author Management Share Posted December 28, 2018 Just now, WeedHex said: Very weird bro i'm sorry, i was just tring to help you. In this case I dont know. No problem... The problem is that only "kills" the core where the cities are and where're players switching bonus... Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted December 30, 2018 Author Management Share Posted December 30, 2018 BUMP Link to comment Share on other sites More sharing options...
Developer PACI 921 Posted January 3, 2019 Developer Share Posted January 3, 2019 You should had reverted every recent change you did to your core already. What is that CSemaphore thing that shit is talking about? when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted January 3, 2019 Author Management Share Posted January 3, 2019 3 hours ago, PACI said: You should had reverted every recent change you did to your core already. What is that CSemaphore thing that shit is talking about? I don't know what is that, has been there in like forever, even when I had a game crash with motive it was always there in the bottom... Like this for example: I solved it by removing the poison from every monster... 1 Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted January 5, 2019 Author Management Share Posted January 5, 2019 BUMP Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted January 6, 2019 Premium Share Posted January 6, 2019 You didn't find the problem? Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted January 6, 2019 Author Management Share Posted January 6, 2019 30 minutes ago, WeedHex said: You didn't find the problem? It's always random, I can't pinpoint to a action being done by the players, sometimes it doesn't crash for days, other times crashes, I restart and it crashes again... Link to comment Share on other sites More sharing options...
Premium TAUMP 840 Posted January 6, 2019 Premium Share Posted January 6, 2019 you must use last version gdb GDB normal cd /usr/local/bin/gdb Link to comment Share on other sites More sharing options...
Premium Jira 458 Posted January 6, 2019 Premium Share Posted January 6, 2019 1 hour ago, T4UMP said: you must use last version gdb GDB normal cd /usr/local/bin/gdb gdb82 only Link to comment Share on other sites More sharing options...
Management Karbust 4888 Posted January 6, 2019 Author Management Share Posted January 6, 2019 Can't use gdb82 nor /usr/local/bin/gdb... I get this error: Shared object "libdl.so.1" not found, required by "gdb82" Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted January 7, 2019 Premium Share Posted January 7, 2019 I told you so. 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