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 622547 - mail_async_event_destroy() doesn't cancel its idle callback
mail_async_event_destroy() doesn't cancel its idle callback
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.32.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-06-24 00:03 UTC by Dan Williams
Modified: 2012-08-27 07:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
abrt backtrace (73.09 KB, text/plain)
2010-06-24 00:03 UTC, Dan Williams
Details

Description Dan Williams 2010-06-24 00:03:11 UTC
Procedure:

1) open a message
2) hit "Reply All" button which opens a new edit window... leave original message window open
3) type a reply, hit send, then immediately hit Ctl+W to close the original message window (it should now be on top since sending closes the edit window for the reply message)
4) crash

evolution-2.30.1-8.fc13.x86_64
Comment 1 Dan Williams 2010-06-24 00:03:46 UTC
Created attachment 164455 [details]
abrt backtrace
Comment 2 Dan Williams 2010-06-24 00:04:28 UTC
Top of crashed thread:

Thread 1 (Thread 26571)

  • #0 e_tree_node_is_expanded
    at e-tree.c line 2026
  • #1 message_list_change_first_visible_parent
    at message-list.c line 3377
  • #2 main_folder_changed
    at message-list.c line 3522
  • #3 do_async_event
    at mail-mt.c line 622
  • #4 idle_async_event
    at mail-mt.c line 633
  • #5 g_idle_dispatch
    at gmain.c line 4065

Comment 3 Dan Williams 2010-06-24 00:11:18 UTC
Note that my internet connection at the time was a 3G cellphone so sending the mail wasn't extremely fast.  Perhaps the timing has something to do with it.
Comment 4 Matthew Barnes 2010-06-24 15:14:48 UTC
Didn't reproduce the crash myself, but seems clear enough what's happening.

I'll package this into Fedora for you to test.

Fixed on master and gnome-2-30 branches:

http://git.gnome.org/browse/evolution/commit/?id=6f014d4779a7bf13d39cdc6eea153cb40dba1b24

http://git.gnome.org/browse/evolution/commit/?h=gnome-2-30&id=4c36dfa3251be50c00dee30dcb1905fadb62b783
Comment 5 Milan Crha 2010-12-06 08:03:30 UTC
Downstream bug report about the same in 2.32.1:
https://bugzilla.redhat.com/show_bug.cgi?id=660086

How to reproduce
-----
1. I was running evolution
2. I finished writing a response to an email
3. I hit the "esc" key in order to close the window in which the original email
was displayed.
4. Evolution suddenly closed without warning and I got the bug notification.
Comment 6 Milan Crha 2010-12-06 08:05:57 UTC
Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Thread 1 (Thread 5579)

  • #0 e_tree_node_is_expanded
    at e-tree.c line 2126
  • #1 message_list_change_first_visible_parent
    at message-list.c line 3514
  • #2 main_folder_changed
    at message-list.c line 3657
  • #3 do_async_event
    at mail-mt.c line 621
  • #4 idle_async_event
    at mail-mt.c line 633
  • #5 g_idle_dispatch
    at gmain.c line 4254
  • #6 g_main_dispatch
    at gmain.c line 2149
  • #7 g_main_context_dispatch
    at gmain.c line 2702
  • #8 g_main_context_iterate
    at gmain.c line 2780
  • #9 g_main_context_iteration
    at gmain.c line 2843
  • #10 IA__gtk_main_iteration
    at gtkmain.c line 1325
  • #11 mail_msg_wait
    at mail-mt.c line 316
  • #12 mail_async_event_destroy
    at mail-mt.c line 721
  • #13 message_list_destroy
    at message-list.c line 2435
  • #14 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #15 g_type_class_meta_marshal
    at gclosure.c line 877
  • #16 g_closure_invoke
    at gclosure.c line 766
  • #17 signal_emit_unlocked_R
    at gsignal.c line 3368
  • #18 g_signal_emit_valist
    at gsignal.c line 2983
  • #19 g_signal_emit
    at gsignal.c line 3040
  • #20 gtk_object_dispose
    at gtkobject.c line 421
  • #21 gtk_widget_dispose
    at gtkwidget.c line 8774
  • #22 et_dispose
    at e-tree.c line 442
  • #23 message_list_dispose
    at message-list.c line 2552
  • #24 g_object_run_dispose
    at gobject.c line 934
  • #25 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #26 mail_browser_dispose
    at e-mail-browser.c line 461
  • #27 g_object_run_dispose
    at gobject.c line 934
  • #28 IA__gtk_object_destroy
    at gtkobject.c line 406
  • #29 e_mail_browser_close
    at e-mail-browser.c line 898
  • #30 mail_browser_key_press_event
    at e-mail-browser.c line 643
  • #31 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #32 g_type_class_meta_marshal
    at gclosure.c line 877
  • #33 g_closure_invoke
    at gclosure.c line 766
  • #34 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #35 g_signal_emit_valist
    at gsignal.c line 2993
  • #36 g_signal_emit
    at gsignal.c line 3040
  • #37 gtk_widget_event_internal
    at gtkwidget.c line 4992
  • #38 IA__gtk_propagate_event
    at gtkmain.c line 2434
  • #39 IA__gtk_main_do_event
    at gtkmain.c line 1665
  • #40 gdk_event_dispatch
    at gdkevents-x11.c line 2377
  • #41 g_main_dispatch
    at gmain.c line 2149
  • #42 g_main_context_dispatch
    at gmain.c line 2702
  • #43 g_main_context_iterate
    at gmain.c line 2780
  • #44 g_main_loop_run
    at gmain.c line 2988
  • #45 IA__gtk_main
    at gtkmain.c line 1237
  • #46 main
    at main.c line 679

Comment 7 Milan Crha 2012-08-27 07:49:28 UTC
The code is gone in current stable version of evolution (3.4.x), thus I'm re-closing this.