-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
arm64 core, the regs command get the wrong SP after nil pointer dereference #3591
Comments
There was a change fixing a similar bug recently, #3559, did you try building delve from master? |
PS. clone the repository and run |
I have rebuild delve from the master. The problem still exists. |
I'm not sure what that command does anymore, try it with |
That command still works, because we try to add some log in the file. I will try with make build. |
We rebuild delve with |
dlv version
)?What version of Go are you using? (
go version
)?go version go1.20.10 linux/arm64
What operating system and processor architecture are you using?
When
dlv core demo core_demo_xx
,we expect to get the right SP for the coredump function.SP=0x4000192dc0 is printed for the function mod_map which contains nil pointer dereference.
The following is the inforamtion of the program. The inforamtion contain the SP for each frame stack.
Dlv get the wrong SP information for the function mod_map which contains nil pointer dereference.
Dlv get he wrong SP = 0x4000192db0. The right SP is 0x4000192dc0.
We guess the wrong SP is the root cuase of the problem that the print commands for input parameter and local variable is wrong.
The text was updated successfully, but these errors were encountered: