by vanfanel » Fri Jun 15, 2018 7:55 am
@_mental_: Backtrace is different each time... I think whatever is wrong, its causing a memory corruption that has different consequences each time:
Execution 1:
Code: Select all
(gdb) bt
#0 0x00007ffff6159804 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4328
#1 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#2 0x00005555559d209c in PClass::StaticShutdown() ()
#3 0x0000555555749256 in call_terms() ()
#4 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#5 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#6 0x000055555574c910 in ST_Endoom() ()
#7 0x0000555555bef680 in ?? ()
#8 0x0000555555bef516 in ?? ()
#9 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#10 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#11 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#12 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#13 0x0000555555be4141 in M_Responder(event_t*) ()
#14 0x00005555559b62e8 in D_ProcessEvents() ()
#15 0x00005555559beaaa in NetUpdate() ()
#16 0x00005555559bf906 in TryRunTics() ()
#17 0x00005555559b8cb9 in D_DoomLoop() ()
#18 0x00005555559ba737 in D_DoomMain() ()
#19 0x000055555572d6ef in main ()
Execution 2:
Code: Select all
(gdb) bt
#0 0x00007ffff6158086 in malloc_consolidate (av=av@entry=0x7ffff64a9c20 <main_arena>) at malloc.c:4506
#1 0x00007ffff6159e08 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4398
#2 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#3 0x0000555555c5d6e5 in PSymbolTable::ReleaseSymbols() ()
#4 0x0000555555c5d769 in PSymbolTable::~PSymbolTable() ()
#5 0x0000555555c63e5a in FTypeTable::Clear() ()
#6 0x00005555559d21b9 in PClass::StaticShutdown() ()
#7 0x0000555555749256 in call_terms() ()
#8 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#9 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#10 0x000055555574c910 in ST_Endoom() ()
#11 0x0000555555bef680 in ?? ()
#12 0x0000555555bef516 in ?? ()
#13 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#14 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#15 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#16 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#17 0x0000555555be4141 in M_Responder(event_t*) ()
#18 0x00005555559b62e8 in D_ProcessEvents() ()
#19 0x00005555559beaaa in NetUpdate() ()
#20 0x00005555559bf906 in TryRunTics() ()
#21 0x00005555559b8cb9 in D_DoomLoop() ()
#22 0x00005555559ba737 in D_DoomMain() ()
#23 0x000055555572d6ef in main ()
(gdb)
Execution 3:
Code: Select all
(gdb) bt
#0 0x00007ffff6159804 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4328
#1 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#2 0x00005555559d209c in PClass::StaticShutdown() ()
#3 0x0000555555749256 in call_terms() ()
#4 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#5 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#6 0x000055555574c910 in ST_Endoom() ()
#7 0x0000555555bef680 in ?? ()
#8 0x0000555555bef516 in ?? ()
#9 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#10 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#11 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#12 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#13 0x0000555555be4141 in M_Responder(event_t*) ()
#14 0x00005555559b62e8 in D_ProcessEvents() ()
#15 0x00005555559beaaa in NetUpdate() ()
#16 0x00005555559bf906 in TryRunTics() ()
#17 0x00005555559b8cb9 in D_DoomLoop() ()
#18 0x00005555559ba737 in D_DoomMain() ()
#19 0x000055555572d6ef in main ()
@_mental_: Backtrace is different each time... I think whatever is wrong, its causing a memory corruption that has different consequences each time:
Execution 1:
[code]
(gdb) bt
#0 0x00007ffff6159804 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4328
#1 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#2 0x00005555559d209c in PClass::StaticShutdown() ()
#3 0x0000555555749256 in call_terms() ()
#4 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#5 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#6 0x000055555574c910 in ST_Endoom() ()
#7 0x0000555555bef680 in ?? ()
#8 0x0000555555bef516 in ?? ()
#9 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#10 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#11 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#12 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#13 0x0000555555be4141 in M_Responder(event_t*) ()
#14 0x00005555559b62e8 in D_ProcessEvents() ()
#15 0x00005555559beaaa in NetUpdate() ()
#16 0x00005555559bf906 in TryRunTics() ()
#17 0x00005555559b8cb9 in D_DoomLoop() ()
#18 0x00005555559ba737 in D_DoomMain() ()
#19 0x000055555572d6ef in main ()
[/code]
Execution 2:
[code]
(gdb) bt
#0 0x00007ffff6158086 in malloc_consolidate (av=av@entry=0x7ffff64a9c20 <main_arena>) at malloc.c:4506
#1 0x00007ffff6159e08 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4398
#2 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#3 0x0000555555c5d6e5 in PSymbolTable::ReleaseSymbols() ()
#4 0x0000555555c5d769 in PSymbolTable::~PSymbolTable() ()
#5 0x0000555555c63e5a in FTypeTable::Clear() ()
#6 0x00005555559d21b9 in PClass::StaticShutdown() ()
#7 0x0000555555749256 in call_terms() ()
#8 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#9 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#10 0x000055555574c910 in ST_Endoom() ()
#11 0x0000555555bef680 in ?? ()
#12 0x0000555555bef516 in ?? ()
#13 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#14 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#15 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#16 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#17 0x0000555555be4141 in M_Responder(event_t*) ()
#18 0x00005555559b62e8 in D_ProcessEvents() ()
#19 0x00005555559beaaa in NetUpdate() ()
#20 0x00005555559bf906 in TryRunTics() ()
#21 0x00005555559b8cb9 in D_DoomLoop() ()
#22 0x00005555559ba737 in D_DoomMain() ()
#23 0x000055555572d6ef in main ()
(gdb)
[/code]
Execution 3:
[code]
(gdb) bt
#0 0x00007ffff6159804 in _int_free (av=0x7ffff64a9c20 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:4328
#1 0x00007ffff615e44e in __GI___libc_free (mem=<optimized out>) at malloc.c:3145
#2 0x00005555559d209c in PClass::StaticShutdown() ()
#3 0x0000555555749256 in call_terms() ()
#4 0x00007ffff610aec0 in __run_exit_handlers (status=0, listp=0x7ffff64a96f8 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:83
#5 0x00007ffff610af1a in __GI_exit (status=<optimized out>) at exit.c:105
#6 0x000055555574c910 in ST_Endoom() ()
#7 0x0000555555bef680 in ?? ()
#8 0x0000555555bef516 in ?? ()
#9 0x0000555555cb0f2f in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#10 0x0000555555cb2317 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#11 0x0000555555cbe941 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#12 0x0000555555be23da in DMenu::CallMenuEvent(int, bool) ()
#13 0x0000555555be4141 in M_Responder(event_t*) ()
#14 0x00005555559b62e8 in D_ProcessEvents() ()
#15 0x00005555559beaaa in NetUpdate() ()
#16 0x00005555559bf906 in TryRunTics() ()
#17 0x00005555559b8cb9 in D_DoomLoop() ()
#18 0x00005555559ba737 in D_DoomMain() ()
#19 0x000055555572d6ef in main ()
[/code]