-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deltablue crashes register allocator if YKD_OPT=0 #1590
Comments
Does this happen deterministically? |
Appears to be. |
How did this get through CI? I thought we tried the AWFY benchmarks in release mode? |
We don't benchmark with the optimiser off. That's a requirement for this crash. |
Here's a reduced test case for this one: C = {}
do
function C.A()
getmetatable({})
end
end
B = {}
do
function B.A(A)
for A = 0, A * 3 do
C.A()
end
end
function A(A)
B.A(A)
end
end
A(40000) It crashes about 50% of the time. |
This fails 100% of the time for me (as I would expect for a register allocator bug). |
It crashes every time if you serialise compilation, but not if you don't. Probably the program can end before the trace is compiled if you don't block on compilation. |
Using yk
a4488568e0
:The text was updated successfully, but these errors were encountered: