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 783441 - Crash under gcal_manager_refresh()
Crash under gcal_manager_refresh()
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: User Interface
3.24.x
Other Linux
: Normal critical
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-05 15:50 UTC by Milan Crha
Modified: 2017-06-18 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (494 bytes, patch)
2017-06-05 15:50 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2017-06-05 15:50:46 UTC
Created attachment 353195 [details] [review]
proposed patch

As reported downstream at:
https://bugzilla.redhat.com/show_bug.cgi?id=1399502

gnome-calendar can crash with the below backtrace. Looking into the sources, it turned out that refresh_sources() is not removed when the gcal-window is freed.
Proposed patch attached.

Thread no. 1 (4 frames)
 #0 gcal_manager_refresh at gcal-manager.c:1420
 #1 refresh_sources at gcal-window.c:1008
 #6 g_main_context_iteration at gmain.c:3990
 #7 g_application_run at gapplication.c:2381
Comment 1 Georges Basile Stavracas Neto 2017-06-18 17:58:22 UTC
Thanks for the patch!