]> Cypherpunks repositories - gostls13.git/commit
runtime: disable crash stack on Windows
authorCherry Mui <cherryyz@google.com>
Mon, 20 Nov 2023 21:33:29 +0000 (16:33 -0500)
committerCherry Mui <cherryyz@google.com>
Tue, 21 Nov 2023 02:06:54 +0000 (02:06 +0000)
commitdc094f9c9613a2a8ed24ace1b5416170aa3a334b
tree71c099bac69b78f38581fbb29a74619213289bf6
parent195c88b202695e90b2ff41b3f1a03bc19685baa6
runtime: disable crash stack on Windows

Apparently, on Windows, throwing an exception on a non-system-
allocated crash stack causes EXCEPTION_STACK_OVERFLOW and hangs
the process (see issue #63938). Disable crash stack for now, which
gets us back the the behavior of Go 1.21.

Fixes #63938.

Change-Id: I4c090315b93b484e756b242f0de7a9e02f199261
Reviewed-on: https://go-review.googlesource.com/c/go/+/543996
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
src/runtime/crash_test.go
src/runtime/proc.go