Gnome Calendar 43.x crashes while event has location

When I try to edit an event, I get the following error message:

Gtk-CRITICAL **: 18:24:24.402: the layout manager of type GtkBoxLayout 0x55[...] does not create GtkLayoutChild instances Segmentation fault

The error only occurs when editing an event that has a location. If the event does not have a location, the error does not occur.
The problem occurs on both Wayland and Xorg sessions.
Rebooting the PC seems to temporarily solve the problem, but only until the next reboot.

System information:

  • Operating system: Debian 12
  • Gnome Calendar version: 43.1

Steps I’ve taken:

  • I’ve tried updating Gnome Calendar to the latest version.

Has anyone else experienced this error in Gnome Calendar on Debian?

If gnome-calendar crashes, can you get a stack trace using the steps below?

I hope I’m doing this right.
edit: the flatpak version of gnome-calendar gives me the same problem

The Flatpak version, after a while (I don’t know why it didn’t ask me the first time), asked me for access to my location. After I allowed it to grant access, editing events with locations no longer crashed.

That explains this line in the stack trace
#0 0x00007f97644a4474 in g_time_zone_get_offset () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

1 Like

gnome-calendar version in flatpak is 48.1, which was released 2 months ago.

.deb version is 43.1, which was released 2 1/2 years ago, as Debian 12 is 2 years old. The next version of Debian (Trixie) is due in a couple of months.

So, a lot of issues in gnome-calendar and it’s dependencies would have got fixed in recent versions. Having said that, if you can reliably reproduce the issue, you can list the steps to see if it’s an issue which has been fixed in > 43.x.

Steps to reproduce

Case 1 – Crash with third-party calendar (e.g., Google):

  1. Launch GNOME Calendar (from the default Debian package)
  2. Create a new event in a third-party calendar account (e.g., Google)
  3. In the Location field, enter any text
  4. Save the event
  5. GNOME Calendar crashes immediately

Case 2 – Crash with URL in location field:

  1. Launch GNOME Calendar (from the default Debian package)
  2. Create a new event
  3. In the Location field, enter a URL (e.g., https://example.com)
  4. Save the event
  5. GNOME Calendar crashes immediately with a segmentation fault

I was unable to reproduce the crash again in the Flatpak version, meaning that I’m gonna use the Flatpak version from now on. Thank you for your time @Sid sorry for any inconvenience.

a lot of issues in gnome-calendar and it’s dependencies would have got fixed in recent versions.

Between 43 and 48, that would be more than 263 issues resolved (excluding issues solved within 43), to speak in concrete terms.

I was unable to reproduce the crash again in the Flatpak version, meaning that I’m gonna use the Flatpak version from now on.

Great. Please use that version, especially if you are going to stick to using Debian “Stable”.

We do not support anything other than our latest released version and the development version. Debian and similarly chronically outdated distributions (like Ubuntu LTS and various others) are not our problem, if you encounter problems that are specific to their version then you must report them downstream in the distro, not here upstream.

3 Likes

Thank you, sorry for any inconvenience. English is not my main language, so I apologize if anything sounds mean or out of place. Also thank you for pointing that out @jfft, I’m gonna make sure to only open topics about up to date software.