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 740370 - Avoid Calendar view crash with certain themes
Avoid Calendar view crash with certain themes
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.12.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 741667 749059 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-11-19 14:19 UTC by Raymond Wooninck
Modified: 2015-05-12 06:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Raymond Wooninck 2014-11-19 14:19:58 UTC
Evolution (version 3.12.8) works fine in general, except when switching to the calendar function. 

There the program either directly crashes or about 20 seconds after with a SIGFPE.  Running evolution through gdb indicated the following:

Program received signal SIGFPE, Arithmetic exception.
0x00007fff9a274d8f in e_day_view_convert_position_in_main_canvas (
    day_view=day_view@entry=0x37d6710, x=x@entry=289, y=y@entry=20, 
    day_return=day_return@entry=0x7fffffffd378, row_return=row_return@entry=0x7fffffffd374, 
    event_num_return=event_num_return@entry=0x7fffffffd37c) at e-day-view.c:8158

This means that Evolution is no longer working with regards to the calendar. The crash only occurs in the Day and Work Week views.  The week, month and list views are working properly.

I have build and installed the latest 3.13.x (3.13.7) version to see if this bug was resolved, but there I am experiencing the same crash.

I am using Evolution together with an Office365 account (based on the EWS plugin), however if I only select the personal calendar to be active (which is empty) I see the same crash.
Comment 1 Raymond Wooninck 2014-11-19 14:33:54 UTC
Seems that this only happens when a different GTK theme has been chosen. Returning to the Adwaita theme restores the functionality.

I am using Evolution under KDE, with the Oxygen-gtk theme to have GTK based applications blend in. This seems to cause the crash.
Comment 2 André Klapper 2014-11-19 19:22:41 UTC
Full stacktrace from gdb highly welcome.
Comment 3 Milan Crha 2014-11-27 07:49:12 UTC
Thanks for a bug report. It truly is a bug in oxygen-gtk, as confirmed here:
https://bugzilla.redhat.com/show_bug.cgi?id=1161663
Comment 4 Milan Crha 2014-12-22 07:51:08 UTC
*** Bug 741667 has been marked as a duplicate of this bug. ***
Comment 5 Milan Crha 2014-12-22 15:06:56 UTC
I just noticed a bug report which had the same issue, but with a different theme, thus it seems we cannot easily manage this issue, thus I made some workarounds for the Calendar view to not crash in this particular case, when a style-updated signal is not emitted on a GtkWidget.

Created commit dfdcd43 in evo master (3.13.10+) [1]
Created commit 54caf56 in evo evolution-3-12 (3.12.10+)

[1] https://git.gnome.org/browse/evolution/commit/?id=dfdcd43
Comment 6 Milan Crha 2015-05-12 06:16:53 UTC
*** Bug 749059 has been marked as a duplicate of this bug. ***