[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!
User avatar
Mikk-
Posts: 2273
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

[4.7.0+] Very Fatal Error with ZForms

Post by Mikk- »

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
zforms:
https://gitlab.com/Gutawer/gzdoom-zforms

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48543
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [4.7.0+] Very Fatal Error with ZForms

Post by Graf Zahl »

I can tell you that this is GC related, something calls Destroy on a stale object which obviously fails.

Return to “Bugs [GZDoom]”