Go version
go version go1.24.1 linux/amd64
Output of go env
in your module/workspace:
➜ milvus-cdc git:(dev) go env
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
What did you do?
I recently upgraded my go version to 1.24.1, and I recently encountered several plugin loading errors. What's strange is that when I start the same image again, it doesn't report an error.
2025-04-30 03:37:17.967
fatal error: runtime: plugin has empty pluginpath
2025-04-30 03:37:17.969
2025-04-30 03:37:17.969
goroutine 537 gp=0xc00117efc0 m=9 mp=0xc000808008 [running]:
2025-04-30 03:37:17.969
runtime.throw({0x618d32f?, 0xc00168f7b0?})
2025-04-30 03:37:17.969
/usr/local/go/src/runtime/panic.go:1101 +0x48 fp=0xc00168f738 sp=0xc00168f708 pc=0x1f21d88
2025-04-30 03:37:17.969
plugin.lastmoduleinit()
2025-04-30 03:37:17.969
/usr/local/go/src/runtime/plugin.go:26 +0x8bd fp=0xc00168f820 sp=0xc00168f738 pc=0x1f2265d
2025-04-30 03:37:17.969
plugin.open({0xc000e1fe48, 0x13})
2025-04-30 03:37:17.969
/usr/local/go/src/plugin/plugin_dlopen.go:77 +0x40d fp=0xc00168fa90 sp=0xc00168f820 pc=0x4d6356d
2025-04-30 03:37:17.969
plugin.Open(...)
2025-04-30 03:37:17.969
/usr/local/go/src/plugin/plugin.go:84
What did you see happen?
Same as above.
What did you expect to see?
Plugin successfully loaded
Comment From: gabyhelp
Related Issues
- plugin: load plugin crash fatal error: runtime: no plugin module data #33072
- plugin: go plugin doesn't work on linux/arm64 #24940 (closed)
- runtime plugin.Open always crashed with unexpected signal SIGSEGV #32080 (closed)
- plugin: Open with cgo panics: runtime: no plugin module data #37286 (closed)
- plugin: plugin loading fails if the plugin itself imports the plugin package (even indirectly) #21969 (closed)
- plugin: failing to import "C" in plugin produces unintuitive runtime panic #18648 (closed)
- cmd/link: regression introduced with golang.org/cl/69370 on ppc64le #22250 (closed)
- plugin: loading a copy of an already loaded plugin panics #19004 (closed)
- plugin: loading plugin fails when dot in package path. #19534 (closed)
- plugin: random "unexpected fault address 0x0" error on invoking an exported function #19824 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: seankhliao
i think we'll need a reproducer.
Comment From: SimFG
This doesn't always happen, and I'm not sure if there are any prerequisites.
Comment From: gopherbot
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)