Crash when starting a map with several scrollers

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.
Post Reply
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania
Contact:

Crash when starting a map with several scrollers

Post by printz »

I'm on a Mac (if relevant) and trying to load a test map with several types of scrollers. I'm using the DRDTeam devbuild of gzdoom-g4.8pre-83-g54ad3433b.zip. The level contains several uses of the Scroll_Texture_Offsets action special, with both documented and undocumented flags being used (the undocumented ones are necessary to support the equivalent MBF21 Boom specials).

The attached zip contains the map and the crash log.
scroll-udmf.zip
(22.97 KiB) Downloaded 46 times
User avatar
Player701
 
 
Posts: 1710
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Crash when starting a map with several scrollers

Post by Player701 »

The problem is in this line. The condition should be to check if the value of it.Next() is non-negative, otherwise it eventually returns -1 and everything goes boom because this value is used as an array index. I've submitted a PR to fix this here.
Post Reply

Return to “Closed Bugs [GZDoom]”