Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the PDL-Graphics-PLplot CPAN distribution.

Report information
The Basics
Id: 32624
Status: new
Priority: 0/
Queue: PDL-Graphics-PLplot

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.30
Fixed in: (no value)



Subject: calling histogram without $nbins causes program abort
Download (untitled) / with headers
text/plain 434b
histogram doesn't check for a valid $nbins argument; if one forgets it is passed (as undef) to plhist, which (at least on my box) results in Show quoted text
perldl> $pl->histogram($energy)
*** glibc detected *** double free or corruption (out): 0x00000000020c2e30 *** Abort A croak() might be kinder to the calling environment (I'm not sure how the pdl shell handles this; hopefully somewhat gracefully). Or perhaps a default value? Thanks! Diab


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.