[GRASS-dev] [bug #5037] (grass) GRASS 6.3: d.graph segfault

Hamish hamish_nospam at yahoo.com
Wed Aug 23 22:28:47 EDT 2006


> > this bug's URL: http://intevation.de/rt/webrt?serial_num=5037
> > -------------------------------------------------------------------
> > 
> > Subject: GRASS 6.3: d.graph segfault
> > 
> > d.graph segfaults on startup. (GRASS 6.3-cvs only)
..
Glynn:
> It segfaults because trans is NULL, because R_RGB_color()
> is called before R_open_driver().
> 
> R_open_driver() or R__open_quiet() must be called before almost any
> other R_* functions are called. The only exceptions are:
>
> 	R_parse_monitorcap
> 	R_set_update_function
> 	R_call_update_function
> 	R_has_update_function
> 	R_set_cancel
> 	R_get_cancel
> 	R_pad_freelist
> 	R_pad_perror
> 
> The old library would silently ignore any operations performed while
> not connected to a driver.

ok, thanks. It works now.


I have added a new "extra/pentagon" symbol to 6.3-cvs.

e.g.:
 echo "symbol extra/pentagon 65 50 50 blue none" | d.graph



Hamish




More information about the grass-dev mailing list