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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Jun 11 13:41:25 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     
Distribution:  OLPC       |   Status_field:  Unconfirmed
--------------------------+-------------------------------------------------

Comment(by manuq):

 The issue is gone if WebKit.get_default_session() call is removed, so I
 have to figure out what's the problem with it:

 {{{
 diff --git a/webactivity.py b/webactivity.py
 index d33913f..5ed5272 100644
 --- a/webactivity.py
 +++ b/webactivity.py
 @@ -154,15 +154,15 @@ class WebActivity(activity.Activity):

          _logger.debug('Starting the web activity')

 -        session = WebKit.get_default_session()
 -        session.set_property('accept-language-auto', True)
 +#        session = WebKit.get_default_session()
 +#        session.set_property('accept-language-auto', True)

          # By default, cookies are not stored persistently, we have to
          # add a cookie jar so that they get saved to disk.  We use one
          # with a SQlite database:
          cookie_jar = SoupGNOME.CookieJarSqlite(filename=_cookies_db_path,
                                                 read_only=False)
 -        session.add_feature(cookie_jar)
 +#        session.add_feature(cookie_jar)

          _seed_xs_cookie(cookie_jar)
 }}}

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


More information about the Bugs mailing list