Opened 6 years ago

Closed 6 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

Description

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 Changed 6 years ago by mlennert

Component: DefaultAddons

comment:2 Changed 6 years ago by mmetz

Please try r58842.

comment:3 in reply to:  2 Changed 6 years ago by mlennert

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.