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

Gracefully handle a dropped span on exit #765

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

SammyK
Copy link
Contributor

@SammyK SammyK commented Feb 21, 2020

Description

It is possible to cause a segmentation fault if a span is dropped from an instrumented call that uses exit. This PR ensures that this case is handled gracefully.

No customers have reported running into this issue.

Readiness checklist

  • (only for Members) Changelog has been added to the appropriate release draft. Create one if necessary.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the appropriate release draft. For community contributors the reviewer is in charge of this task.

@SammyK SammyK added 🐛 bug Something isn't working c-extension Apply this label to issues and prs related to the C-extension labels Feb 21, 2020
@SammyK SammyK added this to the 0.41.0 milestone Feb 21, 2020
@SammyK SammyK merged commit 4fe230c into master Feb 21, 2020
@SammyK SammyK deleted the sammyk/fix-dropped-span-on-exit branch February 21, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working c-extension Apply this label to issues and prs related to the C-extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants