GNOME Bugzilla – Bug 594543
Crash on folder/message change
Last modified: 2013-09-13 01:08:03 UTC
Version: 2.30.x What were you doing when the application crashed? I'd just switched to a folder that had one (new) email. The e-mail's line in the summary blinked off and then on. Afterwards, the bug-buddy poped up. I've reported this before Distribution: Slackware Slackware 12.2.0 Gnome Release: 2.27.91 2009-08-25 (GARNOME) BugBuddy Version: 2.27.92 System: Linux 2.6.30.5 #42 SMP PREEMPT Mon Aug 17 17:30:13 EDT 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10699900 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome GTK+ Modules: gnomebreakpad Memory status: size: 276410368 vsize: 276410368 resident: 72585216 share: 26218496 rss: 72585216 rss_rlim: 18446744073709551615 CPU usage: start_time: 1252437601 rtime: 6998 utime: 6156 stime: 842 cutime:63 cstime: 7 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/opt/garnome-svn-2.27/bin/evolution' [Thread debugging using libthread_db enabled] [New Thread 0xb5e4e710 (LWP 11622)] [New Thread 0xa958eb90 (LWP 24354)] [New Thread 0xafcf3b90 (LWP 11863)] [New Thread 0xb0535b90 (LWP 11862)] [New Thread 0xb0eb3b90 (LWP 11703)] [New Thread 0xb16b3b90 (LWP 11702)] 0xb6112171 in waitpid () from /lib/libpthread.so.0
+ Trace 217425
Thread 1 (Thread 0xb5e4e710 (LWP 11622))
---- Critical and fatal warnings logged during execution ---- ** Gdk **: gdk_draw_layout: assertion `GDK_IS_GC (gc)' failed ** Gdk **: gdk_gc_set_clip_rectangle: assertion `GDK_IS_GC (gc)' failed ** Gdk **: gdk_gc_set_foreground: assertion `GDK_IS_GC (gc)' failed ** Gdk **: gdk_gc_set_clip_rectangle: assertion `GDK_IS_GC (gc)' failed ** Gdk **: gdk_draw_layout: assertion `GDK_IS_GC (gc)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Gdk **: gdk_cursor_unref: assertion `cursor != NULL' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Gdk **: gdk_cursor_unref: assertion `cursor != NULL' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Gdk **: gdk_cursor_unref: assertion `cursor != NULL' failed
David, could you please make sure that you file bug against correct evolution version. looks like crash in gal
Hi Akhil, I'll try, but I get confused with what version the git master really is. More to the point, I've had my MAPI account disabled for several weeks, and the GAL has never worked for me in MAPI. The crash happened several times yesterday (and the GAL is definitely off). One other observation: it only seems to happen in folders with 1 message. My big folders seem to be immune.
oops. I spoke too quickly. I just had a crash in a (local) folder where there were 2 new e-mails, and nothing else. I had looked at the 1st and then then crtl-a'd and deleted them both.
I just had this happen in a folder that contained 38 unread messages (and no others); I'd selected the 1st one to read; they all blinked off and on and I crashed when switching folders.
*** Bug 595811 has been marked as a duplicate of this bug. ***
I got very similar crash as in bug #595811, which I believe is same as this one. I'm trying to reproduce and hunt it.
Created attachment 143794 [details] [review] proposed evo patch for evolution; This change seems to do the trick. First of all, there is no need to create a GalView again and again on a reader change, as it was recreated on each message change. It leaded to some reference counting "errors" on the ETreee "tree" parameter of a gal_view_etable_attach_tree (the ref_count had been increased to 2 and 3). After this change the ref_count is always 1, which I believe is correct.
I forgot to add: it'll be great if anyone can give a try to the patch. My steps are as follows: a) Local Inbox with two messages, none selected b) remote folder with one message selected c) close evolution in folder from b) d) open evolution, it'll be in folder from b), message selected and shown in a preview e) switch to folder from a), no message selected, preview is empty f) select first message, evolution crashes quite often
I get this crash all the time when cleaning out my Junk folder with one message. Patch looks promising... I'll give it a test drive.
I applied the patch and rebuilt the git/master (as well as all of gnome 2.28.0--ouch). So far I haven't been able to get evolution to crash.
Committed a slightly more compact version of Milan's patch, but it does the same thing. I haven't been able to reproduce the crash either with the path. Let's assume it's fixed and reopen if one of us sees it again.
Whoops, forgot the commit link. http://git.gnome.org/cgit/evolution/commit/?id=0c1afa3941ef2663793d0b5e1fd9221423374d19