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

Fix tracercontainer in flowexp_comp #6041

Merged
merged 2 commits into from
Feb 27, 2025
Merged

Fix tracercontainer in flowexp_comp #6041

merged 2 commits into from
Feb 27, 2025

Conversation

akva2
Copy link
Member

@akva2 akva2 commented Feb 27, 2025

I cannot explain this, but this fixes the problem.

For some reason, we get calls to tracerC_ where the eclState_ reference member is nullptr. By not holding this as a member this is avoided. I cannot figure out how tracerC_ gets in such a state.

instead pass TracerConfig reference to relevant member functions
@akva2
Copy link
Member Author

akva2 commented Feb 27, 2025

jenkins build this please

@GitPaean GitPaean requested a review from bska February 27, 2025 11:40
@GitPaean
Copy link
Member

Thanks for the fixing. With some efforts, we probably can find the problematic change to understand the issue, but with the limited resource, I am happy it gets fixed.

Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

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

Looks good and I'll merge into master.

The usual reason for reference data members to become invalid is if the containing type gets copied or moved, but I haven't traced all uses here.

@bska bska merged commit 04d86f7 into OPM:master Feb 27, 2025
1 check passed
@akva2
Copy link
Member Author

akva2 commented Feb 27, 2025

yeah i know, i disabled both copy and move ctor / assignment but non of them triggered.

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.

3 participants