[4.0.0] Hard crash where VM crash expected

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.0.0] Hard crash where VM crash expected

Postby Matt » Mon Apr 15, 2019 11:28 pm

Code: Select allExpand view
class caca:actor{
    cacodemon notcaco;
    override void postbeginplay(){
start map, "summon caca" in console, exit console

Expected: VM crash with null pointer
Actual: Hard crash to desktop

Expected behaviour occurs if I set stamina instead of target.
(4.27 KiB) Not downloaded yet
User avatar
Putting the XD into *xdeath since 2007
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: [4.0.0] Hard crash where VM crash expected

Postby Graf Zahl » Fri Apr 19, 2019 1:13 am

This looks like a code generation oversight in the JIT compiler. This particular assignment has no null check. With vm_jit 0 it properly aborts.
It's not something I'm going to invest more time in for now, though.
User avatar
Graf Zahl
Lead GZDoom Developer
Joined: 19 Jul 2003
Location: Germany

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest