On Wednesday 11 November 2020 07:06:31 The Wanderer wrote: > On 2020-11-11 at 06:12, Malte Marwedel wrote: > > Hello, > > since recently, several applications (firefox, pavucontrol, > > pidgin...) fail to load images with gtk. > > This happens when logging in as different user too, so its unlikely > > this is a setting in the ~ directory. > > The error message is as following: > > > > $ pavucontrol > > > > (process:13818): Gtk-WARNING **: 11:47:10.492: Locale not supported > > by C library. > > Using the fallback 'C' locale. > > > > (pavucontrol:13818): Gtk-WARNING **: 11:47:10.592: 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_gic > >on: assertion failed (error == NULL): Failed to load > > /usr/share/icons/Adwaita/16x16/status/image-missing.png: > > Unrecognized image file format (gdk-pixbuf-error-quark, 3) > > Abgebrochen > > At a glance, this doesn't look like it means the program thinks the > file isn't present, but that it thinks the file is in an invalid > format. > > Have you confirmed that this file is in fact a valid PNG, and can be > opened and displayed correctly? > > If it is, then I would suspect that something about GTK's ability to > recognize and load that file format has become broken. The error > messages from your compilation attempt seem to support that idea.
I can verify that same failure, but stretch at least then falls back to gimp to display the image. Started at least a week ago. Seems to me I saw a libpixbuf update go by. > > After googling the error for two hours but don't finding any working > > solution. I started to dig the problem down. > > Lucily, I had already build gtk+3.0-3.24.5 myself before (reason: > > https://superuser.com/questions/1033414/how-to-disable-gtkfilechoose > >rdialog-search), so I have debug symbols there > > <snip> > > > gdk_pixbuf_new_from_stream is returning NULL. Unfortunately there > > are no debug symbols in Debian for libgdk_pixbuf. > > Are you sure? > > $ apt-cache search libgdk-pixbuf | grep dbgsym > libgdk-pixbuf2.0-0-dbgsym - debug symbols for libgdk-pixbuf2.0-0 > libgdk-pixbuf2.0-bin-dbgsym - debug symbols for libgdk-pixbuf2.0-bin > > Admittedly it's not present by default; you have to add the > appropriate debug repository, then run 'apt-get update'. I have three > of them defined, but two of them commented out, so only one available > in practice. > > $ apt-cache policy libgdk-pixbuf2.0.0-dbgsym > libgdk-pixbuf2.0-0-dbgsym: > Installed: (none) > Candidate: 2.40.0+dfsg-5 > Version table: > 2.40.0+dfsg-5 500 > 500 http://debug.mirrors.debian.org/debian-debug > testing-debug/main amd64 Packages > > $ grep .-debug /etc/apt/sources.list > #deb http://debug.mirrors.debian.org/debian-debug/ stable-debug main > non-free contrib > deb http://debug.mirrors.debian.org/debian-debug/ testing-debug main > non-free contrib > #deb http://debug.mirrors.debian.org/debian-debug/ unstable-debug main > non-free contrib Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>