sourcepawn icon indicating copy to clipboard operation
sourcepawn copied to clipboard

'assert' expression results in invalid instruction exception

Open naydef opened this issue 4 years ago • 1 comments

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.

naydef avatar Aug 08 '21 18:08 naydef

See also: #175 (the "next step" never happened,)

asherkin avatar Aug 11 '21 13:08 asherkin