GNOME Bugzilla – Bug 687360
Crash on quit in gtk_style_context_get_valist()
Last modified: 2015-10-19 09:40:21 UTC
I'm running yesterday's git/master. When I exit evolution I get a core file. I'm running gtk+-3.7.0 Here's the backtrace: Program terminated with signal 11, Segmentation fault.
+ Trace 231120
Thread 1 (Thread 0xb0972880 (LWP 26418))
Thanks for a bug report. Is it crashing every time you close evolution, please? If so, then try to reproduce this under valgrind, because it doesn't crash for me on exit, though I use gtk3-3.6.1. The valgrind command is: $ G_SLICE=always-malloc valgrind --num-callers=50 evolution &>log.txt
Interesting, I just got the same crash too. For the first time. It was when I was in the Contacts view, I selected Personal and then "X" to close the window - suddenly the crash happened. Maybe it's some timing, because I think the preview panel was filled just before the exit, or in time between my click to "X" and closure of the shell window.
Downstream bug report about the same from 3.6.1: https://bugzilla.redhat.com/show_bug.cgi?id=869182
Created attachment 230183 [details] [review] evo patch for evolution; This was hard. The trick was to enter Contacts view and select at least one contact there. After that a GtkStyle from the 'book display' is passed into the EABContactFormatter and references, but it's not freed, thus on GtkWidget's finalization, which invalidates the GtkStyleContext, is called update of the leaked GtkStyle, and it leads to the crash.
Created commit c073de6 in evo master (3.7.3+) Created commit 55f51bb in evo gnome-3-6 (3.6.3+)
I'm reopening this, it's still reproducible in 3.8.1: https://bugzilla.redhat.com/show_bug.cgi?id=958155
+ Trace 231888
Thread 1 (Thread 0x7fd44ea63a40 (LWP 1877))
Hrm, I'm not able to reproduce this on demand, it sometimes crashes when closing in the Contacts view, but it doesn't want to today.
I'm closing this, I didn't see it for a long time.