Crashes when deleting (or adding & hiding) calendars due to a race condition from ESourceRegistry notifying changes through its internal thread instead of GNOME Calendar's
Affected version
EndeavourOS; Build ID: 2022.06.23 (Linux 5.18.7-arch1-1)Calendar 42.2
Edit: all versions.
Bug summary
GNOME Calendar crashes when trying to successively remove CalDAV calendars.
Steps to reproduce
- Add the same
CalDAVcalendar twice - Try to remove all of the calendars (e.g. on clicking the red remove button the third time the applications just closes/crashes)
Relevant logs, screenshots, screencasts etc.
Terminal output:
GcalTimeline:ERROR:../src/core/gcal-timeline.c:579:on_calendar_monitor_completed_cb:
assertion failed: (self->completed_calendars <= g_hash_table_size (self->calendars))
Bail out! GcalTimeline:ERROR:../src/core/gcal-timeline.c:579:on_calendar_monitor_completed_cb:
assertion failed: (self->completed_calendars <= g_hash_table_size (self->calendars))
Edited by Jeff Fortin