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

Don't panic in threads if there is no info for pc #10

Closed
wants to merge 1 commit into from

Conversation

ebfe
Copy link
Contributor

@ebfe ebfe commented Nov 12, 2014

threads currently panics in proctl.ThreadContext.PrintInfo when PCToLine
can't find any info for the current pc.

$ ./dlv -run
Type 'help' for list of commands.
dlv> threads
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0x47f00b]

goroutine 1 [running, locked to thread]:
github.com/derekparker/delve/proctl.(*ThreadContext).PrintInfo(0xc20800a5a0, 0x0, 0x0)
        src/github.com/derekparker/delve/proctl/threads_linux_amd64.go:59 +0x29b
[...]

@derekparker
Copy link
Member

Merged, thanks!

nclifton pushed a commit to nclifton/delve that referenced this pull request Feb 24, 2021
* [#175714387] Initial SMS Service

* Add the sms to the db and return it via the api

* Added rabbit to sms

* Use SMS struct record for insert and check message size and for non GSM

* Seperate the db code from the service function

* Use utildb

* [#175714387] Initial SMS Service

* Ok we are finally sending DLRS to inbound

* Ported over webhook service and worker from sendsei. Moved to using
older lib/rabbit

* Fixed the webhook modd
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