in reply to Re: perl Segmentation fault (with Storable?)
in thread perl Segmentation fault (with Storable?)

Any segmentation fault is a bug
Not always. It is possible to get segmentation faults by exceeding the maximum memory in perl.

In theory this could also happen with a bad Storable file, i.e. if some wrong length parameter causes memory overflow.

Addendum: while this is true for retrieve, a segfault should never happen with store, as in the code of the poster.

  • Comment on Re^2: perl Segmentation fault (with Storable?)