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 732457 - Busy loop and UI freeze on message send
Busy loop and UI freeze on message send
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Composer
3.14.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: Tomas Popela
Evolution QA team
: CPU (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-06-30 07:19 UTC by Milan Crha
Modified: 2017-04-28 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2014-06-30 07:19:08 UTC
I've just got a busy loop (high CPU) and UI freeze on a text/plain message send with below backtrace. It eventually recovered, but it took more than 20 seconds (approximately) with not that long message. I also see that the word-wrap failed in the sent message, some whitespaces are lost and some added. I tried to extract the text, paste it into the composer and send, but then the busy-loop is not repeated.

Thread 1 (Thread 0x7f2b32469a80 (LWP 1883))

  • #0 WebCore::Range::nodeWillBeRemoved(WebCore::Node*)
    from /lib64/libwebkitgtk-3.0.so.0
  • #1 WebCore::Document::nodeWillBeRemoved(WebCore::Node*)
    from /lib64/libwebkitgtk-3.0.so.0
  • #2 WebCore::ContainerNode::removeChild(WebCore::Node*, int&)
    from /lib64/libwebkitgtk-3.0.so.0
  • #3 WebCore::Node::normalize()
    from /lib64/libwebkitgtk-3.0.so.0
  • #4 webkit_dom_node_normalize
    from /lib64/libwebkitgtk-3.0.so.0
  • #5 wrap_lines
    at e-html-editor-selection.c line 4765
  • #6 e_html_editor_selection_wrap_paragraph_length
    at e-html-editor-selection.c line 5303
  • #7 e_html_editor_selection_wrap_paragraph
    at e-html-editor-selection.c line 5378
  • #8 process_content_for_plain_text
    at e-html-editor-view.c line 5584
  • #9 e_html_editor_view_get_text_plain
    at e-html-editor-view.c line 6030
  • #10 composer_build_message
  • #11 e_msg_composer_get_message
    at e-msg-composer.c line 4698
  • #12 e_msg_composer_send
    at e-msg-composer.c line 3748
  • #13 action_send_cb
    at e-composer-actions.c line 305
  • #14 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #15 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #18 _gtk_action_emit_activate
    from /lib64/libgtk-3.so.0
  • #19 closure_accel_activate
    from /lib64/libgtk-3.so.0
  • #20 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #24 gtk_accel_group_activate
    from /lib64/libgtk-3.so.0
  • #25 gtk_accel_groups_activate
    from /lib64/libgtk-3.so.0
  • #26 gtk_window_activate_key
    from /lib64/libgtk-3.so.0
  • #27 gtk_window_key_press_event
    from /lib64/libgtk-3.so.0
  • #28 msg_composer_key_press_event
    at e-msg-composer.c line 2450
  • #29 _gtk_marshal_BOOLEAN__BOXED
    from /lib64/libgtk-3.so.0
  • #30 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #31 signal_emit_unlocked_R
    from /lib64/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #33 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #34 gtk_widget_event_internal
    from /lib64/libgtk-3.so.0
  • #35 propagate_event
    from /lib64/libgtk-3.so.0
  • #36 gtk_main_do_event
    from /lib64/libgtk-3.so.0
  • #37 gdk_event_source_dispatch
    from /lib64/libgdk-3.so.0
  • #38 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #39 g_main_context_iterate.isra.24
    from /lib64/libglib-2.0.so.0
  • #40 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #41 gtk_main
    from /lib64/libgtk-3.so.0
  • #42 main
    at main.c line 681

Comment 1 Milan Crha 2014-07-17 05:39:02 UTC
This is still true for git master at commit 968a747.
Comment 2 Milan Crha 2015-03-05 11:02:34 UTC
*** Bug 735161 has been marked as a duplicate of this bug. ***
Comment 3 Milan Crha 2015-03-05 11:03:58 UTC
Bug #735161 was filled for an HTML mode and contains a test message, which can be imported to Drafts and used for send/save testing.
Comment 4 Tomas Popela 2017-04-28 12:59:39 UTC
I'm closing this bug as it was reported against the WebKit1 based Evolution. The current Evolution is WebKit2 based and nearly everything was changed regarding to the composer code. Feel free to reopen this report if you will see this problem with the WebKit2 based Evolution.