[GRASS5] v.hull realloc error

Markus Neteler neteler at itc.it
Mon Nov 14 08:30:31 EST 2005


Markus Neteler wrote:

>Hi,
>
>I discovered a nice
>  *** glibc detected *** realloc(): invalid next size: 0x08d498b0 ***
>error in v.hull.
>
>v.random out=three n=3
>v.hull triangle out=hull
>WARNING: Vector used instead of sites.
>*** glibc detected *** realloc(): invalid next size: 0x09fd7ca0 ***
>Aborted
>
>The offending line is vector/v.hull/main.c, line 117:
>   *hull = (int*) G_realloc((char*)(*hull), (loPoints + upPoints) * sizeof(int));
>
>As I am not very familiar with G_realloc(), I am posting here...
>
>  
>

Fixed by Brad,

thanks

 Markus




More information about the grass-dev mailing list