I figured out one thing.
The dimension of $c_cat becomes [3x0] which should not happen.
I guess this was the reason of the problem.

On Thu, Feb 19, 2009 at 9:59 AM, InSuk Joung <[email protected]> wrote:

> Hi,
> I am running a pdl code but it keeps crashing.  I guess there could a
> memory leak somewhere.  For your information, I don't have any C routine.
>
> I tried to spot where I get the error.
> It was this line,
>
> my $distance = ( ( $c_dstrand - $c_cat->dummy(1) )**2
> )->sumover->minimum->sqrt;
>
> $c_dstrand and $c_cat are [3xn] piddles.  This line is in a for loop.  The
> crash occur after several loops at that point.
>
> The error message is:
>
> *** glibc detected *** free(): invalid next size (fast): 0x0000000001164730
> ***
> Abort (core dumped)
>
> --
> Best,
> In-Suk Joung
>



-- 
Best,
In-Suk Joung
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to