]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: unskip TestG0StackOverflow
authorCherry Mui <cherryyz@google.com>
Mon, 28 Aug 2023 18:59:13 +0000 (14:59 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 8 Sep 2023 19:14:29 +0000 (19:14 +0000)
commitdfbf809f2af753db69537a9431d6419142dfe80b
treeff3a784c54cf2a3fa16e8a2c9ac893ab5962996f
parent5d9e0be159f46e6e98313eb66eb3355116c8bb26
runtime: unskip TestG0StackOverflow

The stack bounds from pthread are not always accurate, and could
cause seg fault if we run out of the actual stack space before
reaching the bounds. Here we use an artificially small stack bounds
to check overflow without actually running out of the system stack.

Change-Id: I8067c5e1297307103b315d9d0c60120293b57aab
Reviewed-on: https://go-review.googlesource.com/c/go/+/523695
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/crash_test.go
src/runtime/export_test.go