Skip Menu |

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
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