Closed hawkingrei closed 1 year ago
Lock and panic, without releasing the lock?
Lock and panic, without releasing the lock?
Maybe. It is so terrible.
There is a panic(maybe from the user side), and when handling the panic, the Go runtime found some wrong and panic again https://github.com/golang/go/blob/f32519e5fbcf1b12f9654a6175e5e72b09ae8f3a/src/runtime/lock_futex.go#L127
This process repeat again and again, you can see the final stack.
I have no idea how the first panic is triggered. And I can't reproduce the bug:
cd privilege/privileges;
go test -run TestUseDB
@tiancaiamao it happens again #36934
close this, it's a golang runtime bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)