I guess this is the right place to report.
I built GZDoom 3.3.0 on my Pi3 yesterday. Standard Raspbian with latest packages, and default 6.3.0, latest stable SDL2 2.0.8, stock kernel.
On exit, I get a segfault on a delete[] call, on src/v_video.cpp line 731.
If I comment that line, I get another different segfault I can't quite know where it's happening. Here's what I could find out with a debug version:
Code: Select all
Thread 1 "gzdoom" received signal SIGSEGV, Segmentation fault.
0x76b3ade4 in malloc_consolidate (av=av@entry=0x76c09794 <main_arena>) at malloc.c:4221
4221 malloc.c: No such file or directory.
(gdb) bt
#0 0x76b3ade4 in malloc_consolidate (av=av@entry=0x76c09794 <main_arena>) at malloc.c:4221
#1 0x76b3d2e4 in _int_malloc (av=av@entry=0x76c09794 <main_arena>, bytes=bytes@entry=4096) at malloc.c:3488
#2 0x76b3f370 in __GI___libc_malloc (bytes=4096) at malloc.c:2928
#3 0x76d637a0 in operator new(unsigned int) () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4 0x00fc3f2c in VMFrameStack::Alloc(int) ()
#5 0x00fc3d40 in VMFrameStack::AllocFrame(VMScriptFunction*) ()
#6 0x00fc42e0 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#7 0x00b57ea4 in DObject::Destroy() ()
#8 0x00c95ab0 in AActor::DestroyAllInventory() ()
#9 0x00ca7740 in AActor::OnDestroy() ()
#10 0x00b57ebc in DObject::Destroy() ()
#11 0x00b62d00 in DThinker::DestroyThinkersInList(FThinkerList&) ()
#12 0x00b62c5c in DThinker::DestroyAllThinkers() ()
#13 0x00ce5da8 in P_FreeLevelData() ()
#14 0x00ce82f8 in ?? ()
#15 0x006c4f20 in call_terms() ()
#16 0x76afbdd4 in __run_exit_handlers (status=0, listp=0x76c094ac <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:83
#17 0x76afbe34 in __GI_exit (status=<optimized out>) at exit.c:105
#18 0x006cb15c in ST_Endoom() ()
#19 0x00e7dc3c in ?? ()
#20 0x00e7dc68 in ?? ()
#21 0x00e7d934 in ?? ()
#22 0x00fbc4c8 in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#23 0x00fbc56c in VMExec_Unchecked::Exec(VMFrameStack*, VMOP const*, VMReturn*, int) ()
#24 0x00fc4324 in VMCall(VMFunction*, VMValue*, int, VMReturn*, int) ()
#25 0x00e6e950 in DMenu::CallMenuEvent(int, bool) ()
#26 0x00e7073c in M_Responder(event_t*) ()
#27 0x00b33e80 in D_ProcessEvents() ()
#28 0x00b43570 in NetUpdate() ()
#29 0x00b46810 in TryRunTics() ()
---Type <return> to continue, or q <return> to quit---
#30 0x00b36374 in D_DoomLoop() ()
#31 0x00b3bcd8 in D_DoomMain() ()
#32 0x006c579c in main ()
(gdb) q
Code: Select all
[Thread 0x720fe400 (LWP 10616) exited]
[New Thread 0x720fe400 (LWP 10617)]
[Thread 0x720fe400 (LWP 10617) exited]
[New Thread 0x720fe400 (LWP 10618)]
[Thread 0x720fe400 (LWP 10618) exited]
[New Thread 0x720fe400 (LWP 10619)]
[Thread 0x720fe400 (LWP 10619) exited]
[New Thread 0x720fe400 (LWP 10620)]
[Thread 0x720fe400 (LWP 10620) exited]
[New Thread 0x720fe400 (LWP 10621)]
[Thread 0x720fe400 (LWP 10621) exited]
[New Thread 0x720fe400 (LWP 10622)]
[Thread 0x720fe400 (LWP 10622) exited]
[New Thread 0x720fe400 (LWP 10623)]
[Thread 0x720fe400 (LWP 10623) exited]
[New Thread 0x720fe400 (LWP 10624)]
[Thread 0x720fe400 (LWP 10624) exited]
[New Thread 0x720fe400 (LWP 10625)]
[Thread 0x720fe400 (LWP 10625) exited]
[New Thread 0x720fe400 (LWP 10626)]
[Thread 0x720fe400 (LWP 10626) exited]
[New Thread 0x720fe400 (LWP 10627)]
[Thread 0x720fe400 (LWP 10627) exited]
[New Thread 0x720fe400 (LWP 10628)]
[Thread 0x720fe400 (LWP 10628) exited]
[New Thread 0x720fe400 (LWP 10629)]
[Thread 0x720fe400 (LWP 10629) exited]
[New Thread 0x720fe400 (LWP 10630)]
[Thread 0x720fe400 (LWP 10630) exited]
[New Thread 0x720fe400 (LWP 10631)]
[Thread 0x720fe400 (LWP 10631) exited]
[New Thread 0x720fe400 (LWP 10632)]
[Thread 0x720fe400 (LWP 10632) exited]
[New Thread 0x720fe400 (LWP 10633)]
[Thread 0x720fe400 (LWP 10633) exited]
[New Thread 0x720fe400 (LWP 10634)]
[Thread 0x720fe400 (LWP 10634) exited]
[New Thread 0x720fe400 (LWP 10635)]
[Thread 0x720fe400 (LWP 10635) exited]
[New Thread 0x720fe400 (LWP 10636)]
[Thread 0x720fe400 (LWP 10636) exited]
[New Thread 0x720fe400 (LWP 10637)]
[Thread 0x720fe400 (LWP 10637) exited]
[New Thread 0x720fe400 (LWP 10638)]
[Thread 0x720fe400 (LWP 10638) exited]
[New Thread 0x720fe400 (LWP 10639)]
[Thread 0x720fe400 (LWP 10639) exited]
[New Thread 0x720fe400 (LWP 10640)]
[Thread 0x720fe400 (LWP 10640) exited]
[New Thread 0x720fe400 (LWP 10641)]
[Thread 0x720fe400 (LWP 10641) exited]
[New Thread 0x720fe400 (LWP 10642)]
[Thread 0x720fe400 (LWP 10642) exited]
[New Thread 0x720fe400 (LWP 10643)]
[Thread 0x720fe400 (LWP 10643) exited]
[New Thread 0x720fe400 (LWP 10644)]
[Thread 0x720fe400 (LWP 10644) exited]
[New Thread 0x720fe400 (LWP 10645)]
[Thread 0x720fe400 (LWP 10645) exited]
[New Thread 0x720fe400 (LWP 10646)]
[Thread 0x720fe400 (LWP 10646) exited]
[New Thread 0x720fe400 (LWP 10647)]
[Thread 0x720fe400 (LWP 10647) exited]
[New Thread 0x720fe400 (LWP 10648)]
[Thread 0x720fe400 (LWP 10648) exited]
[New Thread 0x720fe400 (LWP 10649)]
[Thread 0x720fe400 (LWP 10649) exited]
[New Thread 0x720fe400 (LWP 10650)]
[Thread 0x720fe400 (LWP 10650) exited]
[New Thread 0x720fe400 (LWP 10651)]
[Thread 0x720fe400 (LWP 10651) exited]
[New Thread 0x720fe400 (LWP 10652)]
[Thread 0x720fe400 (LWP 10652) exited]
[New Thread 0x720fe400 (LWP 10653)]
[Thread 0x720fe400 (LWP 10653) exited]
[New Thread 0x720fe400 (LWP 10654)]
[Thread 0x720fe400 (LWP 10654) exited]
[New Thread 0x720fe400 (LWP 10655)]
[Thread 0x720fe400 (LWP 10655) exited]
[New Thread 0x720fe400 (LWP 10656)]
[Thread 0x720fe400 (LWP 10656) exited]
[New Thread 0x720fe400 (LWP 10657)]
[Thread 0x720fe400 (LWP 10657) exited]
[New Thread 0x720fe400 (LWP 10658)]
[Thread 0x720fe400 (LWP 10658) exited]
[New Thread 0x720fe400 (LWP 10659)]
[Thread 0x720fe400 (LWP 10659) exited]
[New Thread 0x720fe400 (LWP 10660)]
[Thread 0x720fe400 (LWP 10660) exited]
[New Thread 0x720fe400 (LWP 10661)]
[Thread 0x720fe400 (LWP 10661) exited]
[New Thread 0x720fe400 (LWP 10662)]
[Thread 0x720fe400 (LWP 10662) exited]
...This thread creation and destruction goes on, endlessly...