This might be particular to Windows or to ActiveState's Perl. On my
64-bit Red Hat Linux machine this works just fine, for more than 10^5
iterations.
Derek
Andreas Michalowski wrote:
> Hi!
>
> It seems that there is a memory bug in "convolve". On two different
> computers the short program
>
> use PDL;
> use PDL::ImageND;
> srand();
> for ($i = 0; $i<100; $i++)
> {
> print "Iteration $i\n";
> $a = random(200);
> $b = exp(-rvals(200)**2);
> $b = kernctr($a,$b);
> $c = convolve($a,$b);
> }
>
> reproducible leads to a computer crash after some (<10) iterations.
> Sometimes I got the error
>
> PP INTERNAL ERROR! PLEASE MAKE A BUG REPORT
> Free to wrong pool 15d3f78 not 15d3f01.
>
> I'am working on a windows machines (ActivePerl) with PDL 2.4.3 and 2.4.4
> installed. It seems that there is some problem with the memory access!?
>
> Does this program lead also to errors on your computers?
>
> Thank you in advance,
>
> Andreas
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl