Skip Menu |

This queue is for tickets about the Data-Pond CPAN distribution.

Report information
The Basics
Id: 61164
Status: resolved
Priority: 0/
Queue: Data-Pond

People
Owner: Nobody in particular
Requestors: peter [...] makholm.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.002
Fixed in: (no value)



Subject: Segmentation fault when serializing cyclic data structures
When trying to serialize a cyclic data structure Data::Pond make perl die with an segmentation fault: makholm@makholm:~$ perl -MData::Pond -E '$a = { }; $a->{a} = $a; Data::Pond::pond_write_datum($a)' Segmentation fault makholm@makholm:~$ While it might be quite acceptable for Data::Pond not to support cyclic data structures, it should at least fail more graceful.
Subject: Re: [rt.cpan.org #61164] Segmentation fault when serializing cyclic data structures
Date: Wed, 8 Sep 2010 10:41:33 +0100
To: Peter Makholm via RT <bug-Data-Pond [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Peter Makholm via RT wrote: Show quoted text
>When trying to serialize a cyclic data structure Data::Pond make perl die >with an segmentation fault:
Interesting. I'd expect it to run out of memory, which normally doesn't segv, but isn't otherwise any more graceful (you can't trap it). D:P is, indeed, absolutely not intended for cyclic data structures. I'll look into this, but I'm afraid it's a low priority for me. -zefram
Documentation note added in Data-Pond-0.004.