Data-UUID icon indicating copy to clipboard operation
Data-UUID copied to clipboard

Segmentation fault

Open jackdeguest opened this issue 3 years ago • 4 comments

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.

jackdeguest avatar Jun 19 '22 05:06 jackdeguest

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

karenetheridge avatar Jun 19 '22 06:06 karenetheridge

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.

jackdeguest avatar Jun 19 '22 08:06 jackdeguest

@jackdeguest , was this resolved?

abrahamdsl avatar Sep 29 '24 10:09 abrahamdsl

@jackdeguest , was this resolved?

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

jackdeguest avatar Sep 29 '24 11:09 jackdeguest