]> Cypherpunks repositories - gostls13.git/commit
runtime: let the fault thread to crash the process
authorzzkcode <zzk819166453@gmail.com>
Thu, 30 Nov 2023 11:39:29 +0000 (11:39 +0000)
committerCherry Mui <cherryyz@google.com>
Sat, 2 Dec 2023 03:15:03 +0000 (03:15 +0000)
commitde5b418bea70aaf27de1f47e9b5813940d1e15a4
tree8503da8f0b428fb2aa132f6f4f86a457eec7194a
parent58bfef82fcafdb13c6f456313d2972c4530a8193
runtime: let the fault thread to crash the process

Let the fault thread to crash the program to make sure while gdb coredump file could see the correct backtrace in the number one thread in gdb.

Fixes #63277.

Change-Id: Ie4473f76f0feba596091433918bcd35a4ff7e11b
GitHub-Last-Rev: f4615c23f663a2f0794ca9e5c86fc2f0cc8552d7
GitHub-Pull-Request: golang/go#63666
Reviewed-on: https://go-review.googlesource.com/c/go/+/536895
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/runtime-gdb_unix_test.go
src/runtime/signal_unix.go