Open dabrahams opened 8 months ago
This seems to happen a bit more reliably in CI when parallel testing is enabled, FWIW.
Here's another example: https://github.com/hylo-lang/hylo/actions/runs/6802288428/job/18495069171#step:4:3081 Parallel testing happens to be off in this configuration
Looks like a very nasty bug. I've been completely unable to reproduce it on my machine so far. The thing about parallel testing sounds like a red herring, as I suspect the real culprit is UB.
I'll have to get my hands on Hylo IR and LLVM IR to understand what's going on.
I suggest reducing the test case first if possible.
What architecture is your machine?
I'll have to get my hands on Hylo IR and LLVM IR to understand what's going on.
LLVM IR looks good to me if I compile on my machine.
I am not 100% positive because there's a lot of noise due to unnecessary pointers to Void
allocas, as mentioned yesterday.
I worry that we may have to insert debug info into the executable to investigate further with lldb.
I suggest reducing the test case first if possible.
Good idea. I tried on my machine but not on CI.
What architecture is your machine?
I use an Apple M1. Am I correct to assume the bug only occurs on Ubuntu? I think CI uses x86 for this OS, but I am not sure.
I've seen this happen several times (without parallel testing enabled FWIW):
It's just this one test, as far as I can tell.