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

Segmentation fault

Open jackdeguest opened this issue 2 years ago • 2 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