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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jun 13 08:59:12 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 manuq):

 Replying to [comment:7 humitos]:
 > Replying to [comment:1 erikos]:

 > Signal 11 is the same as SIGSEGV. Where did you get that information?

 From wikipedia, "SIGSEGV is the signal sent to a process when it makes an
 invalid memory reference, or segmentation fault"

 > Well, reading [http://faq.pygtk.org/index.py?req=show&file=faq20.006.htp
 this document] (it's for gtk2, but it's the same concept) I found that if
 we want to update the GIU by another thread we must use
 {{{GObject.threads_init()}}} and then {{{GObject.idle_add()}}} but it
 doesn't say what's up if we use {{{idle_add}}} without {{{threads_init}}}
 [http://git.sugarlabs.org/browse/mainline/blobs/master/edittoolbar.py#line80
 which is our case now][1] that we removed {{{GObject.threads_init()}}}
 >
 > [1] I'm not sure what is the function of that line

 {{{idle_add}}} is used to do a call when the processor is idle, activities
 use it a lot without involving threads.

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


More information about the Bugs mailing list