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.sigpanic called from 0x0 #36287
What version of Go are you using (
@toothrot I'm sorry, The code can't be see out of the company, but I have located the panic reason. In the C code defines the SIGCHID function, SIGCHID is triggered very frequent, and lead the go code panic. I tested the other signals, such as SIGALRM, will also trigger a panic.
In addition what is the real reason of this problem?
I used Go 1.14 beta 1 for test，it also paniced.
@toothrot @josharian I simplified the code, and use go 1.13.3 to reproduce the problem. Increasing the frequency of the semaphore trigger increases the frequency of the problem. Please help me to find out the problem, thanks.
the cgo code