You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the runtime's profiling handler is not functioning correctly for non-Go threads in programs built with -buildmode=c-archive (and presumably c-shared). The following program provides a demonstration: it should exit with status 0, but instead dies with SIGPROF.
$ go version
go version devel +94a4485 Tue Dec 6 22:33:48 2016 +0000 linux/amd64
$ $(go env CC) --version
clang version 3.8.0-2ubuntu3~trusty4 (tags/RELEASE_380/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
It appears that the runtime's profiling handler is not functioning correctly for non-Go threads in programs built with
-buildmode=c-archive
(and presumablyc-shared
). The following program provides a demonstration: it should exit with status 0, but instead dies withSIGPROF
.sigprof.go:
sigprof.c:
The text was updated successfully, but these errors were encountered: