Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix map nil point #3884

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

buaaladeng
Copy link

goversion: 1.22
dlv version: 1.24.0

runtime.panicmem (0x4516f7)
/opt/tiger/go/go/src/runtime/panic.go:261
runtime.sigpanic (0x4516c5)
/opt/tiger/go/go/src/runtime/signal_unix.go:861
github.com/go-delve/delve/pkg/proc.*maplteratorClassic).nextBucket (0x7d073b)
/home/xxx/workspace/go/src/code.byted.org/inf/delve/pkg/proc/mapiter.go:237
github.com/go-delve/delve/pkg/proc.(*maplteratorClassic).next
/home/xxx/workspace/go/src/code.byted.org/inf/delve/pkg/proc/mapiter.go:248
github.com/go-delve/delve/pkg/proc.(*Variable).loadMap (0x8038f1)
/home/xxx/workspace/go/src/code.byted.org/inf/delve/pkg/proc/variables.go:2030
github.com/go-delve/delve/pkg/proc.*Variable).loadValuelnternal (0x7ff6fe)
/home/xxx/workspace/go/src/code.byted.org/inf/delve/pkg/proc/variables.go:1382
github.com/go-delve/delve/pkg/proc.(*Variable).loadValuelnternal (0x7fff2d)
/home/xxx/workspace/go/src/code.byted.org/inf/delve/pkg/proc/variables.go:1441

@aarzilli
Copy link
Member

This error doesn't make sense to me. The only possible way I can see for it.overflow to be nil is if the DWARF info is different from what the go compiler produces. Just returning false there doesn't fix the problem, it just masks it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants