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
Fix #6130 objmode cache segfault #6141
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch, great to see this fixed.
stuartarchibald
added
4 - Waiting on author
Waiting for author to respond to review
and removed
3 - Ready for Review
labels
Aug 20, 2020
Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
sklam
added
4 - Waiting on reviewer
Waiting for reviewer to respond to author
and removed
4 - Waiting on author
Waiting for author to respond to review
labels
Aug 20, 2020
eric-wieser
reviewed
Aug 21, 2020
eric-wieser
reviewed
Aug 21, 2020
stuartarchibald
added
4 - Waiting on author
Waiting for author to respond to review
and removed
4 - Waiting on reviewer
Waiting for reviewer to respond to author
labels
Aug 21, 2020
sklam
added
4 - Waiting on reviewer
Waiting for reviewer to respond to author
and removed
4 - Waiting on author
Waiting for author to respond to review
labels
Aug 24, 2020
stuartarchibald
added
4 - Waiting on author
Waiting for author to respond to review
and removed
4 - Waiting on reviewer
Waiting for reviewer to respond to author
labels
Aug 25, 2020
- changed to RuntimeError and fix error message - added suggested comment
sklam
added
4 - Waiting on reviewer
Waiting for reviewer to respond to author
and removed
4 - Waiting on author
Waiting for author to respond to review
labels
Aug 25, 2020
failing due to: #6168 |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
stuartarchibald
approved these changes
Aug 25, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes!
stuartarchibald
added
5 - Ready to merge
Review and testing done, is ready to merge
4 - Waiting on CI
Review etc done, waiting for CI to finish
and removed
4 - Waiting on reviewer
Waiting for reviewer to respond to author
5 - Ready to merge
Review and testing done, is ready to merge
labels
Aug 25, 2020
sklam
added
5 - Ready to merge
Review and testing done, is ready to merge
and removed
4 - Waiting on CI
Review etc done, waiting for CI to finish
labels
Aug 25, 2020
CI passed, marked for merge |
21 tasks
stuartarchibald
pushed a commit
to stuartarchibald/numba
that referenced
this pull request
Aug 26, 2020
Fix numba#6130 objmode cache segfault
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #6130
Thanks @juanjgalvez and @stuartarchibald for finding out the source of the problem on the lost
env
.The patch makes sure the
CompileResult
acquires a reference to any referencedEnvironment
objects. Changes tonumba/core/compiler.py
is the actual fix. The other non-test changes are for better error handling when an NULL pointer is encountered.