[GRASS-dev] d.vect kills d.mon

Markus Neteler neteler at itc.it
Thu May 3 07:30:11 EDT 2007


On Thu, May 03, 2007 at 09:09:03AM +0100, Glynn Clements wrote:
> 
> Markus Neteler wrote:
> 
> > GRASS 6.3.cvs (spearfish60):~/grass63/scripts > GRASS_RENDER_IMMEDIATE=TRUE gdb d.vect
> > GNU gdb 6.3-8mdv2007.0 (Mandriva Linux release 2007.0)
> > ...
> > (gdb) run myroads_net col=red

Richt, copy-paste fails here.
Using "script" now, see attached dvect_debug.txt.

Markus
-------------- next part --------------
Script started on Thu 03 May 2007 01:26:59 PM CEST
]0;neteler at localhost: /home/neteler/grass63/lib/dbGRASS 6.3.cvs (spearfish60):~/grass63/lib/db > GRASS_RENDER_IMMEDIATE=TRUE gdb d.vect
GNU gdb 6.3-8mdv2007.0 (Mandriva Linux release 2007.0)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...Using host libthread_db library "/lib/i686/libthread_db.so.1".

(gdb) 
(gdb) r
(gdb) ru
(gdb) run
(gdb) run 
(gdb) run m
(gdb) run my
(gdb) run myr
(gdb) run myro
(gdb) run myroa
(gdb) run myroad
(gdb) run myroads
(gdb) run myroads_
(gdb) run myroads_n
(gdb) run myroads_ne
(gdb) run myroads_net
(gdb) run myroads_net 
(gdb) run myroads_net c
(gdb) run myroads_net co
(gdb) run myroads_net col
(gdb) run myroads_net col=
(gdb) run myroads_net col=r
(gdb) run myroads_net col=re
(gdb) run myroads_net col=red
(gdb) run myroads_net col=red
Starting program: /home/neteler/soft/63grass_cvsexp/dist.i686-pc-linux-gnu/bin/d.vect myroads_net col=red
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xbfffe000
[Thread debugging using libthread_db enabled]
[New Thread -1225034032 (LWP 21533)]
PNG: GRASS_TRUECOLOR status: FALSE

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225034032 (LWP 21533)]
0xb78a72d8 in fputs () from /lib/i686/libc.so.6
(gdb) 
(gdb) b
(gdb) bt
(gdb) bt
#0  0xb78a72d8 in fputs () from /lib/i686/libc.so.6
#1  0xb7f867a0 in print_error (
    msg=0xbfa84a60 "PNG: collecting to file: map.png,\n     GRASS_WIDTH=640, GRASS_HEIGHT=480", type=0)
    at error.c:276
#2  0xb7f86ca5 in G_message (
    msg=0xb7f267c8 "PNG: collecting to file: %s,\n     GRASS_WIDTH=%d, GRASS_HEIGHT=%d") at error.c:112
#3  0xb7f24c62 in PNG_Graph_set (argc=0, argv=0x0) at Graph_set.c:133
#4  0xb7f1a351 in COM_Graph_set (argc=0, argv=0x0) at Graph.c:7
#5  0xb7f1b69e in LIB_init (drv=0xb7f27f40, argc=0, argv=0x0) at init.c:79
#6  0xb7f2dd92 in LOC_open_driver () at loc_io.c:67
#7  0xb7f2d014 in R_open_driver () at com_io.c:180
#8  0x0804d7f5 in main (argc=3, argv=0xbfa87c34) at main.c:375
(gdb) 
(gdb) b
(gdb) bt
(gdb) bt 
(gdb) bt f
(gdb) bt fu
(gdb) bt ful
(gdb) bt full
(gdb) bt full
#0  0xb78a72d8 in fputs () from /lib/i686/libc.so.6
No symbol table info available.
#1  0xb7f867a0 in print_error (
    msg=0xbfa84a60 "PNG: collecting to file: map.png,\n     GRASS_WIDTH=640, GRASS_HEIGHT=480", type=0)
    at error.c:276
	w = Variable "w" is not available.
(gdb) 
(gdb) q
(gdb) q


More information about the grass-dev mailing list