vipyxc-byte commented on issue #3153:
URL: https://github.com/apache/dubbo-go/issues/3153#issuecomment-3772435417

   我已复现,此次比之前多了几行日志。等我整理demo会说明调试方法。
   
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1047b1108]
   
   goroutine 271982 [running]:
   dubbo.apache.org/dubbo-go/v3/common.(*URL).GetParam(0x0, {0x105b4f87c, 0x5}, 
{0x0, 0x0})
        
/Users/yangzhen/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/common/url.go:608
 +0x38
   
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).toGroupInvokers.func1({0x105e3b060,
 0x14000ebb700}, {0x105fec1e0, 0x14001a03f20})
        
/Users/yangzhen/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:393
 +0xa0
   internal/sync.(*HashTrieMap[...]).iter(0x10626b3c0, 0x140012065a0, 
0x14001547b58)
        
/Users/yangzhen/dev/go/pkg/mod/golang.org/[email protected]/src/internal/sync/hashtriemap.go:512
 +0x1b4
   internal/sync.(*HashTrieMap[...]).Range(0x10626b3c0, 0x14001547b58)
        
/Users/yangzhen/dev/go/pkg/mod/golang.org/[email protected]/src/internal/sync/hashtriemap.go:495
 +0x84
   sync.(*Map).Range(0x14001b99f20, 0x14001547b58)
        
/Users/yangzhen/dev/go/pkg/mod/golang.org/[email protected]/src/sync/hashtriemap.go:115
 +0x3c
   
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).toGroupInvokers(0x1400075b8c0)
        
/Users/yangzhen/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:391
 +0x148
   
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).setNewInvokers(0x1400075b8c0)
        
/Users/yangzhen/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:340
 +0x24
   
dubbo.apache.org/dubbo-go/v3/registry/directory.(*RegistryDirectory).refreshInvokers(0x1400075b8c0,
 0x14001a0a2a0)
        
/Users/yangzhen/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(0x1400075b8c0,
 0x14001a0a2a0)
        
/Users/yangzhen/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(0x14000756ea0, 
0x14001d981c0, {0x106238250, 0x1400075b8c0})
        
/Users/yangzhen/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/yangzhen/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 271980
        
/Users/yangzhen/dev/go/pkg/mod/dubbo.apache.org/dubbo-go/[email protected]/registry/directory/directory.go:165
 +0x160


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

Reply via email to