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 554326 - Critical warning when opening new composer and have preset a signature
Critical warning when opening new composer and have preset a signature
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.17.x
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Srinivasa Ragavan
Depends on:
Blocks:
 
 
Reported: 2008-09-29 16:52 UTC by Milan Crha
Modified: 2008-09-29 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed gtkhtml patch (1.02 KB, patch)
2008-09-29 16:57 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2008-09-29 16:52:12 UTC
When have preset a signature in an account and opening new composer window, there will be a critical warning on the console of Evolution:

Gtk-CRITICAL **: gtk_widget_get_clipboard: assertion `gtk_widget_has_screen (widget)' failed

with this trace:

Breakpoint 2, 0x03d28ab3 in IA__g_logv (log_domain=0x115289b "Gtk", log_level=G_LOG_LEVEL_CRITICAL, 
    format=0x3d8a095 "%s: assertion `%s' failed", args1=0xbff71dfc "\237J\025\001�J\025\001�\215\026\0018\036���") at gmessages.c:395
395     {

(gdb) bt
  • #0 IA__g_logv
    at gmessages.c line 395
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_return_if_fail_warning
  • #3 IA__gtk_widget_get_clipboard
    at gtkwidget.c line 9464
  • #4 update_primary_selection
    at gtkhtml.c line 4461
  • #5 gtk_html_select_paragraph
    at gtkhtml.c line 5692
  • #6 command
    at gtkhtml.c line 5230
  • #7 gtk_html_command
    at gtkhtml.c line 5811
  • #8 gtkhtml_editor_run_command
    at gtkhtml-editor.c line 1474
  • #9 e_msg_composer_show_sig_file
    at e-msg-composer.c line 4484
  • #10 msg_composer_account_changed_cb
    at e-msg-composer.c line 1714
  • #11 msg_composer_init
    at e-msg-composer.c line 2827
  • #12 IA__g_type_create_instance
    at gtype.c line 1575
  • #13 g_object_constructor
    at gobject.c line 1046
  • #14 editor_constructor
    at gtkhtml-editor.c line 457
  • #15 msg_composer_constructor
    at e-msg-composer.c line 2100
  • #16 IA__g_object_newv
    at gobject.c line 937
  • #17 IA__g_object_new_valist
    at gobject.c line 986
  • #18 IA__g_object_new
    at gobject.c line 795
  • #19 create_composer
    at e-msg-composer.c line 2893
  • #20 e_msg_composer_new_with_type
    at e-msg-composer.c line 2959
  • #21 e_msg_composer_new
    at e-msg-composer.c line 2976
  • #22 create_new_composer
    at em-composer-utils.c line 660
  • #23 em_utils_compose_new_message
    at em-composer-utils.c line 688
  • #24 create_item
    at mail-component.c line 947
  • #25 create_local_item_cb
    at mail-component.c line 962
  • #26 execute_verb
    at e-user-creatable-items-handler.c line 380
  • #27 verb_fn
    at e-user-creatable-items-handler.c line 406
  • #28 ??
    from /usr/lib/libbonoboui-2.so.0
  • #29 IA__g_closure_invoke
    at gclosure.c line 490
  • #30 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #31 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #32 ??
    from /usr/lib/libbonoboui-2.so.0
  • #33 _ORBIT_skel_small_Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #34 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #35 Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #36 ??
    from /usr/lib/libbonoboui-2.so.0
  • #37 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #38 g_type_class_meta_marshal
    at gclosure.c line 567
  • #39 IA__g_closure_invoke
    at gclosure.c line 490
  • #40 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #41 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #42 IA__g_signal_emit
    at gsignal.c line 2243
  • #43 bonobo_ui_engine_emit_verb_on_w
    from /usr/lib/libbonoboui-2.so.0
  • #44 ??
    from /usr/lib/libbonoboui-2.so.0
  • #45 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #46 IA__g_closure_invoke
    at gclosure.c line 490
  • #47 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #48 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #49 IA__g_signal_emit
    at gsignal.c line 2243
  • #50 closure_accel_activate
    at gtkwidget.c line 4112
  • #51 IA__g_closure_invoke
    at gclosure.c line 490
  • #52 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #53 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #54 IA__g_signal_emit
    at gsignal.c line 2243
  • #55 IA__gtk_accel_group_activate
    at gtkaccelgroup.c line 739
  • #56 IA__gtk_accel_groups_activate
    at gtkaccelgroup.c line 777
  • #57 IA__gtk_window_activate_key
    at gtkwindow.c line 8020
  • #58 gtk_window_key_press_event
    at gtkwindow.c line 4965
  • #59 ??
    from /usr/lib/libbonoboui-2.so.0
  • #60 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #61 g_type_class_meta_marshal
    at gclosure.c line 567
  • #62 IA__g_closure_invoke
    at gclosure.c line 490
  • #63 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #64 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #65 IA__g_signal_emit
    at gsignal.c line 2243
  • #66 gtk_widget_event_internal
    at gtkwidget.c line 4702
  • #67 IA__gtk_widget_event
    at gtkwidget.c line 4499
  • #68 IA__gtk_propagate_event
    at gtkmain.c line 2309
  • #69 IA__gtk_main_do_event
    at gtkmain.c line 1555
  • #70 gdk_event_dispatch
    at gdkevents-x11.c line 2365
  • #71 g_main_dispatch
    at gmain.c line 2009
  • #72 IA__g_main_context_dispatch
    at gmain.c line 2561
  • #73 g_main_context_iterate
    at gmain.c line 2642
  • #74 IA__g_main_loop_run
    at gmain.c line 2850
  • #75 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #76 main
    at main.c line 689

Comment 1 Milan Crha 2008-09-29 16:57:14 UTC
Created attachment 119604 [details] [review]
proposed gtkhtml patch

for gtkhtml;

just changing order of the functions...
Comment 2 Matthew Barnes 2008-09-29 17:21:47 UTC
Looks okay to me.
Comment 3 Milan Crha 2008-09-29 17:28:35 UTC
Committed to trunk. Committed revision 9022.
Committed to gnome-2-24. Committed revision 9023.