Fatal crash when failing to define sprite frames in zscript

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.
User avatar
kevansevans
Spotlight Team
Posts: 400
Joined: Tue Oct 05, 2010 12:04 am
Github ID: kevansevans
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Fatal crash when failing to define sprite frames in zscript

Post by kevansevans »

Really easy to reproduce, just include this actor in ZScript:

Code: Select all

Class CrashingActor : Actor
{
	states
	{
		spawn:
	}
}
This is obviously more the fault of the developer than it is GZDoom, but this would be better off if it reported a syntax error instead of a fatal crash. Accidentally had this in one of my projects, stepped away for a moment, and was then unable to find the source of it for a good chunk of time.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47983
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Fatal crash when failing to define sprite frames in zscr

Post by Graf Zahl »

fixed

Return to “Closed Bugs”