alan2016llg opened a new issue, #2650:
URL: https://github.com/apache/dubbo-go/issues/2650

   ### Environment
   
   <!-- 
   - Server: Dubbo-go, v3.0.5
   - Client: Dubbo-go, v3.0.5
   - Protocol: Triple
   - Registry: Nacos, v2.0.0
   -->
   
   - Server: java-dubbo
   - Client: Dubbo-go, v3.1.1-rc
   - Protocol: dubbo
   - Registry: zk
   
   ### Issue description
   应用挂了,查询docker最后日志,有一个panic出现,日志如下
   <!-- Here is a brief description about the issue. -->
   
   ### Logs
   
   <details><summary>Click me to check logs</summary>
   
   ```
   2024-04-02 10:25:39     INFO    getty/listener.go:90    session{session 
session-closed, Read Bytes: 21708, Write Bytes: 1248, Read Pkgs: 4, Write Pkgs: 
4} is closing......
   2024-04-02 10:25:39     INFO    getty/pool.go:221       after remove 
session{session session-closed, Read Bytes: 21708, Write Bytes: 1248, Read 
Pkgs: 4, Write Pkgs: 4}, left session number:0
   2024-04-02 10:25:39     WARN    dubbo/dubbo_protocol.go:94      can't dial 
the server: 192.168.50.49:17624
   2024-04-02 10:25:39     WARN    dubbo/dubbo_protocol.go:94      can't dial 
the server: 192.168.50.49:17624
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x166ded4]
   
   goroutine 132598 [running]:
   
dubbo.apache.org/dubbo-go/v3/metadata/service/local.(*MetadataServiceProxy).GetMetadataInfo(0xc0018c4320,
 {0xc0018f4460?, 0xc00049c0a0?})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/metadata/service/local/service_proxy.go:183
 +0x394
   
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.GetMetadataInfo({0xc001d47b90?,
 0x1e09060?}, {0x27803a0, 0xc00049c0a0}, {0xc0018f4460, 0x20})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/registry/servicediscovery/service_instances_changed_listener_impl.go:257
 +0x2a5
   
dubbo.apache.org/dubbo-go/v3/registry/servicediscovery.(*ServiceInstancesChangedListenerImpl).OnEvent(0xc001948100,
 {0x27671c0?, 0xc001211db0})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/registry/servicediscovery/service_instances_changed_listener_impl.go:125
 +0x8bf
   
dubbo.apache.org/dubbo-go/v3/registry/zookeeper.(*zookeeperServiceDiscovery).DataChange(0xc0004a39d0,
 {{0xc003e0b9c0, 0x38}, 0x0, {0xc0014ca700, 0x30b}})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/registry/zookeeper/service_discovery.go:282
 +0x303
   
dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).listenDirEvent(0xc0024aae10,
 0x0, {0xc000484660, 0x24}, {0x27491c0, 0xc0004a39d0}, {0x0, 0x0})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/remoting/zookeeper/listener.go:406
 +0xb7a
   
dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent.func1({0xc000484660,
 0x24}, {0x27491c0?, 0xc0004a39d0?})
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/remoting/zookeeper/listener.go:480
 +0xb1
   created by 
dubbo.apache.org/dubbo-go/v3/remoting/zookeeper.(*ZkEventListener).ListenServiceEvent
 in goroutine 132645
           
/home/zmn/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.1.1-rc1/remoting/zookeeper/listener.go:475
 +0x17c
   ```
   
   </details>
   


-- 
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: notifications-unsubscr...@dubbo.apache.org.apache.org

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


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

Reply via email to