Skip to content

proc: fix sigpanic in openOnRead - #4018

Merged
derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:telemetry-redirectfix
Jun 5, 2025
Merged

derekparker merged 1 commit into
go-delve:masterfrom
aarzilli:telemetry-redirectfix

Conversation

@aarzilli

Copy link
Copy Markdown
Member

If the openOnRead io.Reader is never read from the file descriptor is
never opened and it therefore we shouldn't try to close it.

Fixes #4009

If the openOnRead io.Reader is never read from the file descriptor is
never opened and it therefore we shouldn't try to close it.

Fixes go-delve#4009

@derekparker derekparker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker
derekparker merged commit 55a4066 into go-delve:master Jun 5, 2025
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.

service/dap: telemetry report: nil pointer exception when using DAP output redirects

2 participants