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.
User avatar
Posts: 13627
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

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.
You do not have the required permissions to view the files attached to this post.
User avatar
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

Re: Calls to non-existant virtual function causes CTD

Post by CandiceJoy »

Return to “Closed Bugs [GZDoom]”