I found no open or closed issues for "Fatal Python...
# development
e
I found no open or closed issues for "Fatal Python error: Illegal instruction" but just hit it in a CI burn: https://github.com/pantsbuild/pants/issues/11605 Presumably thats an engine issue.
h
don't think I've seen this one
a
IIRC it's what happens when the engine panics?
If CI isn't running with env
RUST_BACKTRACE=full
it should be :)
e
It is.
a
I thought we had code to print out the rust portion of backtrace from the Python if that was set?
Oh wait, this is forking a separate python process which runs a scheduler?
We may want to add that to the test env, I guess?
Weird edge case, for sure :)
e
No forking. If you look at the backtrace in the ticket, we enter the engine in the test here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/testutil/rule_runner.py#L176
a
Then why do I see
/tmp/process-execution7mBvjs
in the top few frames of the stack trace?
It looks like we're forking to run pytest out of process, not clear that process has
RUST_BACKTRACE
set?
w
h
I got this again in GitHub actions