After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609124 - crash in Sticky Notes: clicked on "New Note" in...
crash in Sticky Notes: clicked on "New Note" in...
Status: RESOLVED DUPLICATE of bug 594797
Product: gnome-applets
Classification: Other
Component: stickynotes
unspecified
Other All
: High critical
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 610193 615864 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-05 20:50 UTC by ffuganti
Modified: 2011-06-17 20:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
stack trace generated with "thread apply all bt" and debug symbols for all libraries (6.91 KB, text/plain)
2010-03-05 13:02 UTC, Lukasz Michalski
Details

Description ffuganti 2010-02-05 20:50:00 UTC
What were you doing when the application crashed?
clicked on "New Note" in a clean gnome desktop


Distribution: Debian squeeze/sid
Gnome Release: 2.28.2 2009-12-18 (Debian)
BugBuddy Version: 2.28.0

System: Linux 2.6.27.9 #5 SMP PREEMPT Wed Jan 20 10:51:40 BRST 2010 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10605000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 42115072 vsize: 42115072 resident: 13451264 share: 10981376 rss: 13451264 rss_rlim: 18446744073709551615
CPU usage: start_time: 1265402891 rtime: 31 utime: 28 stime: 3 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/lib/gnome-applets/stickynotes_applet'

[Thread debugging using libthread_db enabled]
0xb7fad424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6c9e750 (LWP 23947))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/cmov/libpthread.so.0
  • #2 g_spawn_sync
    from /lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 <signal handler called>
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
    from /usr/lib/libbonoboui-2.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #13 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #14 ??
    from /usr/lib/libbonoboui-2.so.0
  • #15 _ORBIT_skel_small_Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #16 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #17 Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #18 ??
    from /usr/lib/libbonoboui-2.so.0
  • #19 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #20 ??
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #22 ??
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #25 bonobo_ui_engine_emit_verb_on_w
    from /usr/lib/libbonoboui-2.so.0
  • #26 ??
    from /usr/lib/libbonoboui-2.so.0
  • #27 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 ??
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #39 ??
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #42 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #43 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #46 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #47 ??
    from /lib/libglib-2.0.so.0
  • #48 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #49 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #50 bonobo_generic_factory_main_timeout
    from /usr/lib/libbonobo-2.so.0
  • #51 bonobo_generic_factory_main
    from /usr/lib/libbonobo-2.so.0
  • #52 panel_applet_factory_main_closure
    from /usr/lib/libpanel-applet-2.so.0
  • #53 panel_applet_factory_main
    from /usr/lib/libpanel-applet-2.so.0
  • #54 ??
  • #55 __libc_start_main
    from /lib/i686/cmov/libc.so.6
  • #56 ??
A debugging session is active.

	Inferior 1 [process 23947] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** Gtk **: gtk_image_set_from_stock: assertion `GTK_IS_IMAGE (image)' failed 
** Gtk **: gtk_image_set_from_stock: assertion `GTK_IS_IMAGE (image)' failed 
** Gtk **: gtk_image_set_from_stock: assertion `GTK_IS_IMAGE (image)' failed 
** Gtk **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_window_set_title: assertion `GTK_IS_WINDOW (window)' failed 
** Gtk **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed 
** Gtk **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_get_modifier_style: assertion `GTK_IS_WIDGET (widget)' failed 
** Gtk **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed 
** Gdk **: gdk_colormap_alloc_colors: assertion `GDK_IS_COLORMAP (colormap)' failed 


----------- .xsession-errors (8484 sec old) ---------------------
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 293979 error_code 9 request_code 55 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.)
opera: Plug-in 8622 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x1a7 specified for 0x3200003 (Welcome to).
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1a00003 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1a00003 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
--------------------------------------------------
Comment 1 Fabio Durán Verdugo 2010-02-06 00:32:57 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Comment 2 Fabio Durán Verdugo 2010-02-16 22:03:51 UTC
*** Bug 610193 has been marked as a duplicate of this bug. ***
Comment 3 Lukasz Michalski 2010-03-05 13:02:38 UTC
Created attachment 155304 [details]
stack trace generated with "thread apply all bt" and debug symbols for all libraries
Comment 4 Lukasz Michalski 2010-03-05 13:07:20 UTC
I generated stack trace (attchment id=155304) for this problem with following libraries installed:

gnome-applets-2.28.0
glib2-2.22.4
gtk+2-2.18.7
libbonoboui-2.24.2

Please let me know if you need additional information or if you want me to perform other steps to track down this problem.

Regards,
Łukasz
Comment 5 Lukasz Michalski 2010-03-05 13:33:26 UTC
Additional info:
(gdb) print rc_style
$1 = (GtkRcStyle *) 0x0

Regards,
Łukasz
Comment 6 Lukasz Michalski 2010-03-05 20:16:49 UTC
I tried to debug it and this is what is happening on my system:

strace shows that gtk_builder_add_from_file in stickynotes.c:102 opens an .ui file correctly
note->w_window is set to 0x0 after GTK_WIDGET call in line 104. This causes lots of error messages like:

(stickynotes_applet:2583): Gtk-CRITICAL **: gtk_window_set_screen: assertion `GTK_IS_WINDOW (window)' failed

and final crash in stickynotes.c:480 where NULL note->m_windows is referenced for the first time.

I checked /usr/share/gnome-applets/builder/stickynotes.ui on my system and it has "stickynote_window" element defined.

Digging it more I found, that gtk_builder_add_from_file returns 0 and tmp_error in gtkbuilder.c:683 is set to:
0x8209be0 "Duplicate object id 'vbox1' on line 597 (previously on line 478)"

Renaming one of those triggered next duplicate object id named "label1" and renaming this one makes sticky notes to work again.

Temporary workaround for this is to rename vbox1 to vbox99 in line 597 and label1 to label99 in line 616 in file builder/stickynotes.ui

Regards,
Łukasz
Comment 7 Fabio Durán Verdugo 2010-04-16 02:39:04 UTC
*** Bug 615864 has been marked as a duplicate of this bug. ***
Comment 8 Akhil Laddha 2010-06-10 06:14:07 UTC
looks duplicate of bug 584985
Comment 9 Enrico Minack 2011-06-17 20:09:11 UTC

*** This bug has been marked as a duplicate of bug 594797 ***