[GRASS5] v.digit segfault
ivan marchesini
marchesini at unipg.it
Thu Apr 13 04:03:46 EDT 2006
I have tried!!!
_____________________________________________________________________
CFLAGS="-g -Wall" ./configure --with-tcltk-includes=/usr/include/tcl8.3
--with-postgres-includes=/usr/include/postgresql --with-nls
--with-sqlite --with-freetype-includes=/usr/include/freetype2
--with-freetype --with-cxx --enable-largefile
.
.
.
.
.
GRASS is now configured for: i686-pc-linux-gnu
Source
directory: /home/ivan/Documents/GRASS/GRASS6/grass-6.1.cvs_src_snapshot_2005_12_31
Build
directory: /home/ivan/Documents/GRASS/GRASS6/grass-6.1.cvs_src_snapshot_2005_12_31
Installation directory: /usr/local/grass-6.1.cvs
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -Wall
C++ compiler: c++ -g -O2
FORTRAN compiler:
Building shared libraries: yes
64bit support: no
NVIZ: yes
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: yes
LAPACK support: no
Large File Support (LFS): no
Motif support: no
MySQL support: no
NLS support: yes
ODBC support: no
OGR support: yes
OpenGL(R) support: yes
PNG support: yes
PostgreSQL support: yes
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
TIFF support: yes
X11 support: yes
_____________________________________________________________________
but the problem seems the same!!! (see under)
______________________________________________________
GRASS 6.1.cvs (gauss_boagaEST):~ > v.digit -n pippo4
D2/5: Variable = 0x8059440
D2/5: G__read_Cell_head
D2/5: G__read_Cell_head_array
D3/5: region item: proj: 99
D3/5: region item: zone: 0
D3/5: region item: north: 4761599.20872
D3/5: region item: south: 4758963.44507
D3/5: region item: east: 2277634.19927
D3/5: region item: west: 2274123.49333
D3/5: region item: cols: 7021
D3/5: region item: rows: 5271
D3/5: region item: e-w resol: 0.50002933
D3/5: region item: n-s resol: 0.50005002
D3/5: region item: top: 1
D3/5: region item: bottom: 0
D3/5: region item: cols3: 3510
D3/5: region item: rows3: 2651
D3/5: region item: depths: 1
D3/5: region item: e-w resol3: 1.00020112
D3/5: region item: n-s resol3: 0.9942526
D3/5: region item: t-b resol: 1
D1/5: Region: N = 4761599.208720 S = 4758963.445070 E = 2277634.199270 W
= 2274123.493330
D1/5: Driver opened
Map does not exist. Add flag -n to create a new map.
New empty map created.
D2/5: Vect_open_new(): name = pippo4
D1/5: Vect_set_thresh(): thresh = 0.000000
D1/5: V1_open_new_nat(): name = pippo4
D1/5: Vect_get_thresh(): thresh = 0.000000
D1/5: dig__write_head()
D1/5: write coor size (0) to head
D2/5: coor body offset 14
D3/5: dig_init_plus()
D1/5: dig_spidx_init()
D3/5: dig_cidx_init()
D3/5: Vect_build(): build = 4
D2/5: dig_cidx_free()
D3/5: dig_cidx_init()
D3/5: Vect_build_nat() build = 4
D1/5: Vect_Rewind(): name = pippo4
D3/5: Vect_read_next_line()
D3/5: V1_read_next_line_nat()
D3/5: Vect__Read_line_nat: offset = 14
D2/5: dig_cidx_sort()
D1/5: Vect_close(): name = pippo4, mapset = pieve, format = 0, level = 2
D1/5: get coor
info: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/coor
D1/5: Info->size = 14, Info->mtime = 1144915159
D1/5: Vect_save_topo()
D1/5: Open
topo: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/topo
D2/5: topo body offset 142
D2/5: topo body offset 142
D2/5: Vect_cidx_save()
D2/5: Open
cidx: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/cidx
D3/5: dig_write_cidx_head()
D3/5: cidx body offset 13
D3/5: dig_write_cidx_head()
D3/5: cidx body offset 13
D1/5: close history file
D1/5: V1_close_nat(): name = pippo4 mapset= pieve
D1/5: get coor
info: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/coor
D1/5: Info->size = 14, Info->mtime = 1144915159
D1/5: dig__write_head()
D1/5: write coor size (14) to head
D2/5: coor body offset 14
D1/5: Vect_get_thresh(): thresh = 0.000000
D1/5: Vect_write_dblinks(): map = pippo4, mapset = pieve
D1/5: dbln
file: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/dbln
D1/5: Dblinks written
D1/5: Vect_open_old(): name = pippo4 mapset= pieve update = 1
D1/5: Vect_set_thresh(): thresh = 0.000000
D3/5: dig_init_plus()
D1/5: dig_spidx_init()
D3/5: dig_cidx_init()
D1/5: open format file: 'pieve/vector/pippo4/frmt'
D1/5: Vector format: 0 (native)
D1/5: Vect_set_thresh(): thresh = 0.000000
D1/5: Vect__read_head(): vector = pippo4 at pieve
D4/5: G_getl2: ->ORGANIZATION: <-
D4/5: G_getl2: ->DIGIT DATE: <-
D4/5: G_getl2: ->DIGIT NAME: <-
D4/5: G_getl2: ->MAP NAME: <-
D4/5: G_getl2: ->MAP DATE: <-
D4/5: G_getl2: ->MAP SCALE: 1<-
D4/5: G_getl2: ->OTHER INFO: <-
D4/5: G_getl2: ->ZONE: 0<-
D4/5: G_getl2: ->MAP THRESH: 0.000000<-
D1/5: Vect_set_thresh(): thresh = 0.000000
D4/5: G_getl2: -><-
D1/5: Level request = 0
D1/5: Vect_open_topo(): name = pippo4 mapset= pieve
D1/5: get coor
info: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/coor
D1/5: Info->size = 14, Info->mtime = 1144915159
D2/5: Topo header: file version 5.0 , supported from GRASS version 5.0
D2/5: byte order 0
D2/5: header size 142
D2/5: with_z 0
D2/5: coor size 14
D1/5: Topo head: coor size = 14, coor mtime = 1144915159
D1/5: dig_load_plus()
D3/5: dig_init_plus()
D1/5: dig_spidx_init()
D3/5: dig_cidx_init()
D2/5: Topo header: file version 5.0 , supported from GRASS version 5.0
D2/5: byte order 0
D2/5: header size 142
D2/5: with_z 0
D2/5: coor size 14
D3/5: dig_alloc_isle():
D2/5: Vect_cidx_open(): name = pippo4 mapset= pieve
D3/5: dig_cidx_init()
D3/5: dig_read_cidx()
D3/5: dig_cidx_init()
D3/5: Cidx header: file version 5.0 , supported from GRASS version 5.0
D3/5: byte order 0
D3/5: header size 9
D1/5: V1_open_old_nat(): name = pippo4 mapset = pieve
D2/5: Coor header: file version 5.1 , supported from GRASS version 5.1
D2/5: byte order 0
D2/5: header size 14
D2/5: with_z 0
D2/5: coor size 14
D1/5: get coor
info: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/coor
D1/5: Info->size = 14, Info->mtime = 1144915159
D1/5: coor size in head = 14, real coor file size= 14
D1/5: Vect_open_old(): vector opened on level 2
D1/5: Vect_read_dblinks(): map = pippo4, mapset = pieve
D1/5: dbln
file: /home/ivan/DATABASEGRASS/gauss_boagaEST/pieve/vector/pippo4/dbln
D4/5: G_getl2: -><-
D1/5: Dblinks read
D5/5: Vect_hist_write()
D1/5: Vect_Rewind(): name = pippo4
D3/5: Vect_build_sidx_from_topo()
D1/5: dig_spidx_init()
D3/5: Spatial index was built
D3/5: Vect_hist_command()
D3/5: G_recreate_command()
D5/5: Vect_hist_write()
D5/5: Vect_hist_write()
D5/5: Vect_hist_write()
D5/5: Vect_hist_write()
D5/5: Vect_hist_write()
D1/5: Map opened
D2/5: cat_init()
D2/5: symb_line_init()
D2/5: symb_node_init()
D5/5: driver_open()
D5/5: -> opened
D2/5: top = 0 bot = 480, left = 0 right = 640
D2/5: n = 0.000000 s = 480.000000, w = 0.000000 e = 639.000000
D2/5: n = 4761599.208720 s = 4758963.445070, w = 2274123.493330 e =
2277632.353689
D2/5: Scale = 5.491174
D5/5: driver_close()
D5/5: -> closed
D5/5: driver_open()
D5/5: -> opened
D2/5: top = 0 bot = 480, left = 0 right = 640
D2/5: n = 0.000000 s = 480.000000, w = 0.000000 e = 639.000000
D2/5: n = 4761599.208720 s = 4758963.445070, w = 2274123.493330 e =
2277632.353689
D2/5: Scale = 5.491174
D2/5: display_bg()
D5/5: driver_close()
D5/5: -> closed
D5/5: driver_open()
D5/5: -> opened
D2/5: top = 0 bot = 480, left = 0 right = 640
D2/5: n = 0.000000 s = 480.000000, w = 0.000000 e = 639.000000
D2/5: n = 4761599.208720 s = 4758963.445070, w = 2274123.493330 e =
2277632.353689
D2/5: Scale = 5.491174
D2/5: display_map()
D2/5: set color to symb 2: 255 255 0
D2/5: set color to symb 13: 0 153 0
D2/5: set color to symb 12: 255 0 0
D5/5: driver_close()
D5/5: -> closed
Segmentation fault
__________________________________________________________
any other suggestion???
thank you very much!!!!!!
ivan
Il giorno gio, 13/04/2006 alle 12.18 +1200, Hamish ha scritto:
> > I'm using grass 6.1-cvs on a Debian-unstable
> > I have just done the cvd update
> >
> > I have compiled using:
> > ______________________________________________________________________
> > CFLAGS="-g -Wall" ./configure
> > --with-tcltk-includes=/usr/include/tcl8.4
> > --with-postgres-includes=/usr/include/postgresql --with-nls
> > --with-sqlite --with-freetype-includes=/usr/include/freetype2
> > --with-freetype --with-cxx --enable-largefile
> ..
> > However now I have a problem when I try to use v.digit
> > I obtain segmentation fault!!
> ..
> > GRASS 6.1.cvs (gauss_boagaEST):~ > v.digit -n pippo2
> ..
> > D2/5: Scale = 5.491174
> > D2/5: display_map()
> > D2/5: set color to symb 2: 255 255 0
> > D2/5: set color to symb 13: 0 153 0
> > D2/5: set color to symb 12: 255 0 0
> > D5/5: driver_close()
> > D5/5: -> closed
> > Segmentation fault
>
>
> Does the same thing happen if you compile against tcl/tk 8.3-dev?
>
>
> Hamish
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
>
--
Ivan Marchesini
Department of Civil and Environmental Engineering
University of Perugia
Via G. Duranti 93/a
06125
Perugia (Italy)
e-mail: marchesini at unipg.it
ivan.marchesini at gmail.com
tel: +39(0)755853760
fax: +39(0)755853756
jabber: geoivan73 at jabber.org
More information about the grass-dev
mailing list