Skip to content

interpreter/go: fix referencing mmap area after unload#561

Merged
fabled merged 1 commit intoopen-telemetry:mainfrom
fabled:fix-gosym-panic
Jun 27, 2025
Merged

interpreter/go: fix referencing mmap area after unload#561
fabled merged 1 commit intoopen-telemetry:mainfrom
fabled:fix-gosym-panic

Conversation

@fabled
Copy link
Copy Markdown
Contributor

@fabled fabled commented Jun 27, 2025

The goData Unload should not releace the pclntab until all goInstances are Detached. Otherwise a Symbolize call can be done with the pclntab released.

Additionally, intern the strings from pclntab lookups using unique to not leak mmapped data referencing string outside this module.

fixes #557

The goData Unload should not releace the pclntab until all
goInstances are Detached. Otherwise a Symbolize call can be
done with the pclntab released.

Additionally, intern the strings from pclntab lookups using
unique to not leak mmapped data referencing string outside
this module.

fixes open-telemetry#557
@fabled fabled requested review from a team as code owners June 27, 2025 12:58
Copy link
Copy Markdown
Member

@florianl florianl left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@fabled fabled merged commit 6a37c4d into open-telemetry:main Jun 27, 2025
25 checks passed
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.

panic in Go symbolization path

3 participants