Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: "unexpected return pc for runtime.pthread_kill_trampoline" on darwin builders #37605
I suspect (without evidence) that this may be related to goroutine preemption in 1.14.
See also #34039.
I took another look of the hex dumps. I'm pretty sure that it faults within
10.15: 5043 runs so far, 0 failures
I also cannot reproduce it on my laptop (10.15). So it seems this may be specific to macOS 10.14, where there may be a bug in
The above-listed failures on darwin-amd64-race builders all happened before we updated darwin-amd64-race builder to 10.15. So this supports my hypothesis. It would be good to check that it doesn't fail after it.
I wrote the following C program, which creates a number of threads and send signals to each other really hard (derived from TestCgoCallbackGC):
It doesn't fail on my laptop, with 10000+ runs under
I got the following trace for the C program above using lldb. It faults within
Just a guess: it might be a race between