You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/11/18 07:32:55 UTC

[GitHub] [dubbo-go] wenxuwan opened a new pull request #882: fix lock panic

wenxuwan opened a new pull request #882:
URL: https://github.com/apache/dubbo-go/pull/882


   try to fix the lock panic. 
   
   goroutine 3284 [running]:
   sync.(*Mutex).Lock(...)
   	/usr/local/go/src/sync/mutex.go:74
   github.com/apache/dubbo-go/remoting/zookeeper.(*ZookeeperClient).RegisterTemp(0x0, 0x0, 0x0, 0x0, 0x0, 0x39, 0xc030b46300, 0xc0, 0xc0)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/remoting/zookeeper/client.go:455 +0x114
   github.com/apache/dubbo-go/registry/zookeeper.(*zkRegistry).registerTempZookeeperNode(0xc02fea7050, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/registry/zookeeper/registry.go:176 +0x387
   github.com/apache/dubbo-go/registry/zookeeper.(*zkRegistry).DoRegister(0xc02fea7050, 0x0, 0x0, 0x0, 0x0, 0x3, 0xffffffffffffffff)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/registry/zookeeper/registry.go:133 +0x53
   github.com/apache/dubbo-go/registry.(*BaseRegistry).register(0xc02fea7050, 0xd8a023, 0x5, 0xd889fe, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/registry/base_registry.go:220 +0x434
   github.com/apache/dubbo-go/registry.(*BaseRegistry).Register(0xc02fea7050, 0xd8a023, 0x5, 0xd889fe, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/registry/base_registry.go:143 +0x1d0
   github.com/apache/dubbo-go/registry/protocol.(*registryProtocol).Refer(0xc0004d9540, 0xc0309b08c0, 0x8, 0xc0003f2600, 0x5b, 0xc0309b08cb, 0xc, 0xc0309b08d8, 0x4, 0x0, ...)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/registry/protocol/protocol.go:122 +0x412
   github.com/apache/dubbo-go/config.(*ReferenceConfig).Refer(0xc00cb83e08, 0xc6aa80, 0xc0309be3a0)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/config/reference_config.go:134 +0xb69
   github.com/apache/dubbo-go/config.(*ReferenceConfig).GenericLoad(0xc00cb83e08, 0xc0309ae2c0, 0x39)
   	/home/docker/go/pkg/mod/github.com/wenxuwan/dubbo-go@v1.4.2-0.20201117104708-2e3dcf6cc4cd/config/reference_config.go:228 +0x113
   gitlab.com/TuyaBE/highway-proxy/protocol/dubbo.(*DubboClientStu).Create(0x14b2ca0, 0xc0309ae2c0, 0x39, 0x0, 0x0, 0x0)
   	/home/docker/highway-proxy/protocol/dubbo/dubbo.go:88 +0x286
   gitlab.com/TuyaBE/highway-proxy/protocol/dubbo.(*DubboClientStu).initInterface(0x14b2ca0, 0xc0309ae2c0, 0x39, 0x0, 0x0)
   	/home/docker/highway-proxy/protocol/dubbo/init.go:36 +0x198
   created by gitlab.com/TuyaBE/highway-proxy/protocol/dubbo.(*DubboClientStu).loadProviderInterface
   	/home/docker/highway-proxy/protocol/dubbo/init.go:51 +0x34f


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] wenxuwan closed pull request #882: fix lock panic

Posted by GitBox <gi...@apache.org>.
wenxuwan closed pull request #882:
URL: https://github.com/apache/dubbo-go/pull/882


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org