ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07991
[Bug 1838891] Re: qt5 applications crash when opening file chooser in gtk desktops
I just managed to reproduce the crash locally. Just before the crash,
the following lines are printed to stderr:
(AppImageLauncherSettings:27871): Gtk-WARNING **: 21:45:01.935: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Fatal error reading PNG image file: bad parameters to zlib (gdk-pixbuf-error-quark, 0)
I think most important part here is “bad parameters to zlib”.
AppImageLauncher uses its own static zlib
(lib/AppImageUpdate/lib/zsync2/lib/zlib/libzsync2_libz.a) which is
incompatible with public zlib (/lib/x86_64-linux-gnu/libz.so.1) that GTK
was compiled against.
Recompiling AppImageLauncher with system zlib should help, but I haven’t
found a way to do that. I suggest you to ask AppImageLauncher developer
about that.
Attaching a stacktrace for future reference.
** Attachment added: "stacktrace.txt"
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1838891/+attachment/5283815/+files/stacktrace.txt
** Changed in: qtbase-opensource-src (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1838891
Title:
qt5 applications crash when opening file chooser in gtk desktops
Status in qtbase-opensource-src package in Ubuntu:
Invalid
Bug description:
Issue is apparently related to qt5-gtk-platformtheme. When you're in a
non-Qt desktop environment and you open a file selection dialog from a
Qt app it crashes.
See also:
https://bugzilla.redhat.com/show_bug.cgi?id=1392605
https://bugs.archlinux.org/task/57984
https://github.com/TheAssassin/AppImageLauncher/issues/218
In my opinion this is a very serious issue and if newer Qt releases
have fixed this it should be backported.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1838891/+subscriptions
References