sourcepawn
sourcepawn copied to clipboard
'assert' expression results in invalid instruction exception
Minimal test:
public void OnPluginStart()
{
assert(1);
}
Message:
L 08/08/2021 - 21:20:55: [SM] Exception reported: Invalid instruction
L 08/08/2021 - 21:20:55: [SM] Unable to load plugin "assertTest.smx": Error detected in plugin startup (see error logs)
Version: SourceMod Version: 1.10.0.6510 SourcePawn Engine: 1.10.0.6510, jit-x86 (build 1.10.0.6510) SourcePawn API: v1 = 5, v2 = 12 Compiled on: Jul 11 2021 23:24:12
Linux x64
It seems to happen only when the assert expression holds true.
See also: #175 (the "next step" never happened,)