[Bugs] #1123 UNSP: Sugar crashing when saving a journal entry upon closing an activity

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Sat Aug 22 11:46:01 EDT 2009


#1123: Sugar crashing when saving a journal entry upon closing an activity
------------------------------------------+---------------------------------
    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                        |  
------------------------------------------+---------------------------------

Comment(by alsroot):

 Replying to [comment:3 tomeu]:
 > I suspect we are trying to get a preview on a window that has already
 been destroyed.

 looks like nope,
 I've commented get_preview() invoking in
 sugar.activity.activity.Activity.save() and got the same problem

 {{{
 #0  0x00007f8a76e659ca in PyErr_Fetch () from /usr/lib/libpython2.6.so.1.0
 (gdb) bt
 #0  0x00007f8a76e659ca in PyErr_Fetch () from /usr/lib/libpython2.6.so.1.0
 #1  0x00007f8a6c00219c in dbus_py_variant_level_clear () from
 /usr/lib64/python2.6/site-packages/_dbus_bindings.so
 #2  0x00007f8a6c0021f9 in DBusPyStrBase_tp_dealloc () from
 /usr/lib64/python2.6/site-packages/_dbus_bindings.so
 #3  0x00007f8a76dfe6eb in dict_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #4  0x00007f8a76e1f5b3 in subtype_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #5  0x00007f8a76dfe6eb in dict_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #6  0x00007f8a76e1f5b3 in subtype_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #7  0x00007f8a76dfe6eb in dict_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #8  0x00007f8a7326c07e in pygobject_dealloc () from /usr/lib64/python2.6
 /site-packages/gtk-2.0/gobject/_gobject.so
 #9  0x00007f8a76e1f516 in subtype_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #10 0x00007f8a76dd61b3 in instancemethod_dealloc () from
 /usr/lib/libpython2.6.so.1.0
 #11 0x00007f8a73686f82 in child_watch_dnotify () from /usr/lib64/python2.6
 /site-packages/gtk-2.0/glib/_glib.so
 #12 0x00007f8a747f843d in g_source_callback_unref () from
 /usr/lib/libglib-2.0.so.0
 #13 0x00007f8a747f8a25 in g_source_destroy_internal () from
 /usr/lib/libglib-2.0.so.0
 #14 0x00007f8a747f8ea8 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 #15 0x00007f8a747fc5a8 in g_main_context_iterate () from
 /usr/lib/libglib-2.0.so.0
 #16 0x00007f8a747fca9d in g_main_loop_run () from
 /usr/lib/libglib-2.0.so.0
 #17 0x00007f8a72924937 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #18 0x00007f8a72f6ce22 in _wrap_gtk_main () from /usr/lib64/python2.6
 /site-packages/gtk-2.0/gtk/_gtk.so
 #19 0x00007f8a76e5b29d in PyEval_EvalFrameEx () from
 /usr/lib/libpython2.6.so.1.0
 #20 0x00007f8a76e5b85d in PyEval_EvalFrameEx () from
 /usr/lib/libpython2.6.so.1.0
 #21 0x00007f8a76e5cbc1 in PyEval_EvalCodeEx () from
 /usr/lib/libpython2.6.so.1.0
 #22 0x00007f8a76e5ccd2 in PyEval_EvalCode () from
 /usr/lib/libpython2.6.so.1.0
 #23 0x00007f8a76e777c1 in run_mod () from /usr/lib/libpython2.6.so.1.0
 #24 0x00007f8a76e77896 in PyRun_FileExFlags () from
 /usr/lib/libpython2.6.so.1.0
 #25 0x00007f8a76e78ddd in PyRun_SimpleFileExFlags () from
 /usr/lib/libpython2.6.so.1.0
 #26 0x00007f8a76e8534b in Py_Main () from /usr/lib/libpython2.6.so.1.0
 #27 0x00007f8a7617da26 in __libc_start_main () from /lib/libc.so.6
 #28 0x00000000004006e9 in _start ()
 }}}

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


More information about the Bugs mailing list