Open gopherbot opened 2 years ago
Found new dashboard test flakes for:
#!watchflakes
post <- pkg == "crypto/tls" && test == "TestVersion"
Changed to track boringcrypto pointer failures. I think they're over but I don't remember fixing them.
Found new dashboard test flakes for:
#!watchflakes
post <- builder ~ `boringcrypto` && `cgo argument has Go pointer to Go pointer`
Changed to track boringcrypto pointer failures. I think they're over but I don't remember fixing them.
@rsc We are started to seeing the cgo pointer
failures with boringcrypto
recently. Any plan to fix this issue?
panic: runtime error: cgo argument has Go pointer to unpinned Go pointer
goroutine 1 [running]:
solace.dev/go/messaging/internal/ccsmp.(*SolClientContext).SolClientSessionCreate.func1.1(0x7f76c6d08a68?, 0x30?, 0xc000600400?, 0xc000226de0?)
/go/src/example/vendor/solace.dev/go/messaging/internal/ccsmp/ccsmp_core.go:265
+0x51solace.dev/go/messaging/internal/ccsmp.(*SolClientContext).SolClientSessionCreate.func1()
/go/src/example/vendor/solace.dev/go/messaging/internal/ccsmp/ccsmp_core.go:265 +0x25
The internal library solace
uses a CGO function with //go:cgo_unsafe_args
directives. And this is causing the runtime error with boringcrypto
.
And this Unpinned
pointer runtime error only happens when we try to enable GOEXPERIMENT=boringcrypto
in the application.
Issue created automatically to collect these failures.
Example (log):
— watchflakes