Bug 2226814

Summary: update resolves sporadic crash in inkscape
Product: [Fedora] Fedora Reporter: Garrett Mitchener <garrett.mitchener>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: gnome-sig, mclasen, toon.verstraelen
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:35:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garrett Mitchener 2023-07-26 16:10:20 UTC
Inkscape can be run as a command-line app to export files to various formats.
When doing so, it frequently crashes, but not always.
The problem seems to be due to a change in how glib2 manages memory starting with version 2.76.0, which sometimes triggers an error in Gtk 3 applications while communicating with DBus.
It seems to be a race condition:
Removing  ~/.local/share/recently-used.xbel can prevent this crash.


Reproducible: Sometimes

Steps to Reproduce:
See https://gitlab.com/inkscape/inkscape/-/issues/4177



Upstream bug report for inkscape crash: https://gitlab.com/inkscape/inkscape/-/issues/4177

Upstream merge request for Gtk 3: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6180

Related bug report in Arch: https://bugs.archlinux.org/task/79189

Comment 1 Toon Verstraelen 2023-11-27 11:17:02 UTC
I tested the fix by patching my gtk3 rpm with the patch from: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6180 (following https://blog.aloni.org/posts/how-to-easily-patch-fedora-packages/).

This fix seems to work well so far. It may worth including this fix in the gtk3-3.24.38 package. I'm not sure when gtk3-3.24.39 will be released (which will include the fix) and a lot of people seem to be affected by this problem: this bug already has a duplicate here on Bugzilla and there 10 duplicates on the Inkscape issue tracker. Arch has already patched its gtk3 package for the same reason.

Comment 2 Aoife Moloney 2024-05-28 13:35:59 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.