plugin: Open with cgo panics: runtime: no plugin module data #37286
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
OutputWhat did you do?
Using cgo, I run go code from my C++ code, and the go code loads a plugin.
This results in a panic.
cbridge.go:
plugin.go:
In my c++ code:
Running cbridge.go directly works, so it's code is fine.
Running it through the C++ code using cgo results in this crash:
The text was updated successfully, but these errors were encountered: