[4.7.0+] Very Fatal Error with ZForms

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[4.7.0+] Very Fatal Error with ZForms

Postby Mikk- » Thu Mar 24, 2022 10:12 am

Very frequently, gzdoom with crash with a very fatal error when using this demo mod. It uses ZForms to display a list of items in the player's inventory, the player can equip these items using the menu. Tested in both 4.7.0 & latest devbuild

To replicate:
  1. Launch GZDoom with the attached mod
  2. open the menu using OpenMenu bb_runeMenu
  3. equip some runes by clicking on the big rectangles, then the smaller squares on the right
  4. run around a bit, change map or quit the game
  5. crash.
crashreport.zip & mod :
https://drive.google.com/file/d/1-GFfrH ... sp=sharing

the menu's code is in the core zscript.zsc file, any ancillary code is contained in crap.zsc

apologies in advance if this is [user error].
User avatar
Joined: 30 Jun 2009
Location: Somewhere off Kanagawa
Discord: Mikk0451#3922

Re: [4.7.0+] Very Fatal Error with ZForms

Postby Graf Zahl » Sat Apr 16, 2022 2:15 pm

I can tell you that this is GC related, something calls Destroy on a stale object which obviously fails.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest