Opened 10 years ago

Closed 10 years ago

#2181 closed defect (fixed)

v.centerpoint: Error in `v.centerpoint': realloc(): invalid next size

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Addons Version: svn-trunk
Keywords: v.centerpoint realloc Cc:
CPU: Unspecified Platform: Linux


With a freshly compiled grass_trunk and freshly checked out v.centerpoint, in the NC dataset, I get the following error when I run

v.centerpoint --overwrite input=boundary_county@PERMANENT output=bc_centroids acenter=median
Error in `v.centerpoint': realloc(): invalid next size: 0x000000000159aad0

and the same with bmedian:

v.centerpoint --overwrite input=boundary_county@PERMANENT output=bc_centroids acenter=bmedian
Error in `v.centerpoint': realloc(): invalid next size: 0x00000000023dbad0

I do not get the prompt back in the terminal and the v.centerpoint process is shown as 'S' in top. I have to Ctrl-C to get the prompt back.

Change History (3)

comment:1 by mlennert, 10 years ago

Component: DefaultAddons

comment:2 by mmetz, 10 years ago

Please try r58842.

in reply to:  2 comment:3 by mlennert, 10 years ago

Resolution: fixed
Status: newclosed

Replying to mmetz:

Please try r58842.

Fixes this bug, thanks ! But introduces the segfault reported in #2183. Closing this bug and leaving #2183 open for that issue.

Note: See TracTickets for help on using tickets.