vipyxc-byte commented on issue #2981:
URL: https://github.com/apache/dubbo-go/issues/2981#issuecomment-3701780148
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102a668f8]
goroutine 3809079 [running]:
dubbo.apache.org/dubbo-go/v3/common.(*URL).GetParam(0x0, {0x1045bd638, 0xb},
{0x0, 0x0})
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/common/url.go:608
+0x38
dubbo.apache.org/dubbo-go/v3/cluster/router/tag.(*PriorityRouter).Notify(0x1414fe18c60,
{0x140b6945170, 0x1, 0x1})
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/cluster/router/tag/router.go:80
+0x84
dubbo.apache.org/dubbo-go/v3/cluster/router/chain.(*RouterChain).SetInvokers(0x140f6b38720,
{0x140b6945170, 0x1, 0x1})
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/cluster/router/chain/chain.go:95
+0x1a4
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).setNewInvokers(0x140b0e65d90)
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:344
+0x148
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).refreshInvokers(0x140b0e65d90,
0x1416408ea80)
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:241
+0x1b4
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).Notify(0x140b0e65d90,
0x1416408ea80)
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:219
+0x44
dubbo.apache.org/dubbo-go/v3/registry.(*BaseRegistry).Subscribe(0x14000ab90e0,
0x140b14d61c0, {0x104f49fd0, 0x140b0e65d90})
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/base_registry.go:354
+0x44c
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).Subscribe.func1()
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:167
+0x8c
created by
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).Subscribe
in goroutine 1640288
/Users/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:165
+0x160
@Alanxtl
升级了3.3.1,开100个协程,每个协程都for循环调用服务,同时代码中定时调用ReferenceConfig.GetInvoker().Destroy(),使代码可以重新构建ReferenceConfig。运行一段时间出现上述问题。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]