Calls to non-existant virtual function causes CTD

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
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Calls to non-existant virtual function causes CTD

Post by Rachael »

Wasn't really sure of the best way to handle this so I figured it'd be best to report it instead of trying to tackle this one myself. I wonder that a solution I implement might unnecessarily cause performance issues.

Calling a non-existent virtual function in ZScript causes a null function call when JIT is enabled, or a nullptr read when it's not, which either way results in a crash to desktop that is not caught by the VM exception handler.

This code is invalid, yes - the issue is that it does a crash-to-desktop instead of error-to-console.
InstantCrash.pk3
(748 Bytes) Downloaded 32 times
User avatar
CandiceJoy
Posts: 94
Joined: Thu Jul 13, 2017 3:04 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Win11, MacOS Ventura
Graphics Processor: Apple M1
Contact:

Re: Calls to non-existant virtual function causes CTD

Post by CandiceJoy »

Post Reply

Return to “Closed Bugs [GZDoom]”