[GRASS-dev] GRASS 7: v.in.ogr segfault

Hi,

I am importing the national boundaries of Italy as SHAPE file (UTM32) which has
been generated from two parts in QGIS (SHP merge tool).

GRASS 7.0.svn (patUTM32):/tmp/ddd > v.in.ogr
italy_limits_minambiente_full_UTM32_WGS84.shp
out=italy_limits_minambiente_full_UTM32_WGS84
Layer: italy_limits_minambiente_full_UTM32_WGS84
Counting polygons for 1 features...
Importing map 1 features...
100%
-----------------------------------------------------
Building topology for vector map
<italy_limits_minambiente_full_UTM32_WGS84_tmp@PERMANENT>...
Registering primitives...
4148 primitives registered
336414 vertices registered
Number of nodes: 4148
Number of primitives: 4148
Number of points: 0
Number of lines: 0
Number of boundaries: 4148
Number of centroids: 0
Number of areas: -
Number of isles: -
-----------------------------------------------------
WARNING: Cleaning polygons, result is not guaranteed!
-----------------------------------------------------
Break polygons:
100%
100%
-----------------------------------------------------
Remove duplicates:
100%
-----------------------------------------------------
Break boundaries:
100%
-----------------------------------------------------
Remove duplicates:
100%
-----------------------------------------------------
Clean boundaries at nodes:
Segmentation fault

in GDB:
....

-----------------------------------------------------
Clean boundaries at nodes:
  41%
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b0d52 in Vect_get_node_coor (map=0x7fffffff8e50,
num=1754, x=0x7fffffff8cc0, y=0x7fffffff8cb8, z=0x7fffffff8cb0)
    at level_two.c:228
228 *x = Node->x;

I can make the map available if desired.

Markus

Markus Neteler wrote:

Hi,

I am importing the national boundaries of Italy as SHAPE file (UTM32) which has
been generated from two parts in QGIS (SHP merge tool).

GRASS 7.0.svn (patUTM32):/tmp/ddd > v.in.ogr
italy_limits_minambiente_full_UTM32_WGS84.shp
out=italy_limits_minambiente_full_UTM32_WGS84

...

-----------------------------------------------------
Clean boundaries at nodes:
Segmentation fault

in GDB:
....

-----------------------------------------------------
Clean boundaries at nodes:
41%
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b0d52 in Vect_get_node_coor (map=0x7fffffff8e50,
num=1754, x=0x7fffffff8cc0, y=0x7fffffff8cb8, z=0x7fffffff8cb0)
at level_two.c:228
228 *x = Node->x;

I can make the map available if desired.

Yes please. I have an idea about what has happened but need the
problem map to make sure.

Markus M

Markus Neteler wrote:

Hi,

I am importing the national boundaries of Italy as SHAPE file (UTM32) which has
been generated from two parts in QGIS (SHP merge tool).

GRASS 7.0.svn (patUTM32):/tmp/ddd > v.in.ogr
italy_limits_minambiente_full_UTM32_WGS84.shp
out=italy_limits_minambiente_full_UTM32_WGS84

...

Clean boundaries at nodes:
Segmentation fault

fixed in trunk r43305 and devbr6 r43306

Markus M