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:] wrapper functions and Rcpp objects going out of scope. #706

Open
msupernaw opened this issue Dec 17, 2024 · 0 comments
Open

[Bug:] wrapper functions and Rcpp objects going out of scope. #706

msupernaw opened this issue Dec 17, 2024 · 0 comments
Labels
kind: bug Something isn't working status: triage_needed This is not approved for this milestone, do not work on it yet

Comments

@msupernaw
Copy link
Contributor

Describe the bug

When Rcpp objects are created from fit_fims, they go out of scope and are deleted after the call. Their pointers remain in FIMSRcppInterfaceBase::fims_interface_objects, causing a segfault when the finalize routine is called.

Describe how to reproduce the bug

call finalize after fit_fims

Screenshots

No response

Which OS are you seeing the problem on?

Linux

Which browser are you seeing the problem on?

No response

Which version of FIMS are you seeing the problem on?

No response

Additional context

No response

@msupernaw msupernaw added kind: bug Something isn't working status: triage_needed This is not approved for this milestone, do not work on it yet labels Dec 17, 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 status: triage_needed This is not approved for this milestone, do not work on it yet
Projects
None yet
Development

No branches or pull requests

1 participant