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 596566 - Crash on quit with composer window opened
Crash on quit with composer window opened
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: BugBuddyBugs
2.28.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: Evolution Triage Team
Evolution QA team
evolution[composer]
: 596714 596794 599586 600466 600592 600915 601780 601847 602915 604133 604797 605355 605470 605672 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-28 06:47 UTC by Pascal Terjan
Modified: 2009-12-30 03:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
proposed evo patch (3.43 KB, patch)
2009-11-13 09:49 UTC, Milan Crha
committed Details | Review

Description Pascal Terjan 2009-09-28 06:47:59 UTC
What were you doing when the application crashed?
Quitted evolution while unsaved mail was still open


Distribution: Mandriva Linux release 2010.0 (Cooker) for i586
Gnome Release: 2.27.91 2009-08-25 (Mandriva)
BugBuddy Version: 2.27.1

System: Linux 2.6.30-desktop-2mnb #1 SMP Thu Jun 18 20:41:35 EDT 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10603901
Selinux: No
Accessibility: Disabled
GTK+ Theme: M
Icon Theme: Tango-Blue-Materia
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 244252672 vsize: 244252672 resident: 55123968 share: 13606912 rss: 55123968 rss_rlim: 18446744073709551615
CPU usage: start_time: 1254091743 rtime: 19624 utime: 16888 stime: 2736 cutime:144 cstime: 148 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/evolution'

[Thread debugging using libthread_db enabled]
[New Thread 0xb639a8f0 (LWP 9300)]
[New Thread 0xab2ffb70 (LWP 22338)]
[New Thread 0xb3ba7b70 (LWP 11145)]
[New Thread 0xac4cfb70 (LWP 11144)]
[New Thread 0xaee4cb70 (LWP 9332)]
[New Thread 0xaf64db70 (LWP 9330)]
[New Thread 0xafe4eb70 (LWP 9329)]
[New Thread 0xb064fb70 (LWP 9328)]
[New Thread 0xb0e70b70 (LWP 9323)]
[New Thread 0xb1671b70 (LWP 9322)]
[New Thread 0xb2d33b70 (LWP 9321)]
[New Thread 0xb3540b70 (LWP 9319)]
[New Thread 0xb4dcdb70 (LWP 9314)]
[New Thread 0xb55ceb70 (LWP 9312)]
0xffffe424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb639a8f0 (LWP 9300))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/libpthread.so.0
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 <signal handler called>
  • #7 command
    at gtkhtml.c line 5071
  • #8 gtk_html_command
    at gtkhtml.c line 6009
  • #9 gtkhtml_editor_run_command
    at gtkhtml-editor.c line 1543
  • #10 build_message
    at e-msg-composer.c line 593
  • #11 e_msg_composer_get_message_draft
    at e-msg-composer.c line 3716
  • #12 autosave_snapshot_cb
    at e-composer-autosave.c line 325
  • #13 g_simple_async_result_complete
    from /usr/lib/libgio-2.0.so.0
  • #14 ??
    from /usr/lib/libgio-2.0.so.0
  • #15 ??
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #17 ??
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #19 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #20 main
    at main.c line 732


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

** e-attachment-view.c **: e_attachment_view_get_store: assertion `E_IS_ATTACHMENT_VIEW (view)' failed 
** composer **: e_composer_header_table_get_subject: assertion `E_IS_COMPOSER_HEADER_TABLE (table)' failed 
** composer **: e_composer_header_table_get_account: assertion `E_IS_COMPOSER_HEADER_TABLE (table)' failed 
** composer **: e_composer_header_table_get_reply_to: assertion `E_IS_COMPOSER_HEADER_TABLE (table)' failed 
** composer **: e_composer_header_table_get_header: assertion `E_IS_COMPOSER_HEADER_TABLE (table)' failed 
** composer **: e_composer_header_get_visible: assertion `E_IS_COMPOSER_HEADER (header)' failed 
** composer **: e_composer_header_table_get_header: assertion `E_IS_COMPOSER_HEADER_TABLE (table)' failed 
** composer **: e_composer_header_get_visible: assertion `E_IS_COMPOSER_HEADER (header)' failed 
** Gtk **: gtk_ui_manager_get_action_groups: assertion `GTK_IS_UI_MANAGER (self)' failed 
** gtkhtml-editor **: gtkhtml_editor_get_action: assertion `action != NULL' failed 
** Gtk **: gtk_toggle_action_get_active: assertion `GTK_IS_TOGGLE_ACTION (action)' failed 
** Gtk **: gtk_ui_manager_get_action_groups: assertion `GTK_IS_UI_MANAGER (self)' failed 
** gtkhtml-editor **: gtkhtml_editor_get_action: assertion `action != NULL' failed 
** Gtk **: gtk_toggle_action_get_active: assertion `GTK_IS_TOGGLE_ACTION (action)' failed 
** gtkhtml **: gtk_html_export: assertion `html != NULL' failed 


----------- .xsession-errors ---------------------
warning: the debug information found in "/usr/lib/debug/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so.debug" does not match "/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so" (CRC mismat
warning: the debug information found in "/usr/lib/debug//usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so.debug" does not match "/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so" (CRC misma
warning: the debug information found in "/usr/lib/debug/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so.debug" does not match "/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so" (CRC mismat
warning: the debug information found in "/usr/lib/debug//usr/lib/pango/1.6.0/modules/pango-basic-fc.so.debug" does not match "/usr/lib/pango/1.6.0/modules/pango-basic-fc.so" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/usr/lib/pango/1.6.0/modules/pango-basic-fc.so.debug" does not match "/usr/lib/pango/1.6.0/modules/pango-basic-fc.so" (CRC mismatch).
--------------------------------------------------
Comment 1 Akhil Laddha 2009-09-29 04:12:31 UTC
could be a dupe of bug 596282
Comment 2 Pascal Terjan 2009-09-29 09:29:46 UTC
*** Bug 596714 has been marked as a duplicate of this bug. ***
Comment 3 Pascal Terjan 2009-09-29 09:30:29 UTC
I reproduced it in 596714 with better trace

I can reproduce it 100%
Comment 4 Akhil Laddha 2009-09-30 04:31:07 UTC
*** Bug 596794 has been marked as a duplicate of this bug. ***
Comment 5 Akhil Laddha 2009-09-30 04:34:02 UTC
see bug 339014 also
Comment 6 Fabio Durán Verdugo 2009-10-25 21:21:33 UTC
*** Bug 599586 has been marked as a duplicate of this bug. ***
Comment 7 Akhil Laddha 2009-11-03 03:47:59 UTC
*** Bug 600466 has been marked as a duplicate of this bug. ***
Comment 8 Akhil Laddha 2009-11-04 04:05:50 UTC
*** Bug 600592 has been marked as a duplicate of this bug. ***
Comment 9 Akhil Laddha 2009-11-06 04:49:43 UTC
*** Bug 600915 has been marked as a duplicate of this bug. ***
Comment 10 Akhil Laddha 2009-11-11 04:11:35 UTC
see bug 601430 also
Comment 11 Milan Crha 2009-11-12 12:56:56 UTC
We have a downstream bug for the same, but I was unable to reproduce it myself.
https://bugzilla.redhat.com/show_bug.cgi?id=531676
Comment 12 Pascal Terjan 2009-11-12 20:19:26 UTC
Well I can still reproduce it easily in the same way

- Create new message
- Type a few chars inside (this time I just typed one letter in the body, no subject, no to, ...)
- Switch to the main window
- Close it (with window manager cross)
Comment 13 Milan Crha 2009-11-13 09:49:26 UTC
Created attachment 147647 [details] [review]
proposed evo patch

for evolution;

OK, the strange thing is that it doesn't crash for me, it is rather claiming couple thins on the console about incorrect pointers (runtime warnings). The all thing is because async saving of autosave and too early closing of the window. This patch is trying to behave better. Note the development version 2.29 doesn't suffer of this, the composer windows are kept opened even after main window is closed.
Comment 14 Akhil Laddha 2009-11-13 11:36:16 UTC
*** Bug 601780 has been marked as a duplicate of this bug. ***
Comment 15 Akhil Laddha 2009-11-14 04:53:34 UTC
*** Bug 601847 has been marked as a duplicate of this bug. ***
Comment 16 Akhil Laddha 2009-11-14 04:54:40 UTC
Paul has also suggested solution in bug 601847
Comment 17 Milan Crha 2009-11-16 11:18:30 UTC
(In reply to comment #16)
> Paul has also suggested solution in bug 601847

Those changes are not correct, because the 'editor' is not a NULL pointer, but points to a freed memory where one is trying to read something. Valgrind should show it, I believe.
Comment 18 Milan Crha 2009-11-18 11:25:32 UTC
Created commit bd2c2a7 in evo gnome-2-28 (2.28.2+)
Comment 19 Akhil Laddha 2009-11-25 11:15:00 UTC
*** Bug 602915 has been marked as a duplicate of this bug. ***
Comment 20 Akhil Laddha 2009-12-09 04:05:56 UTC
*** Bug 604133 has been marked as a duplicate of this bug. ***
Comment 21 Akhil Laddha 2009-12-17 07:16:24 UTC
*** Bug 604797 has been marked as a duplicate of this bug. ***
Comment 22 Fabio Durán Verdugo 2009-12-24 11:32:50 UTC
*** Bug 605355 has been marked as a duplicate of this bug. ***
Comment 23 Fabio Durán Verdugo 2009-12-27 19:13:34 UTC
*** Bug 605470 has been marked as a duplicate of this bug. ***
Comment 24 Akhil Laddha 2009-12-30 03:42:57 UTC
*** Bug 605672 has been marked as a duplicate of this bug. ***