linuxmint / mint20.3-beta

BETA Bug Squah Rush
7 stars 1 forks source link

gnome-calendar: crashes when re/activating an option in Manage calendars #13

Closed haggen88 closed 2 years ago

haggen88 commented 2 years ago

The 'Birthdays and Anniversaries' option is not available as calendar in gnome-calendar. When going to the 'Manage Calendars' option and disabling and re-enabling the 'Birthdays and Anniversaries' or 'Personal' buttons, gnome-calendar crashes.

Step to reproduce:

1- open gnome-calendar 2- open the option 'Manage calendars' 3- change the active/inactive status in the toggle buton in the 'Birthdays and Anniversaries' or 'Personal' options.


mint@mint:~$ gnome-calendar GWeather-Message: 14:22:18.918: Failed to get Yr.no forecast data: 404 Not Found

** GcalTimeline:ERROR:../src/core/gcal-timeline.c:212:increase_completed_calendars: assertion failed: (self->completed_calendars <= g_hash_table_size (self->calendars)) Bail out! GcalTimeline:ERROR:../src/core/gcal-timeline.c:212:increase_completed_calendars: assertion failed: (self->completed_calendars <= g_hash_table_size (self->calendars)) Aborted (core dumped)


logs.zip

P.S. I checked the flatpak version and it does not have these problems (it also allows you to see the weather forecast correctly). I installed gnome-contacts thinking it would solve the problem with the 'Birthdays and Anniversaries' option but the problem persisted.

WhosyVox commented 2 years ago

I've actually just replicated this in Mint 20.2 as they use the same package. This does not appear to be a new bug.

Unchecking any number calendars and then re-checking one will trigger this crash.

mtwebster commented 2 years ago

This looks to be an issue in gnome-calendar: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/674

The flatpak version is bleeding edge so it's possible there are potentially other factors contributing to the different behavior.

mtwebster commented 2 years ago

fixed by: https://gitlab.com/linuxmint/pins/mint/gnome-calendar/-/commit/bfb794135bbfa2d38360f7b238096e8d60118a8a