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

[Bug:] CreateTMBModel() segfaults with new version of Rcpp (1.0.13) #686

Closed
ChristineStawitz-NOAA opened this issue Nov 22, 2024 · 4 comments
Labels
kind: bug Something isn't working theme: code cleanup
Milestone

Comments

@ChristineStawitz-NOAA
Copy link
Contributor

Describe the bug

I tried re-running @Cole-Monnahan-NOAA 's GOA pollock case study on FIMS' main branch and I get a segfault when running CreateTMBModel(). @Andrea-Havron-NOAA discovered Rcpp version 1.0.13 made a change that broke some FIMS code, and I confirmed I can run the case study with Rcpp version 1.0.12. Andrea put some fixes in dev to work with the new version but we might need to hotfix it in main.

Describe how to reproduce the bug

Run https://noaa-fims.github.io/case-studies/content/AFSC-GOA-pollock.html code

Screenshots

No response

Which OS are you seeing the problem on?

Windows, Linux

Which browser are you seeing the problem on?

Microsoft Edge

Which version of FIMS are you seeing the problem on?

f0d4e76

Additional context

No response

@ChristineStawitz-NOAA ChristineStawitz-NOAA added kind: bug Something isn't working status: triage_needed This is not approved for this milestone, do not work on it yet labels Nov 22, 2024
@kellijohnson-NOAA
Copy link
Contributor

Thanks @ChristineStawitz-NOAA for making this issue. I am wondering if we need a hot fix given that we are going to have a release in ~30 days? Seems like yes, is probably the answer for that. And, second we need to figure out why you had to find this out manually rather than a GitHub action telling us that it was broken. I am guessing that the case studies are not on a schedule to be re-ran on a regular basis. So, that should be fixed as well.

@msupernaw
Copy link
Contributor

msupernaw commented Nov 26, 2024 via email

@Andrea-Havron-NOAA
Copy link
Collaborator

Thanks @ChristineStawitz-NOAA for making this issue. I am wondering if we need a hot fix given that we are going to have a release in ~30 days? Seems like yes, is probably the answer for that. And, second we need to figure out why you had to find this out manually rather than a GitHub action telling us that it was broken. I am guessing that the case studies are not on a schedule to be re-ran on a regular basis. So, that should be fixed as well.

I think the last time GHA ran on main was with Rcpp version 1.0.12. It does look like GHA is running 1.0.13-1 now and we're passing tests, so maybe it's not a problem with all the new changes?

@kellijohnson-NOAA
Copy link
Contributor

I have decided to not make a fix to main because there are other changes in main that do not align such as, i.e., that were added after the last release (December 2023) so a fix would not be just the hot fix, instead it would be M1 + changes up to mid 2024 + fix, which leads to a messy pattern. We have implemented a more refined method since the last release of not putting changes into main so if this happens again then we would be able to do a hot fix. Additionally, we are going to implement more CI checks of main and the case studies even if pushes are not going to be made in M2 as part of #662. So, I am going to close this issue.

@kellijohnson-NOAA kellijohnson-NOAA added theme: code cleanup and removed status: triage_needed This is not approved for this milestone, do not work on it yet labels Dec 6, 2024
@kellijohnson-NOAA kellijohnson-NOAA added this to the Q2 milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working theme: code cleanup
Projects
None yet
Development

No branches or pull requests

4 participants