[Bugs] #3670 Browse IMME: Browse segfaults when closing

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jun 13 11:01:50 EDT 2012


#3670: Browse segfaults when closing
--------------------------+-------------------------------------------------
    Reporter:  erikos     |          Owner:  erikos       
        Type:  defect     |         Status:  new          
    Priority:  Immediate  |      Milestone:  0.96         
   Component:  Browse     |        Version:  0.96.x       
    Severity:  Critical   |       Keywords:  12.1.0, patch
Distribution:  OLPC       |   Status_field:  Assigned     
--------------------------+-------------------------------------------------

Comment(by benzea):

 GObject.threads_init() initializes the threading support inside pygobject.
 It is essential to call it when using threads.

 I expect that this could happen if webkit starts a thread and then calls
 back into python in a signal handler. I do expect that webkit is using
 threads internally, though it may be that it ensures that callbacks only
 happen from the main thread.

 I have cooked up a patch against gobject introspection, haven't even
 compile tested it yet though. Basically the idea is to not do any python
 calls when GObjects are destroyed after the python interpreter has been
 finalized.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3670#comment:13>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list