[Bugs] #4497 sugar-toolkit-gtk3 UNSP: Html activity segfault on exit

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun May 12 17:43:25 EDT 2013


#4497: Html activity segfault on exit
------------------------------------------+---------------------------------
    Reporter:  dnarvaez                   |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit-gtk3         |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by dnarvaez):

 Looks like it has to do with the WebKit2.WebContext, this simple example
 produces the same segfault:

 import os

 from gi.repository import WebKit2
 from gi.repository import Gio

 def _app_scheme_cb(request, user_data):
     path = os.path.join(activity.get_bundle_path(), request.get_path())
     request.finish(Gio.File.new_for_path(path).read(None),
                    -1, Gio.content_type_guess(path, None)[0])

 context = WebKit2.WebContext.get_default()
 context.register_uri_scheme("activity", _app_scheme_cb, None)

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


More information about the Bugs mailing list