runtime: systemstack called from unexpected goroutine/traceback has leftover defers #31538
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, go version go1.12.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The program sometimes crashed with backtrace in stderr but sometimes crashed with nothing.
At first the code is golang mixed with some c code, which crashed with error
traceback has leftover defers
, and the backtrace is attached as BT#1.Then I insert a dead-loop of sleep to the code before it running into the c code, and it crashed with error
systemstack called from unexpected goroutineSIGTRAP: trace trap
. Backtrace is attached as BT#2.The crash only happens on two specific servers, and was never seen on other boxes before.
What did you expect to see?
Run without crash.
What did you see instead?
BT#1
BT#2
The text was updated successfully, but these errors were encountered: