You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pdl> random(10)->average(1) for (0..100)
#average doesn't take an argument, but at least ignores it.
pdl> random(10)->qsort(1) for (0..100)
Segmentation fault: 11
I've also gotten:
pdl> random(10)->qsort(1) for (0..100)
perl(88949,0x7fff76629300) malloc: *** error for object 0x7f918384b918: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
It doesn't happen every time, which is why I put the postfix for() on there. Sometimes I change the for() range and that makes the segfault happen.
I see this present in 2.006 as well.
Loaded PDL v2.006 (supports bad values)
pdl> random(10)->qsort(1) for (0..100)
pdl> random(10)->qsort(1) for (0..100)
pdl> random(10)->qsort(1) for (0..100)
pdl> random(10)->qsort(1) for (0..100)
pdl> random(10)->qsort(1) for (0..100)
pdl> random(10)->qsort(1) for (0..1000)
DUMPING 0x7ffe1bfc4720 datatype: 0
State: (503564880) DATAFLOW_F|NOMYDIMS|DONTTOUCHDATA|HDRCPY|TRACEDEBUG
Segmentation fault: 11
perldl -V attached for 2.00716.
The text was updated successfully, but these errors were encountered:
From https://sourceforge.net/p/pdl/bugs/379/
The text was updated successfully, but these errors were encountered: