pkg/profile: CPU profiler crashes CGO application #31758
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputDeps
What did you do?
I have a little application that uses OpenSSL via CGO. It works good in default mode, but crashes with
SIGSEGV
when I enable CPU profiler (from https://github.com/pkg/profile).In order to reproduce, please follow the README from this repo with minimal working example: https://github.com/vitalyisaev2/pprof_cgo_issue
What did you expect to see?
Successful termination of application with
cpu.pprof
file as a result in the working dir.What did you see instead?
Segmentation fault.
The text was updated successfully, but these errors were encountered: