[GRASS5] [bug #3185] (grass) v.digit crashes with "X connection to localhost:10.0 broken" error

this bug's URL: http://intevation.de/rt/webrt?serial_num=3185
-------------------------------------------------------------------------

Subject: v.digit crashes with "X connection to localhost:10.0 broken" error

After having v.digit running for a couple of hours, digitizing several hundred
new points, all of a sudden the v.digit GUIs vanish and this error appears on
the console:

X connection to localhost:10.0 broken (explicit kill or server shutdown).
Monitor <x0>: Premature EOF
GRASS 6.1-cvs>

?!#$^#!!!!.

Started with standard DBF connection, v.digit -n bgcmd=1;2;3;4;...

dbf/ and vector/ directories both contain data.

try to salvage with v.build:

G61> v.build map=field_depths
WARNING: coor files of vector 'field_depths@map1' is
         larger than it should be (17835 bytes excess).
Building topology ...
615 primitives registered
Building areas: 100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids: 100%
Topology was built.
Number of nodes : 615
Number of primitives: 615
Number of points : 615
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

but the "coor files of vector is larger than it should be" warning remains.
how to get rid of it and make things clean?

Everthing seems fine but the last entry is missing its attrs (ok since it
broke on "submit".

Running self-compiled on debian over tunneled X via ssh (100mbit TCP/IP
connection in same room) with some usleep()s thrown in to keep processor usage
under 100% and network traffic down to "busy" from "extreme".

Hamish

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3185
-------------------------------------------------------------------------

Subject: v.digit crashes with "X connection to localhost:10.0 broken" error

After having v.digit running for a couple of hours, digitizing several hundred
new points, all of a sudden the v.digit GUIs vanish and this error appears on
the console:

X connection to localhost:10.0 broken (explicit kill or server shutdown).
Monitor <x0>: Premature EOF
GRASS 6.1-cvs>

?!#$^#!!!!.

Started with standard DBF connection, v.digit -n bgcmd=1;2;3;4;...

dbf/ and vector/ directories both contain data.

try to salvage with v.build:

G61> v.build map=field_depths
WARNING: coor files of vector 'field_depths@map1' is
         larger than it should be (17835 bytes excess).
Building topology ...
615 primitives registered
Building areas: 100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids: 100%
Topology was built.
Number of nodes : 615
Number of primitives: 615
Number of points : 615
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0

but the "coor files of vector is larger than it should be" warning remains.
how to get rid of it and make things clean?

The size is written to the coor when it is closed, obviously it is wrong if v.digit crashes. Currently there is no other way to rewrite the size except to open and close in v.digit (which schould be done anyway to check last changes).

Radim

Everthing seems fine but the last entry is missing its attrs (ok since it
broke on "submit".

Running self-compiled on debian over tunneled X via ssh (100mbit TCP/IP
connection in same room) with some usleep()s thrown in to keep processor usage
under 100% and network traffic down to "busy" from "extreme".

Hamish

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5