[Fixed] [4.0.0] Hard crash where VM crash expected

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[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) Downloaded 8 times
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
Lead GZDoom Developer
Joined: 19 Jul 2003
Location: Germany

Re: [4.0.0] Hard crash where VM crash expected

Postby _mental_ » Sat Apr 27, 2019 9:06 am

Fixed in 3767a9a.
Joined: 07 Aug 2011

Return to Closed Bugs

Who is online

Users browsing this forum: BLEX [Bot] and 1 guest