whitekeyboard opened a new issue #1101:
URL: https://github.com/apache/dubbo-go/issues/1101


   ```
   panic: runtime error: invalid memory address or nil pointer dereference
   
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x1c pc=0xacbee0]
   
   goroutine 933 [running]:
   
   github.com/apache/dubbo-go/remoting/getty.(*gettyRPCClientPool).get(0x0, 
0x0, 0x0, 0x0)
   
            src/github.com/apache/dubbo-go/remoting/getty/pool.go:380 +0xa0
   
   
github.com/apache/dubbo-go/remoting/getty.(*gettyRPCClientPool).getGettyRpcClient(0x0,
 0xc000036900, 0x13, 0xc0001a65b0, 0x0, 0x0)
   
            src/github.com/apache/dubbo-go/remoting/getty/pool.go:365 +0x38
   
   
github.com/apache/dubbo-go/remoting/getty.(*Client).selectSession(0xc0004df1e0, 
0xc000036900, 0x13, 0xc0001a65b0, 0x11aff18, 0xc00041d110, 0x0, 0x0)
   
            src/github.com/apache/dubbo-go/remoting/getty/getty_client.go:212 
+0x4a
   
   
github.com/apache/dubbo-go/remoting/getty.(*Client).IsAvailable(0xc0004df1e0, 
0xc00062ede0)
   
            src/github.com/apache/dubbo-go/remoting/getty/getty_client.go:205 
+0x3c
   
   github.com/apache/dubbo-go/remoting.(*ExchangeClient).IsAvailable(...)
   
            src/github.com/apache/dubbo-go/remoting/exchange_client.go:175
   
   
github.com/apache/dubbo-go/protocol/dubbo.(*DubboInvoker).IsAvailable(0xc00040e140,
 0xc0002375a0)
   
            src/github.com/apache/dubbo-go/protocol/dubbo/dubbo_invoker.go:168 
+0x38
   
   
github.com/apache/dubbo-go/protocol/protocolwrapper.(*FilterInvoker).IsAvailable(0xc0003d53b0,
 0xc00062ede0)
   
            
src/github.com/apache/dubbo-go/protocol/protocolwrapper/protocol_filter_wrapper.go:115
 +0x34
   
   
github.com/apache/dubbo-go/cluster/cluster_impl.(*baseClusterInvoker).doSelectInvoker(0xc00040e800,
 0x11834a0, 0x18708d0, 0x11a5ac0, 0xc00038e370, 0xc000043980, 0x2, 0x2, 
0xc0002375a0, 0x1, ...)
   
            
src/github.com/apache/dubbo-go/cluster/cluster_impl/base_cluster_invoker.go:140 
+0x193
   
   
github.com/apache/dubbo-go/cluster/cluster_impl.(*baseClusterInvoker).doSelect(0xc00040e800,
 0x11834a0, 0x18708d0, 0x11a5ac0, 0xc00038e370, 0xc000043980, 0x2, 0x2, 
0xc0002375a0, 0x1, ...)
   
            
src/github.com/apache/dubbo-go/cluster/cluster_impl/base_cluster_invoker.go:115 
+0x239
   
   
github.com/apache/dubbo-go/cluster/cluster_impl.(*failoverClusterInvoker).Invoke(0xc00040e800,
 0x11997b8, 0xc0000a4000, 0x11a5ac0, 0xc00038e370, 0xc000237550, 0xc0000bf518)
   
            
src/github.com/apache/dubbo-go/cluster/cluster_impl/failover_cluster_invoker.go:80
 +0x3c5
   
   
github.com/apache/dubbo-go/common/proxy.(*Proxy).Implement.func1.1(0xc00062ec00,
 0x2, 0x2, 0xc00062ec00, 0xc00030c440, 0x1d)
   
            src/github.com/apache/dubbo-go/common/proxy/proxy.go:161 +0x542
   
            dubbo.(*GenericClientPool).Call(0x183d880, 0xc0001a23d8, 0x12, 0x0, 
0x0, 0xc0001919c0, 0x9, 0x103bbd5, 0xb, 0xc000236cf0, ...)
   ```
   
   崩溃的位置为:gettyRPCClientPool为nil导致。
   出现频率:偶现:
   版本:dubbo-go-v1.5.5
   初步定为了一下:此处应该是provider上线先时,事件处理流程,与call的处理流程,操作同一invokder导致的panic。


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to