[GRASS-dev] [GRASS GIS] #943: wxpython gui hangs after switching to cairo display driver

GRASS GIS trac at osgeo.org
Thu Jun 6 05:16:14 PDT 2013


#943: wxpython gui hangs after switching to cairo display driver
------------------------------------------+---------------------------------
 Reporter:  epatton                       |       Owner:  grass-dev@…              
     Type:  defect                        |      Status:  new                      
 Priority:  critical                      |   Milestone:  6.4.3                    
Component:  wxGUI                         |     Version:  svn-develbranch6         
 Keywords:  cairo, driver, gui, wxpython  |    Platform:  Linux                    
      Cpu:  All                           |  
------------------------------------------+---------------------------------

Comment(by hamish):

 Adding a ps.poll() right before the ps.communicate() in
 wxpython/core/gcmd.py `RunCommand()` doesn't help much, it returns "None"
 (i.e. the process is still running).

 looking at "`ps fax`" during the lockup shows that d.mon has become a
 zombie:
 {{{
 22954 pts/0    SNl    0:02 wxgui
 /home/hamish/src/grass/svn/grass65/dist.x86_64-unknown-linux-
 gnu/etc/wxpython/wxgui.py
 23018 pts/0    ZN     0:00  \_ [d.mon] <defunct>
 23020 pts/0    SN     0:00 /home/hamish/src/grass/svn/grass65/dist.x86_64
 -unknown-linux-gnu/driver/cairo cairo        dev/fifo.8a dev/fifo.8b
 }}}

 the d.mon goes away along with the wxgui as soon as I `xkill` the GUI
 window, the cairo process keeps running until I manually do "d.mon
 stop=cairo", as expected.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/943#comment:16>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list