plugin: non-deterministic crash on darwin #17836
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +e017802 Sun Nov 6 20:11:48 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I'm writing generator that wraps plugin with a nice API and getting non-deterministic segmentation faults when I ran it.
Steps to reproduce:
Build
plugin.go
: https://gist.github.com/wendigo/30147b7009dc42fc3753aa9d2312fbecHaving plugin.so run
host.go
(generated): https://gist.github.com/wendigo/ac338878b5bb327298b4678584846eaeWhat did you expect to see?
Once in a while running
host.go
ends as expected:What did you see instead?
Once in a while running
host.go
ends with a panic:I've tried to run with
GOGC=off
- still crashes.The text was updated successfully, but these errors were encountered: