Jump to content

Random game crash


Recommended Posts

  • Management

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

raw

raw

Link to comment
Share on other sites

  • Management
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 #

 

raw

raw

Link to comment
Share on other sites

  • Management
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...

raw

raw

Link to comment
Share on other sites

  • Management
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...

  • Love 1

raw

raw

Link to comment
Share on other sites

  • Management
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...

raw

raw

Link to comment
Share on other sites

  • Management
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...

  • Confused 1

raw

raw

Link to comment
Share on other sites

  • Management
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...

raw

raw

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.