[GRASS5] v.hull realloc error

Markus Neteler neteler at itc.it
Tue Nov 8 10:53:58 EST 2005


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

Markus




More information about the grass-dev mailing list