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

Segmentation fault #39

Open
jackdeguest opened this issue Jun 19, 2022 · 4 comments
Open

Segmentation fault #39

jackdeguest opened this issue Jun 19, 2022 · 4 comments

Comments

@jackdeguest
Copy link

On an Ubuntu 22.04.0 with perl v5.32 or v5.36, caching and re-using the Data::UUID object creates a segmentation fault.
I spent hours to find out where the segmentation fault came from.
I think it is important to highlight in the documentation to always create a new instance for each new UUID created.

@karenetheridge
Copy link

The object is meant to be reused. How were you caching it? Where was the segfault?

@jackdeguest
Copy link
Author

jackdeguest commented Jun 19, 2022

The object is meant to be reused. How were you caching it? Where was the segfault?

Actually, I now believe the issue stemmed from that the module object was cloned with Clone, and I do not think it cloned properly the Data::UUID object that was cached.

Correction on the above: the issue was elsewhere in my code.

@abrahamdsl
Copy link

@jackdeguest , was this resolved?

@jackdeguest
Copy link
Author

@jackdeguest , was this resolved?

Yes, as I mentioned 2 years ago. The root cause was elsewhere.

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

No branches or pull requests

3 participants