[Fixed] Crash when showing ENDOOM

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Crash when showing ENDOOM

Postby Marisa the Magician » Wed Jun 01, 2022 9:29 am

Quitting the game with the showendoom cvar enabled results in an immediate crash.

Code: Select allExpand view
Thread 1 "gzdoom" received signal SIGSEGV, Segmentation fault.
0x0000555555ab7e86 in FGameTexture::GetDisplayHeight (this=0x0) at /media/Data/Development/active/gzdoom/src/common/textures/gametexture.h:129
129      float GetDisplayHeight() const { return DisplayHeight; }
(gdb) bt
#0  0x0000555555ab7e86 in FGameTexture::GetDisplayHeight() const (this=0x0) at /media/Data/Development/active/gzdoom/src/common/textures/gametexture.h:129
#1  0x0000555556137ed9 in FStartScreen::Render(bool) (this=0x55555ec4a350, force=true) at /media/Data/Development/active/gzdoom/src/common/startscreen/startscreen.cpp:672
#2  0x000055555613a324 in RunEndoom() () at /media/Data/Development/active/gzdoom/src/common/startscreen/endoom.cpp:171
#3  0x000055555613a41a in ST_Endoom() () at /media/Data/Development/active/gzdoom/src/common/startscreen/endoom.cpp:197
#4  0x000055555602bd5b in operator()() const (__closure=0x0) at /media/Data/Development/active/gzdoom/src/menu/doommenu.cpp:339
#5  0x000055555602bd84 in _FUN() () at /media/Data/Development/active/gzdoom/src/menu/doommenu.cpp:340
#6  0x0000555556258c5a in AF_DMessageBoxMenu_CallHandler(VMValue*, int, VMReturn*, int, uint8_t const*) (param=0x7fffffffc7d0, numparam=1, ret=0x7fffffffc800, numret=0, reginfo=0x55555d62d1d0 "\003") at /media/Data/Development/active/gzdoom/src/common/menu/messagebox.cpp:53
#7  0x00005555562f3742 in VMNativeFunction::NativeScriptCall(VMFunction*, VMValue*, int, VMReturn*, int) (func=0x55555c753740, params=0x7fffffffc7d0, numparams=1, returns=0x7fffffffc800, numret=0) at /media/Data/Development/active/gzdoom/src/common/scripting/vm/vmframe.cpp:315
#8  0x00007ffff4c946d6 in  ()
#9  0x0000000000000000 in  ()

Edit: I think this may be a side effect of the workaround for the previous bug I reported.
User avatar
Marisa the Magician
ZScript Crimester
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Crash when showing ENDOOM

Postby Graf Zahl » Wed Jun 01, 2022 10:00 am

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests