[Fixed] "Invalid label" JIT error with latest Hideous Destructor

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

"Invalid label" JIT error with latest Hideous Destructor

Postby phantombeta » Wed Jan 29, 2020 1:32 pm

The latest Hideous Destructor stable build randomly causes GZDoom to error out with "Invalid label". I've tracked this error down to AsmJit, but I have no idea what causes it. For me, it happens randomly, and for at least one person, it happens reliably.

It seems to be caused by this function:
Code: Select allExpand view
    string getmug(string mugshot){
        if(mugshot==HDMUGSHOT_DEFAULT)switch(cplayer.getgender()){
            case 0:return "STF";
            case 1:return "SFF";
            default:return "STC";
        }else return mugshot;
    

Unfortunately, I have no idea at all what's causing this.
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
Global Moderator
 
Joined: 02 May 2013
Location: Brazil, South America, Earth, Orion-Cygnus Arm, Milky Way
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: "Invalid label" JIT error with latest Hideous Destructor

Postby _mental_ » Thu Jan 30, 2020 10:04 am

Fixed in dd54c14.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest