RRDs::fetch reads data from an RRD file and returns it as array reference. The format is exactly that of a two-dimensional pdl. However, when the data is passed to the pdl constructor, a segmentation fault occurs in pdl_avref.
The attached sample code reproduces the issue. You will need the RRDs module and rrdtool for it to run (install librrds-perl on debian).
I can reproduce this both with the 2.4.5 package from Ubuntu and with the 2.4.7 CPAN module.
Log in to post a comment.