#179 zone crash deconstruct of spawn/widget

Closed
opened 3 years ago by image · 7 comments
image commented 3 years ago
No symbol table info available.
#1  0x0000555555832bf2 in Spawn::~Spawn() ()
No symbol table info available.
#2  0x00005555556718f9 in Widget::~Widget() ()
No symbol table info available.
#3  0x000055555568df59 in ZoneServer::DeleteSpawns(bool) ()
No symbol table info available.
#4  0x00005555556b8f0f in ZoneServer::~ZoneServer() ()
No symbol table info available.
#5  0x00005555556b9de8 in ZoneLoop(void*) ()
No symbol table info available.
#6  0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736514492160, 8702295775909463379, 140737488339726, 140737488339727, 140736514492160,
                93824998018720, -8702282684808346285, -8702313103932177069}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
``` No symbol table info available. #1 0x0000555555832bf2 in Spawn::~Spawn() () No symbol table info available. #2 0x00005555556718f9 in Widget::~Widget() () No symbol table info available. #3 0x000055555568df59 in ZoneServer::DeleteSpawns(bool) () No symbol table info available. #4 0x00005555556b8f0f in ZoneServer::~ZoneServer() () No symbol table info available. #5 0x00005555556b9de8 in ZoneLoop(void*) () No symbol table info available. #6 0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 ret = <optimized out> pd = <optimized out> now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736514492160, 8702295775909463379, 140737488339726, 140737488339727, 140736514492160, 93824998018720, -8702282684808346285, -8702313103932177069}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #7 0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 ```
image commented 3 years ago
Collaborator

still present on test server today despite changes :(

still present on test server today despite changes :(
image commented 3 years ago
Collaborator

This might be fixed by Issue #182 .. will monitor to see if a repeat occurs.

This might be fixed by Issue #182 .. will monitor to see if a repeat occurs.
image commented 3 years ago
Collaborator

still there..

16:00:06 I Zone : Initiating zone shutdown of 'FrostfangSea'

Thread 88 "eq2world" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc573f700 (LWP 22349)]
0x00005555558351bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory>, std::_Select1st<std::pair<unsigned int const, LUAHistory> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory> >*)
    ()
(gdb) bt
#0  0x00005555558351bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory>, std::_Select1st<std::pair<unsigned int const, LUAHistory> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory> >*) ()
#1  0x0000555555834da2 in Spawn::~Spawn() ()
#2  0x000055555566f269 in Widget::~Widget() ()
#3  0x000055555568b909 in ZoneServer::DeleteSpawns(bool) ()
#4  0x00005555556b693f in ZoneServer::~ZoneServer() ()
#5  0x00005555556b7818 in ZoneLoop(void*) ()
#6  0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
still there.. 16:00:06 I Zone : Initiating zone shutdown of 'FrostfangSea' ``` Thread 88 "eq2world" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc573f700 (LWP 22349)] 0x00005555558351bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory>, std::_Select1st<std::pair<unsigned int const, LUAHistory> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory> >*) () (gdb) bt #0 0x00005555558351bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory>, std::_Select1st<std::pair<unsigned int const, LUAHistory> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory> >*) () #1 0x0000555555834da2 in Spawn::~Spawn() () #2 0x000055555566f269 in Widget::~Widget() () #3 0x000055555568b909 in ZoneServer::DeleteSpawns(bool) () #4 0x00005555556b693f in ZoneServer::~ZoneServer() () #5 0x00005555556b7818 in ZoneLoop(void*) () #6 0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 ```
image commented 3 years ago
Collaborator
#0  0x000055555573a3bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory*>, std::_Select1st<std::pair<unsigned int const, LUAHistory*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory*> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory*> >*) ()
No symbol table info available.
#1  0x0000555555835693 in Spawn::~Spawn() ()
No symbol table info available.
#2  0x0000555555672a39 in Widget::~Widget() ()
No symbol table info available.
#3  0x000055555568f0f9 in ZoneServer::DeleteSpawns(bool) ()
No symbol table info available.
#4  0x00005555556ba20f in ZoneServer::~ZoneServer() ()
No symbol table info available.
#5  0x00005555556bb0e8 in ZoneLoop(void*) ()
No symbol table info available.
#6  0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
        ret = <optimized out>
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736497706752, -6848268318831279219, 140737488339726, 140737488339727, 140736497706752, 93824997930512, 6848173864875197325, 6848285698426012557},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#7  0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
``` #0 0x000055555573a3bf in std::_Rb_tree<unsigned int, std::pair<unsigned int const, LUAHistory*>, std::_Select1st<std::pair<unsigned int const, LUAHistory*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, LUAHistory*> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, LUAHistory*> >*) () No symbol table info available. #1 0x0000555555835693 in Spawn::~Spawn() () No symbol table info available. #2 0x0000555555672a39 in Widget::~Widget() () No symbol table info available. #3 0x000055555568f0f9 in ZoneServer::DeleteSpawns(bool) () No symbol table info available. #4 0x00005555556ba20f in ZoneServer::~ZoneServer() () No symbol table info available. #5 0x00005555556bb0e8 in ZoneLoop(void*) () No symbol table info available. #6 0x00007ffff7d83fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 ret = <optimized out> pd = <optimized out> now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736497706752, -6848268318831279219, 140737488339726, 140737488339727, 140736497706752, 93824997930512, 6848173864875197325, 6848285698426012557}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #7 0x00007ffff76e84cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 ```
image commented 3 years ago
Collaborator

naggy + group + ho + /exit of character (or crash) causes this issue

naggy + group + ho + /exit of character (or crash) causes this issue
image commented 3 years ago
Collaborator

finally got a recreate on my characters in play test:

emagi -> frostfang, Testquest -> queens colony and wizardry in antonica log out, wait for zones to all shutdown after 5 min repeat process, get crash above

finally got a recreate on my characters in play test: emagi -> frostfang, Testquest -> queens colony and wizardry in antonica log out, wait for zones to all shutdown after 5 min repeat process, get crash above
image commented 3 years ago
Collaborator

reduced to emagi->frostfang

was always crashing on widgets..

loaded up valgrind and identified Entity*->SetSpeed being used on widgets which is wrong, widgets are not entities (oops!)

Fix incoming

reduced to emagi->frostfang was always crashing on widgets.. loaded up valgrind and identified Entity*->SetSpeed being used on widgets which is wrong, widgets are not entities (oops!) Fix incoming
image referenced this issue from a commit 3 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.