[GRASS-dev] Re: [GRASS GIS] #943: wxpython gui hangs after
switching to cairo display driver
GRASS GIS
trac at osgeo.org
Mon Feb 15 23:50:10 EST 2010
#943: wxpython gui hangs after switching to cairo display driver
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Resolution: | Keywords: cairo, driver, gui, wxpython
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by hamish):
same here. grass64 and grass7 work fine. I'm on debian/stable amd64,
yesterday's svn.
wxGUI freezes after you change the preferences->display mode to cairo and
first try to render a map.
I don't know if it's related, but I can get `d.mon -L` to die:
{{{
# grass65
export GRASS_PNGFILE=map.bmp
export GRASS_WIDTH=640
export GRASS_HEIGHT=480
export GRASS_RENDER_IMMEDIATE=TRUE
export GRASS_PNG_MAPPED=TRUE
export GRASS_PNG_READ=TRUE
d.mon -L
name description status
---- ----------- ------
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.bmp,
GRASS_WIDTH=640, GRASS_HEIGHT=480
HTMLMAP Create HTML Image Map running
PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: map.bmp,
GRASS_WIDTH=640, GRASS_HEIGHT=480
*** glibc detected *** /usr/local/src/grass/svn/grass65/dist.x86_64-
unknown-linux-gnu/etc/mon.status: free(): invalid pointer:
0x00007f06499b3036 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f064802d928]
/lib/libc.so.6(cfree+0x76)[0x7f064802fa36]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_gis.so(G_free+0x15)[0x7f0649072611]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_pngdriver.so[0x7f06494d89fe]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_pngdriver.so(PNG_Graph_set+0x3f8)[0x7f06494d8e1f]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_driver.so(COM_Graph_set+0x39)[0x7f06492cabc9]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_driver.so(LIB_init+0x1be)[0x7f06492cc426]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_raster.so(LOC_open_driver+0x62)[0x7f06496e4fdc]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_raster.so(R_open_driver+0x18)[0x7f06496e41ff]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/etc/mon.status(main+0x8f)[0x400b4b]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f0647fd81a6]
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/etc/mon.status[0x4009f9]
======= Memory map: ========
00400000-00401000 r-xp 00000000 09:02 34916230
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/etc/mon.status
00601000-00602000 rw-p 00001000 09:02 34916230
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/etc/mon.status
02496000-024b7000 rw-p 02496000 00:00 0
[heap]
7f0640000000-7f0640021000 rw-p 7f0640000000 00:00 0
7f0640021000-7f0644000000 ---p 7f0640021000 00:00 0
7f0647b9f000-7f0647bb5000 r-xp 00000000 09:00 553795
/lib/libgcc_s.so.1
7f0647bb5000-7f0647db5000 ---p 00016000 09:00 553795
/lib/libgcc_s.so.1
7f0647db5000-7f0647db6000 rw-p 00016000 09:00 553795
/lib/libgcc_s.so.1
7f0647db6000-7f0647db8000 r-xp 00000000 09:00 555034
/lib/libdl-2.7.so
7f0647db8000-7f0647fb8000 ---p 00002000 09:00 555034
/lib/libdl-2.7.so
7f0647fb8000-7f0647fba000 rw-p 00002000 09:00 555034
/lib/libdl-2.7.so
7f0647fba000-7f0648104000 r-xp 00000000 09:00 555046
/lib/libc-2.7.so
7f0648104000-7f0648303000 ---p 0014a000 09:00 555046
/lib/libc-2.7.so
7f0648303000-7f0648306000 r--p 00149000 09:00 555046
/lib/libc-2.7.so
7f0648306000-7f0648308000 rw-p 0014c000 09:00 555046
/lib/libc-2.7.so
7f0648308000-7f064830d000 rw-p 7f0648308000 00:00 0
7f064830d000-7f0648311000 r-xp 00000000 09:02 34916046
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_psdriver.6.5.svn.so
7f0648311000-7f0648510000 ---p 00004000 09:02 34916046
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_psdriver.6.5.svn.so
7f0648510000-7f0648511000 rw-p 00003000 09:02 34916046
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_psdriver.6.5.svn.so
7f0648511000-7f0648593000 r-xp 00000000 09:00 555051
/lib/libm-2.7.so
7f0648593000-7f0648792000 ---p 00082000 09:00 555051
/lib/libm-2.7.so
7f0648792000-7f0648794000 rw-p 00081000 09:00 555051
/lib/libm-2.7.so
7f0648794000-7f06487b9000 r-xp 00000000 09:00 151710
/usr/lib/libpng12.so.0.27.0
7f06487b9000-7f06489b8000 ---p 00025000 09:00 151710
/usr/lib/libpng12.so.0.27.0
7f06489b8000-7f06489b9000 rw-p 00024000 09:00 151710
/usr/lib/libpng12.so.0.27.0
7f06489b9000-7f0648a38000 r-xp 00000000 09:00 151676
/usr/lib/libfreetype.so.6.3.18
7f0648a38000-7f0648c37000 ---p 0007f000 09:00 151676
/usr/lib/libfreetype.so.6.3.18
7f0648c37000-7f0648c3d000 rw-p 0007e000 09:00 151676
/usr/lib/libfreetype.so.6.3.18
7f0648c3d000-7f0648c53000 r-xp 00000000 09:00 148994
/usr/lib/libz.so.1.2.3.3
7f0648c53000-7f0648e53000 ---p 00016000 09:00 148994
/usr/lib/libz.so.1.2.3.3
7f0648e53000-7f0648e54000 rw-p 00016000 09:00 148994
/usr/lib/libz.so.1.2.3.3
7f0648e54000-7f0648e5d000 r-xp 00000000 09:02 34915909
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_datetime.6.5.svn.so
7f0648e5d000-7f064905d000 ---p 00009000 09:02 34915909
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_datetime.6.5.svn.so
7f064905d000-7f064905e000 rw-p 00009000 09:02 34915909
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_datetime.6.5.svn.so
7f064905e000-7f06490c2000 r-xp 00000000 09:02 34915953
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_gis.6.5.svn.so
7f06490c2000-7f06492c2000 ---p 00064000 09:02 34915953
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_gis.6.5.svn.so
7f06492c2000-7f06492c4000 rw-p 00064000 09:02 34915953
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_gis.6.5.svn.so
7f06492c4000-7f06492c6000 rw-p 7f06492c4000 00:00 0
7f06492c6000-7f06492d2000 r-xp 00000000 09:02 34916041
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_driver.6.5.svn.so
7f06492d2000-7f06494d2000 ---p 0000c000 09:02 34916041
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_driver.6.5.svn.so
7f06494d2000-7f06494d3000 rw-p 0000c000 09:02 34916041
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_driver.6.5.svn.so
7f06494d3000-7f06494d5000 rw-p 7f06494d3000 00:00 0
7f06494d5000-7f06494dc000 r-xp 00000000 09:02 34916043
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_pngdriver.6.5.svn.so
7f06494dc000-7f06496dc000 ---p 00007000 09:02 34916043
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_pngdriver.6.5.svn.so
7f06496dc000-7f06496dd000 rw-p 00007000 09:02 34916043
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_pngdriver.6.5.svn.so
7f06496dd000-7f06496de000 rw-p 7f06496dd000 00:00 0
7f06496de000-7f06496ea000 r-xp 00000000 09:02 34916048
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_raster.6.5.svn.so
7f06496ea000-7f06498e9000 ---p 0000c000 09:02 34916048
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_raster.6.5.svn.so
7f06498e9000-7f06498eb000 rw-p 0000b000 09:02 34916048
/usr/local/src/grass/svn/grass65/dist.x86_64-unknown-linux-
gnu/lib/libgrass_raster.6.5.svn.so
7f06498eb000-7f0649907000 r-xp 00000000 09:00 555038
/lib/ld-2.7.so
7f06499b3000-7f0649ae0000 rw-s 00000000 09:02 34760511
/usr/local/src/grass/tests/imgview/map.bmp
7f0649ae0000-7f0649ae5000 rw-p 7f0649ae0000 00:00 0
7f0649b00000-7f0649b06000 rw-p 7f0649b00000 00:00 0
7f0649b06000-7f0649b08000 rw-p 0001b000 09:00 555038
/lib/ld-2.7.so
7fff50ba7000-7fff50bbc000 rw-p 7ffffffea000 00:00 0
[stack]
7fff50bff000-7fff50c00000 r-xp 7fff50bff000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
}}}
apparently GRASS_PNG_READ being set is what triggers it.
?,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/943#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list