runtime/cgo: GO->CGO->JNI->CGO->GO runtime.mallocgc failed in Mac amd64 #53969
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
1.We have a go program to start JVM through cgo, and invoke java object method.
2.The java program has some native method which implemented also by cgo code. Through
system.load
load the dynamic lib which build by go build -buildmode=c-shard.The main go program
The java program
The dynamic lib go program
What did you expect to see?
I want to see correct results.
What did you see instead?
The text was updated successfully, but these errors were encountered: