GNOME Bugzilla – Bug 625139
evolution 2.28.4 segfaults in eti_row_height_real
Last modified: 2013-09-13 12:25:44 UTC
Never had this one. I only remember having upgraded a few packages on my ubuntu karmic box with the regular, periodic update. This happened when I started evolution. Here is the stack trace: ====================================================================== (gdb) p col $1 = 2 (gdb) p row $2 = 7 (gdb) p eti->cell_views $3 = (ECellView **) 0x0 (gdb) p cols $4 = 6 (gdb) p eti->cell_views $5 = (ECellView **) 0x0 (gdb) p cols $6 = 6 (gdb) p col $7 = 2 (gdb) p eti $8 = (ETableItem *) 0x839d940 (gdb) up
+ Trace 222970
======================================================================
Created attachment 166462 [details] Probably not a fix, but it prevented the crashes Just checking a few variables before accessing them.
Just checked the git logs, and this code is also in master!
Do you have accessibility enabled ?
(In reply to comment #3) > Do you have accessibility enabled ? in System->Preferences for mouse & Keyboard, it says no. The gnome configuration for key /desktop/gnome/interface/accessibility is not enabled.
Created attachment 166502 [details] Another check for null-ness
Created attachment 166503 [details] add another check Sorry, got the wrong file!!
Created attachment 167154 [details] [review] Another little change Had the crash again. Maybe some optimization issue?
Created attachment 167155 [details] [review] add another check
Created attachment 167230 [details] [review] next try gdb tells after the segfault that eti->cell_views is NULL in eti_row_height_real, so g_return_val_if_fail (cols == 0 || eti->cell_views, 0); should return, but it doesn't. Same in eti_row_height with eti->height_cache.
Created attachment 167231 [details] more segfaulting
Can you please check again whether this issue still happens in Evolution 2.32.2 or 3.0 and update this report by adding a comment and changing the "Version" field? Thanks a lot.
Please feel free to reopen the bug if the problem still occurs with a newer version of Evolution 3.0.1 or later, thanks.