[Bug 273745] file picker crashes Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/local/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Sep 2023 14:50:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273745

            Bug ID: 273745
           Summary: file picker crashes
                    Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon
                    : assertion failed (error == NULL): Failed to load
                    /usr/local/share/icons/Adwaita/16x16/status/image-miss
                    ing.png: Unrecognized image file format
                    (gdk-pixbuf-error-quark, 3)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dch@freebsd.org

firefox:117.0_1,2 (previously fine)
ungoogled-chromium: 116.0.5845.140
freebsd: amd64 15.0-CURRENT n265275 - ~ 9 September

how to reproduce:

  firefox --profile $(mktemp -d -t firefox) &
then File -> Open 

starting a file picker dialog from either of these apps causes the entire
browser to crash.

last message, whether from firefox or chromium, is:

tested with fresh (empty) profiles.
feh has no trouble displaying the image-missing.png 

Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error
== NULL): Failed to load
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized
image file format (gdk-pixbuf-error-quark, 3)          (command)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion
failed (error == NULL): Failed to load
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized
image file format (gdk-pixbuf-error-quark, 3)(command)
Redirecting call to abort() to mozalloc_abort

fish: Job 1, 'firefox --profile (mktemp -d -t…' terminated by signal SIGSEGV
(Address boundary error)d)  jimage                     (command link)  nsupdate
                              (command)  sip-wheel                            
(command link)
dch@wintermute ~> l
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png


dch@wintermute ~> feh
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png

(ungoogled-chromium:87639): Gtk-WARNING **: 14:38:07.848: Could not load a
pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error
== NULL): Failed to load
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized
image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion
failed (error == NULL): Failed to load
/usr/local/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized
image file format (gdk-pixbuf-error-quark, 3)

I will test on a different machine later this week

-- 
You are receiving this mail because:
You are the assignee for the bug.