[Fixed] [g4.7.0pre-131-gc3772fe20]Action DooM 2 Reloaded Crashes

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.

[g4.7.0pre-131-gc3772fe20]Action DooM 2 Reloaded Crashes

Postby PlayerLin » Fri Aug 13, 2021 4:36 am

AD2 Reloaded: viewtopic.php?f=19&t=73018

How to reproduce:
0. Get GZDooM g4.7.0pre-131-gc3772fe20 x64(not sure about x86).
1. Start Action DooM 2:UB by IWAD selector of GZDooM.
2. Start new game, select UB episode.
3. On the beginning of Map01, grab the Whiskey, drink or not drink it, no matter.
4. Use Alt. Attack(Secondary Fire) when holding the Whiskey bottle.

And BAM! GZDooM just crashed after switching kick and back to the bottle.

Official 4.6.1 and g4.7.0pre-101-g39513cf7a are fine, no crash, only the latest GZDooM build in DRDTeam SVN Build site triggered the crash.
You do not have the required permissions to view the files attached to this post.
User avatar
Joined: 11 Nov 2007
Location: XinZhuang, XinBei/New Taipei City(Former Taipei County), Taiwan.
Operating System: Windows Vista/7/2008 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [g4.7.0pre-131-gc3772fe20]Action DooM 2 Reloaded Crashes

Postby drfrag » Fri Aug 13, 2021 5:11 am

It's the commit with the HUD model tweaks. Crashes in the following line:
Code: Select allExpand view
      FSpriteModelFrame *smf = FindModelFrame(psp->Caller->GetClass(), psp->GetSprite(), psp->GetFrame(), false);

psp->Caller is NULL.
User avatar
Os voy a romper a pedazos!
Vintage GZDoom Developer
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: [g4.7.0pre-131-gc3772fe20]Action DooM 2 Reloaded Crashes

Postby Marisa the Magician » Fri Aug 13, 2021 5:57 am

Seems to be the usual problem of a weapon removing itself from the inventory while still running its states...

I guess some safeguard is needed there, I'll check what I can do.

Edit: Pull request done.
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

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests