Red Hat Bugzilla – Bug 906267
[abrt] Use-after-free in impl_ShellView_setButtonIcon()
Last modified: 2014-01-02 04:07:22 EST
Description of problem:
Evolution crashed during "downloading messages for offline use" phase of email synchronization after it was put offline and online again.
Version-Release number of selected component:
libreport version: 2.0.9
cmdline: evolution -c mail
:Thread no. 1 (8 frames)
: #0 g_type_check_instance_is_a at gtype.c
: #1 e_shell_window_peek_shell at e-shell-window.c
: #2 impl_ShellView_setButtonIcon at e-shell-view.c
: #3 GNOME_Evolution_ShellView_setButtonIcon at Evolution-stubs.c
: #4 e_component_view_set_button_icon at e-component-view.c
: #5 emfv_list_done_message_selected at em-folder-view.c
: #6 mail_msg_idle_cb at mail-mt.c
: #11 bonobo_main at bonobo-main.c
Created attachment 690831 [details]
Created attachment 690832 [details]
Created attachment 690833 [details]
Created attachment 690834 [details]
Created attachment 690835 [details]
Created attachment 690836 [details]
Created attachment 690837 [details]
Created attachment 690838 [details]
Created attachment 690839 [details]
Created attachment 690840 [details]
This  is an upstream bugzilla with basically the same backtrace, but it is was not resolved.
Are you able to reproduce this consistently? I do not know, maybe you had opened a new mail window (File->New Window), then you closed it and then switched online/offline?
(In reply to comment #12)
> This  is an upstream bugzilla with basically the same backtrace, but it
> is was not resolved.
> Are you able to reproduce this consistently? I do not know, maybe you had
> opened a new mail window (File->New Window), then you closed it and then
> switched online/offline?
>  https://bugzilla.gnome.org/show_bug.cgi?id=585104
Yes, when I tried the same now, evo crashed few minutes after it went online (the process was apparently finished this time because I synced my mail short time ago).
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Created attachment 693456 [details]
Patch to fix the problem. With respect of reproducer:
a) run evolution in mail (evolution -c mail)
b) choose menu File->New Window
c) close the new window
d) change folder in the left folder tree
it either crashes, or prints a runtime warning about e_shell_window_peek_shell(), or just run it under valgrind (valgrind evolution) and see an invalid meory read in impl_ShellView_setButtonIcon()/e_shell_window_peek_shell().
*** Bug 845052 has been marked as a duplicate of this bug. ***
The patch might be obsolete, if the rebase bug will make it in, thus I make this depend on it.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.