-
Notifications
You must be signed in to change notification settings - Fork 150
Core dump (gdb)at /shutdown #46
Comments
The log does not provide enough information due to being incomplete. Also, I never had this issue myself. You should ask each thread of the server where it currently is (thread N -> where) and perhaps you will be able to find some more useful information. |
This bug is in latest trunk for sure. |
Alright then, please comment following two lines: https://github.com/opentibia/server/blob/legacy/src/game.cpp#L167 Basically these two: g_scheduler.stop();
g_dispatcher.stop(); They shouldn't be in there. The dispatcher won't execute final shutdown call due to closing state. |
(gdb) bt full |
@Pietia10 did you fix this bug? |
I'm afraid not. |
@Pietia10 can you help me with an issue? This crash rarely happens and I do not know how to solve it Cheers =) |
Try to copy CreatureEvent::executeOnKill function also copy this ae3493a from latest legacy. |
Thank you a lot @Pietia10 I will test... |
@Pietia10 Can you help-me with this crash? I do not understand very well, but can it be something related to this (checksum)? OTHire does not have this... |
@iryont can you help me please? |
prankat |
When you type /shutdown and gdb is on this happens:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 malloc_consolidate (av=av@entry=0x7f9b64000020) at malloc.c:4151
4151 malloc.c: No such file or directory.
(gdb) bt
#0 malloc_consolidate (av=av@entry=0x7f9b64000020) at malloc.c:4151
#1 0x00007f9b6ed21691 in _int_free (av=0x7f9b64000020, p=,
#2 0x00007f9b6ecdfbc9 in __run_exit_handlers (status=0,
#3 0x00007f9b6ecdfc15 in __GI_exit (status=) at exit.c:104
#4 0x00007f9b6ecc9b4c in __libc_start_main (
#5 0x000000000041a900 in _start ()
The text was updated successfully, but these errors were encountered: