[Bugs] #1123 UNSP: Sugar kills X every time when saving a Journal entry

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Aug 4 08:58:51 EDT 2009


#1123: Sugar kills X every time when saving a Journal entry
------------------------------------------+---------------------------------
    Reporter:  sdz                        |          Owner:  tomeu      
        Type:  defect                     |         Status:  assigned   
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86       
   Component:  sugar                      |        Version:  0.85.x     
    Severity:  Blocker                    |     Resolution:             
    Keywords:                             |   Distribution:  Unspecified
Status_field:  New                        |  
------------------------------------------+---------------------------------
Changes (by sascha_silbe):

  * status:  new => assigned
  * severity:  Unspecified => Blocker
 * cc: tomeu (removed)
 * cc: sdz (added)
  * owner:  sdz => tomeu
  * distribution:  SoaS => Unspecified
  * status_field:  Unconfirmed => New


Comment:

 Happened to me today in sugar-jhbuild on DebXO:

 {{{
 ==> shell.log <==
 1249389164.020492 DEBUG root: __reply_handler_cb
 The program 'sugar-session' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadWindow (invalid Window parameter)'.
   (Details: serial 12424 error_code 3 request_code 20 minor_code 0)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error()
 function.)
 }}}


 The first try (open Calculate, change title, close) worked fine, on the
 second I got the above crash.

 The last entries from datastore.log were:

 {{{
 ==> datastore.log <==
 1249389163.991101 DEBUG root: datastore.update dbus.String(u'242fcbda-
 1d6c-4d98-b8f2-6b0a4bd3abe3')
 1249389163.995086 DEBUG root: IndexStore.flush: False 5
 1249389163.998238 DEBUG root: FileStore moving from
 dbus.String(u'/home/sascha.silbe/.sugar/default/org.laptop.Calculate/instance/1249389163')
 to u'/home/sascha.silbe/.sugar/default/datastore/24/242fcbda-1d6c-
 4d98-b8f2-6b0a4bd3abe3/data'
 1249389164.002992 DEBUG org.laptop.sugar.DataStore:
 _update_completion_cb() called with <function <lambda> at 0x9a4133c> /
 <function <lambda> at 0x9a41374>, exc None
 1249389164.007408 DEBUG root: optimize
 u'/home/sascha.silbe/.sugar/default/datastore/checksums/queue/242fcbda-
 1d6c-4d98-b8f2-6b0a4bd3abe3'
 1249389164.007943 DEBUG org.laptop.sugar.DataStore: updated 242fcbda-1d6c-
 4d98-b8f2-6b0a4bd3abe3
 1249389164.009260 DEBUG root: datastore.get_properties dbus.String(u
 '242fcbda-1d6c-4d98-b8f2-6b0a4bd3abe3')
 1249389164.013969 DEBUG root: datastore.find
 dbus.Dictionary({dbus.String(u'limit'): dbus.Int32(5, variant_level=1),
 dbus.String(u'order_by'): dbus.Array([dbus.String(u'+timestamp')],
 signature=dbus.Signature('s'), variant_level=1), dbus.String(u'activity'):
 dbus.String(u'org.laptop.Calculate', variant_level=1)},
 signature=dbus.Signature('sv'))
 1249389164.014454 DEBUG root: _parse_query
 dbus.Dictionary({dbus.String(u'activity'):
 dbus.String(u'org.laptop.Calculate', variant_level=1)},
 signature=dbus.Signature('sv'))
 1249389164.016082 DEBUG org.laptop.sugar.DataStore: find():
 0.0016891956329345703
 1249389164.017376 DEBUG root: datastore.get_properties dbus.String(u
 '242fcbda-1d6c-4d98-b8f2-6b0a4bd3abe3')
 1249389164.021708 DEBUG root: _process_entry_cb processing '242fcbda-1d6c-
 4d98-b8f2-6b0a4bd3abe3'
 1249389224.052541 DEBUG root: IndexStore.flush: True 6
 }}}


 sugar and sugar-toolkit were pristine, sugar-datastore had my WIP prefix
 support changes (#1090).

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1123#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list