Closed Pavel-Durov closed 1 year ago
This is one for me.
How reproducible is it?
Sure, but does it fail deterministically?
It's quite deterministic, I had no reproduction issues.
I get the same error when running other tests such as coroutine.lua
- https://github.com/ykjit/yklua/pull/70
I'm unable to repro it on files.lua, and on coroutine.lua I get:
$ /opt/try_repeat/try_repeat 1000 env YKD_SERIALISE_COMPILATION=0 ../src/lua -e"_U=true" coroutine.lua
testing coroutines
to-be-closed variables in coroutines
testing 'coroutine.close'
>>> testC not active: skipping coroutine API tests <<<
thread '<unnamed>' panicked at ykrt/src/mt.rs:469:21:
assertion failed: sidetrace.is_none() ||
matches!(hl_arc.lock().kind, HotLocationKind :: Compiled(_))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault
If you can still repro it, I can try a blind fix.
OK, so what's going on here is that we see a VMCS
packet in a PSB+
block.
This is the first time we've ever seen this kind of packet. Are you running inside a VM or something?
That's surprising. I assume you are building with these versions:
yk master/82e308594836e077aa25c51fc1e8012352119125
yklua main/b0364e4d6e413a4ee2aa6168e0d3d243c42d0f67
?
I can test your blind fix if you want.
Yes, those versions.
Issue
Failing
files.lua
test.Steps to reproduce
Versions
YKLua -
main/b0364e4d6e413a4ee2aa6168e0d3d243c42d0f67
YK -master/82e308594836e077aa25c51fc1e8012352119125