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

GRASS GIS trac at osgeo.org
Wed Jun 5 17:37:28 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):

 re the X error,
  http://www.gtkforums.com/viewtopic.php?f=3&t=55792

 quote:
 {{{
 There could be several problems here first one is related to this I found
 by doing a search http://developer.gnome.org/gtk-faq/stable/x505.html. So
 if you use fork() and then use exit() you have effectively closed the
 socket
 to the X11 server.

 Another problem could be that you have a X11 socket connection created in
 the parent via GTK and then trying to reuse it in the child processes with
 the data entering the socket in a bad order.
 }}}

 (another web search mentions that X is perhaps not thread-safe)


 I'm testing with Python 2.6.6 btw.

 Hamish

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



More information about the grass-dev mailing list