[GRASS-dev] [GRASS GIS] #1816: gui crashes when setting color table
GRASS GIS
trac at osgeo.org
Sun Dec 2 01:37:38 PST 2012
#1816: gui crashes when setting color table
--------------------------------+-------------------------------------------
Reporter: rashadkm | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: wxgui, color table | Platform: Linux
Cpu: x86-64 |
--------------------------------+-------------------------------------------
wxgui crashes when setting the color table from layer manager
To reproduce
Load a raster layer
RClick on layer -> Set color table
This will hang the ui for some time and prints a bunch of errors on the
terminal
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_background: assertion
`color != NULL' failed
(wxgui.py:26033): Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion
`color != NULL' failed
GRASS: 7.0svn
Svn: revision 54137
OS: Ubuntu 12.04 LTS
wx-config --version
2.8.12
wx-config --libs
-L/usr/lib/x86_64-linux-gnu -pthread -Wl,-Bsymbolic-functions -Wl,-z,relro
-L/usr/lib/x86_64-linux-gnu -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8
-lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8
-lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8
-lwx_baseu_net-2.8 -lwx_baseu-2.8
Interestingly the error appears only for those maps created using
r.composite
To reproduce on your own try landsat avaialble in nc_spm_08/landsat
r.composite red=lsat5_1987_40 at landsat green=lsat5_1987_30 at landsat
blue=lsat5_1987_20 at landsat output=rgb
Load the new map rgb and try to set color table from gui
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1816>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list