JIT: passing vector2/3 by reference causes error/crash.

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!
User avatar
Accensus
Banned User
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

JIT: passing vector2/3 by reference causes error/crash.

Post by Accensus »

Tested on GZDoom 4.7.0. I say error/crash because I am reporting this on behalf of my friend who gets the crash ...but only sometimes. Meanwhile I only get an error.

Error:

Code: Select all

TestImp.PostBeginPlay: Unexpected JIT error: Unknown REGT value passed to EmitPARAM
To reproduce using the attached example, use "summon TestImp".
Attachments
ZSCRIPT.txt
(295 Bytes) Downloaded 33 times
User avatar
phantombeta
Posts: 2175
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: JIT: passing vector2/3 by reference causes error/crash.

Post by phantombeta »

Probably a duplicate of this bug
User avatar
Accensus
Banned User
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: JIT: passing vector2/3 by reference causes error/crash.

Post by Accensus »

Looks like it. It works under specific circumstances, e.g. this. Code's been like that for a while and I have yet to see any issues.
Post Reply

Return to “Bugs [GZDoom]”