Open vext01 opened 1 year ago
I've now seen this happen in the call_args
test:
---- lang_tests::call_args.c stderr ----
Pattern (error at line 4):
|jit-state: start-tracing
|3: 5
|jit-state: stop-tracing
>> |--- Begin jit-pre-opt ---
|...
|%{{res}} = add nsw i32...
|...
...
Text (error at line 4):
|jit-state: start-tracing
|3: 5
|jit-state: stop-tracing
>> |thread '<unnamed>' panicked at hwtracer/src/pt/ykpt/mod.rs:449:13:
|assertion failed: taken
|stack backtrace:
| 0: 0x7f4aaf593a8c - std::backtrace_rs::backtrace::libunwind::trace::h
9181ffa9c3d4a750
...
So there is definitely something going on here. [I was doing a long-running try_repeat
for something else, which is why I stumbled on this.]
This was erroneously closed.
For the benefit of future me, Just wanted to link a relevant conversation I had with Markus:
This was erroneously closed.
Oddly enough, the assertion failure mentioned above has been seen in the wild when compressed returns are disabled! https://github.com/ykjit/yk/pull/954#issuecomment-1926892063
I wonder if the bug is elsewhere, but only manifests sometimes when we are looking at a later TNT packet...
On one occasion we saw:
Suggest we expected a compressed return, but the chip did not?