[GRASSLIST:5289] segmentation fault with v.overlay

Hi, I am trying to overlay to vectorial (area) maps, mapa1 and mapa2 but
without success:
# v.db.connect -p mapa1
Vector map <mapa1> is connected by:
field <1> table <mapa1> in database
</home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
driver <dbf> with
key <cat>
# v.db.connect -p mapa2
Vector map <mapa2> is connected by:
field <1> table <mapa2> in database
</home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
driver <dbf> with
key <cat>

BUT:

# v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
-----------------------------------------------------------------------------
Writing attributes ...
Copying ainput lines ... 100%
-----------------------------------------------------------------------------
Copying binput lines ... 100%
-----------------------------------------------------------------------------
Buiding partial topology ...
-----------------------------------------------------------------------------
Breaking lines ...
Intersections: 6427
-----------------------------------------------------------------------------
Removing duplicates ...
Duplicates: 30
-----------------------------------------------------------------------------
Cleaning boundaries at nodes ...
Modifications: 0
-----------------------------------------------------------------------------
Attaching islands ...
Building topology ...
Building areas: 100%
1869 areas built
986 isles built
Attaching islands: 100%
Topology was built.
Number of nodes : 8771
Number of primitives: 11422
Number of points : 0
Number of lines : 0
Number of boundaries: 11422
Number of centroids : 0
Number of areas : 1869
Number of isles : 986
Number of areas without centroid : 1869
-----------------------------------------------------------------------------
Querying input 'mapa1@pred_ppinea' ... Segmentation fault.

Any ideas?

Many thanks

First try to update GRASS, your version is almost 2 months old.

Radim

Marta Benito wrote:

Hi, I am trying to overlay to vectorial (area) maps, mapa1 and mapa2 but
without success: # v.db.connect -p mapa1
Vector map <mapa1> is connected by:
field <1> table <mapa1> in database
</home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
driver <dbf> with
key <cat>
# v.db.connect -p mapa2
Vector map <mapa2> is connected by:
field <1> table <mapa2> in database
</home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
driver <dbf> with
key <cat>

BUT:

# v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
-----------------------------------------------------------------------------
Writing attributes ...
Copying ainput lines ... 100%
-----------------------------------------------------------------------------
Copying binput lines ... 100%
-----------------------------------------------------------------------------
Buiding partial topology ...
-----------------------------------------------------------------------------
Breaking lines ...
Intersections: 6427
-----------------------------------------------------------------------------
Removing duplicates ...
Duplicates: 30
-----------------------------------------------------------------------------
Cleaning boundaries at nodes ...
Modifications: 0
-----------------------------------------------------------------------------
Attaching islands ...
Building topology ...
Building areas: 100%
1869 areas built
986 isles built
Attaching islands: 100%
Topology was built.
Number of nodes : 8771
Number of primitives: 11422
Number of points : 0
Number of lines : 0
Number of boundaries: 11422
Number of centroids : 0
Number of areas : 1869
Number of isles : 986
Number of areas without centroid : 1869
-----------------------------------------------------------------------------
Querying input 'mapa1@pred_ppinea' ... Segmentation fault.

Any ideas?

Many thanks

I have update GRASS, and the problem is still appearing, without writing
anything :

v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
Segmentation fault

thank you

El mar, 11-01-2005 a las 17:39, Radim Blazek escribió:

First try to update GRASS, your version is almost 2 months old.

Radim

Marta Benito wrote:
> Hi, I am trying to overlay to vectorial (area) maps, mapa1 and mapa2 but
> without success:
> # v.db.connect -p mapa1
> Vector map <mapa1> is connected by:
> field <1> table <mapa1> in database
> </home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
> driver <dbf> with
> key <cat>
> # v.db.connect -p mapa2
> Vector map <mapa2> is connected by:
> field <1> table <mapa2> in database
> </home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
> driver <dbf> with
> key <cat>
>
> BUT:
>
> # v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
> -----------------------------------------------------------------------------
> Writing attributes ...
> Copying ainput lines ... 100%
> -----------------------------------------------------------------------------
> Copying binput lines ... 100%
> -----------------------------------------------------------------------------
> Buiding partial topology ...
> -----------------------------------------------------------------------------
> Breaking lines ...
> Intersections: 6427
> -----------------------------------------------------------------------------
> Removing duplicates ...
> Duplicates: 30
> -----------------------------------------------------------------------------
> Cleaning boundaries at nodes ...
> Modifications: 0
> -----------------------------------------------------------------------------
> Attaching islands ...
> Building topology ...
> Building areas: 100%
> 1869 areas built
> 986 isles built
> Attaching islands: 100%
> Topology was built.
> Number of nodes : 8771
> Number of primitives: 11422
> Number of points : 0
> Number of lines : 0
> Number of boundaries: 11422
> Number of centroids : 0
> Number of areas : 1869
> Number of isles : 986
> Number of areas without centroid : 1869
> -----------------------------------------------------------------------------
> Querying input 'mapa1@pred_ppinea' ... Segmentation fault.
>
>
> Any ideas?
>
> Many thanks

On Tuesday 11 January 2005 09:18 am, Marta Benito wrote:

I have update GRASS, and the problem is still appearing, without writing
anything :

v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
Segmentation fault

thank you

I wonder if this is in any way related to the Segfaults that v.out.ascii is
causing...

Attached is the output from strace v.out.ascii

Dylan

El mar, 11-01-2005 a las 17:39, Radim Blazek escribió:
> First try to update GRASS, your version is almost 2 months old.
>
> Radim
>
> Marta Benito wrote:
> > Hi, I am trying to overlay to vectorial (area) maps, mapa1 and mapa2
> > but without success:
> > # v.db.connect -p mapa1
> > Vector map <mapa1> is connected by:
> > field <1> table <mapa1> in database
> > </home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
> > driver <dbf> with
> > key <cat>
> > # v.db.connect -p mapa2
> > Vector map <mapa2> is connected by:
> > field <1> table <mapa2> in database
> > </home/marta/grassdata/espanya_modelo_devel/pred_ppinea/dbf/> through
> > driver <dbf> with
> > key <cat>
> >
> > BUT:
> >
> > # v.overlay ainput=mapa1 binput=mapa2 output=output operator=and
> > -----------------------------------------------------------------------
> >------ Writing attributes ...
> > Copying ainput lines ... 100%
> > -----------------------------------------------------------------------
> >------ Copying binput lines ... 100%
> > -----------------------------------------------------------------------
> >------ Buiding partial topology ...
> > -----------------------------------------------------------------------
> >------ Breaking lines ...
> > Intersections: 6427
> > -----------------------------------------------------------------------
> >------ Removing duplicates ...
> > Duplicates: 30
> > -----------------------------------------------------------------------
> >------ Cleaning boundaries at nodes ...
> > Modifications: 0
> > -----------------------------------------------------------------------
> >------ Attaching islands ...
> > Building topology ...
> > Building areas: 100%
> > 1869 areas built
> > 986 isles built
> > Attaching islands: 100%
> > Topology was built.
> > Number of nodes : 8771
> > Number of primitives: 11422
> > Number of points : 0
> > Number of lines : 0
> > Number of boundaries: 11422
> > Number of centroids : 0
> > Number of areas : 1869
> > Number of isles : 986
> > Number of areas without centroid : 1869
> > -----------------------------------------------------------------------
> >------ Querying input 'mapa1@pred_ppinea' ... Segmentation fault.
> >
> >
> > Any ideas?
> >
> > Many thanks

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

(attachments)

strace.log (25.6 KB)