Bug 2387023 - emacs-pgtk crashes in Rawhide toolbox due to glycin needing bubblewrap
Summary: emacs-pgtk crashes in Rawhide toolbox due to glycin needing bubblewrap
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glycin
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact:
URL:
Whiteboard:
: 2386994 2387002 (view as bug list)
Depends On:
Blocks: 2378640
TreeView+ depends on / blocked
 
Reported: 2025-08-07 09:13 UTC by Jens Petersen
Modified: 2025-08-08 21:04 UTC (History)
14 users (show)

Fixed In Version: glycin-2.0~alpha.6-3.fc43
Clone Of:
Environment:
Last Closed: 2025-08-08 09:15:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2025-08-07 09:13:13 UTC
emacs-pgtk crashes immediately when started in a fedora-toolbox:43 container running with toolbox.

It seems a fairly recent regression: it was working shortly before the mass rebuild I think.

Reproducible: Always

Steps to Reproduce:
1. podman pull fedora-toolbox:43
2. toolbox create --release 43
3. toolbox enter fedora-toolbox-43
4. sudo dnf install emacs
5. emacs
Actual Results:
⬢ [petersen@toolbx ~]$ emacs

(emacs:31982): Gtk-WARNING **: 17:06:04.476: 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:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Could not spawn `env -i "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--tmpfs" "/tmp-home" "--setenv" "HOME" "/tmp-home" "--tmpfs" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache" "/usr/lib/fontconfig/cache" "--ro-bind-try" "/var/home/petersen/.cache/fontconfig" "/var/home/petersen/.cache/fontconfig" "--ro-bind-try" "/var/home/petersen/.fontconfig" "/var/home/petersen/.fontconfig" "--ro-bind-try" "/var/home/petersen/.fonts" "/var/home/petersen/.fonts" "--ro-bind-try" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "--ro-bind-try" "/var/home/petersen/.local/share/fonts" "/var/home/petersen/.local/share/fonts" "--ro-bind-try" "/var/lib/flatpak/exports/share/fonts" "/var/lib/flatpak/exports/share/fonts" "--bind-try" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--seccomp" "24" "/usr/libexec/glycin-loaders/2+/glycin-svg"`: No such file or directory (os error 2) (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Could not spawn `env -i "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--tmpfs" "/tmp-home" "--setenv" "HOME" "/tmp-home" "--tmpfs" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache" "/usr/lib/fontconfig/cache" "--ro-bind-try" "/var/home/petersen/.cache/fontconfig" "/var/home/petersen/.cache/fontconfig" "--ro-bind-try" "/var/home/petersen/.fontconfig" "/var/home/petersen/.fontconfig" "--ro-bind-try" "/var/home/petersen/.fonts" "/var/home/petersen/.fonts" "--ro-bind-try" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "--ro-bind-try" "/var/home/petersen/.local/share/fonts" "/var/home/petersen/.local/share/fonts" "--ro-bind-try" "/var/lib/flatpak/exports/share/fonts" "/var/lib/flatpak/exports/share/fonts" "--bind-try" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--seccomp" "24" "/usr/libexec/glycin-loaders/2+/glycin-svg"`: No such file or directory (os error 2) (gdk-pixbuf-error-quark, 0)
Fatal error 6: Aborted
Backtrace:
emacs(+0x138f85) [0x55c60f373f85]
emacs(+0x1070c) [0x55c60f24b70c]
emacs(+0x11883) [0x55c60f24c883]
emacs(+0x1188a) [0x55c60f24c88a]
emacs(+0x13737d) [0x55c60f37237d]
/lib64/libc.so.6(+0x1a280) [0x7f3fafead280]
/lib64/libc.so.6(+0x742ec) [0x7f3faff072ec]
/lib64/libc.so.6(gsignal+0x1e) [0x7f3fafead14e]
/lib64/libc.so.6(abort+0x26) [0x7f3fafe946d0]
/lib64/libglib-2.0.so.0(+0x2482) [0x7f3fb3c6e482]
/lib64/libglib-2.0.so.0(g_assertion_message_error+0xb2) [0x7f3fb3ce0f62]
/lib64/libgtk-3.so.0(+0x14eda9) [0x7f3fb4567da9]
/lib64/libgtk-3.so.0(+0x14f13e) [0x7f3fb456813e]
/lib64/libgtk-3.so.0(+0x14f493) [0x7f3fb4568493]
/lib64/libgtk-3.so.0(+0x162a23) [0x7f3fb457ba23]
/lib64/libgtk-3.so.0(+0x992f6) [0x7f3fb44b22f6]
/lib64/libgtk-3.so.0(+0xa6bdf) [0x7f3fb44bfbdf]
/lib64/libgtk-3.so.0(+0x15babb) [0x7f3fb4574abb]
/lib64/libgtk-3.so.0(+0x23367f) [0x7f3fb464c67f]
/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height_and_baseline_for_width+0x7c) [0x7f3fb464ce8c]
/lib64/libgtk-3.so.0(+0x992f6) [0x7f3fb44b22f6]
/lib64/libgtk-3.so.0(+0xa6bdf) [0x7f3fb44bfbdf]
/lib64/libgtk-3.so.0(+0x569eb) [0x7f3fb446f9eb]
/lib64/libgtk-3.so.0(+0x23367f) [0x7f3fb464c67f]
/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height_and_baseline_for_width+0x7c) [0x7f3fb464ce8c]
/lib64/libgtk-3.so.0(+0x4b658) [0x7f3fb4464658]
/lib64/libgtk-3.so.0(+0x992f6) [0x7f3fb44b22f6]
/lib64/libgtk-3.so.0(+0xa6bdf) [0x7f3fb44bfbdf]
/lib64/libgtk-3.so.0(+0x41e0b) [0x7f3fb445ae0b]
/lib64/libgtk-3.so.0(+0x23367f) [0x7f3fb464c67f]
/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height+0x69) [0x7f3fb464cc19]
/lib64/libgtk-3.so.0(+0x14b245) [0x7f3fb4564245]
/lib64/libgtk-3.so.0(+0x14b8c2) [0x7f3fb45648c2]
/lib64/libgtk-3.so.0(+0x992f6) [0x7f3fb44b22f6]
/lib64/libgtk-3.so.0(+0xa6bdf) [0x7f3fb44bfbdf]
/lib64/libgtk-3.so.0(+0x143285) [0x7f3fb455c285]
/lib64/libgtk-3.so.0(+0x233010) [0x7f3fb464c010]
/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height+0x69) [0x7f3fb464cc19]
/lib64/libgtk-3.so.0(+0x3104d4) [0x7f3fb47294d4]
/lib64/libgtk-3.so.0(+0x233010) [0x7f3fb464c010]
/lib64/libgtk-3.so.0(gtk_widget_get_preferred_height_and_baseline_for_width+0x7c) [0x7f3fb464ce8c]
...
Aborted                    (core dumped) emacs


Expected Results:
Emacs to run like emacs-gtk+x11 still does

Additional Information:
$ gdb emacs-pgtk
(gdb) r
Starting program: /usr/bin/emacs-pgtk 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe16956c0 (LWP 31864)]
[New Thread 0x7fffe0e946c0 (LWP 31865)]
[New Thread 0x7fffdbfff6c0 (LWP 31866)]
[New Thread 0x7fffdb7fe6c0 (LWP 31867)]
[New Thread 0x7fffdaffd6c0 (LWP 31868)]
[New Thread 0x7fffda7fc6c0 (LWP 31869)]
[New Thread 0x7fffd9ffb6c0 (LWP 31870)]
[New Thread 0x7fffd9dfa6c0 (LWP 31871)]
[New Thread 0x7fffd9bf96c0 (LWP 31872)]
[New Thread 0x7fffd99f86c0 (LWP 31873)]
[Detaching after fork from child process 31874]
[Thread 0x7fffd99f86c0 (LWP 31873) exited]

(emacs-pgtk:31863): Gtk-WARNING **: 17:04:28.508: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
[New Thread 0x7fffd99f86c0 (LWP 31875)]
[Detaching after fork from child process 31876]
[Thread 0x7fffd99f86c0 (LWP 31875) exited]
**
Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Could not spawn `env -i "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--tmpfs" "/tmp-home" "--setenv" "HOME" "/tmp-home" "--tmpfs" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache" "/usr/lib/fontconfig/cache" "--ro-bind-try" "/var/home/petersen/.cache/fontconfig" "/var/home/petersen/.cache/fontconfig" "--ro-bind-try" "/var/home/petersen/.fontconfig" "/var/home/petersen/.fontconfig" "--ro-bind-try" "/var/home/petersen/.fonts" "/var/home/petersen/.fonts" "--ro-bind-try" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "--ro-bind-try" "/var/home/petersen/.local/share/fonts" "/var/home/petersen/.local/share/fonts" "--ro-bind-try" "/var/lib/flatpak/exports/share/fonts" "/var/lib/flatpak/exports/share/fonts" "--bind-try" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--seccomp" "24" "/usr/libexec/glycin-loaders/2+/glycin-svg"`: No such file or directory (os error 2) (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Could not spawn `env -i "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--tmpfs" "/tmp-home" "--setenv" "HOME" "/tmp-home" "--tmpfs" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib64" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/usr/lib/fontconfig/cache" "/usr/lib/fontconfig/cache" "--ro-bind-try" "/var/home/petersen/.cache/fontconfig" "/var/home/petersen/.cache/fontconfig" "--ro-bind-try" "/var/home/petersen/.fontconfig" "/var/home/petersen/.fontconfig" "--ro-bind-try" "/var/home/petersen/.fonts" "/var/home/petersen/.fonts" "--ro-bind-try" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "/var/home/petersen/.local/share/flatpak/exports/share/fonts" "--ro-bind-try" "/var/home/petersen/.local/share/fonts" "/var/home/petersen/.local/share/fonts" "--ro-bind-try" "/var/lib/flatpak/exports/share/fonts" "/var/lib/flatpak/exports/share/fonts" "--bind-try" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/var/home/petersen/.cache/glycin/usr/libexec/glycin-loaders/2+/glycin-svg" "--seccomp" "24" "/usr/libexec/glycin-loaders/2+/glycin-svg"`: No such file or directory (os error 2) (gdk-pixbuf-error-quark, 0)

Thread 1 "emacs-pgtk" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff32da3b3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2  0x00007ffff328014e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff32676d0 in __GI_abort () at abort.c:77
#4  0x00007ffff7041482 in g_assertion_message
    (domain=domain@entry=0x7ffff7c14ed4 "Gtk", file=file@entry=0x7ffff7c25632 "../gtk/gtkiconhelper.c", line=line@entry=495, func=func@entry=0x7ffff7c7ded0 <__func__.4.lto_priv.87> "ensure_surface_for_gicon", message=0x555556715b10 "assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Could not spawn `env -i \"bwrap\" \"--unshare-all\" \"--die-with-parent\" \"--chdir\" \"/\" \"--ro-bin"...) at ../glib/gtestutils.c:3459
#5  0x00007ffff70b3f62 in g_assertion_message_error
    (domain=0x7ffff7c14ed4 "Gtk", file=0x7ffff7c25632 "../gtk/gtkiconhelper.c", line=495, func=0x7ffff7c7ded0 <__func__.4.lto_priv.87> "ensure_surface_for_gicon", expr=<optimized out>, error=0x55555671c650, error_domain=0, error_code=0)
    at ../glib/gtestutils.c:3642
#6  0x00007ffff793ada9 in ensure_surface_for_gicon (self=self@entry=0x5555565fc650, style=0x555556630b00, dir=dir@entry=GTK_TEXT_DIR_LTR, scale=scale@entry=1, gicon=gicon@entry=0x55555651bb50) at ../gtk/gtkiconhelper.c:495
#7  0x00007ffff793b13e in gtk_icon_helper_load_surface (self=self@entry=0x5555565fc650, scale=1) at ../gtk/gtkiconhelper.c:567
#8  0x00007ffff793b493 in gtk_icon_helper_ensure_surface (self=0x5555565fc650) at ../gtk/gtkiconhelper.c:604
#9  gtk_icon_helper_ensure_surface (self=0x5555565fc650) at ../gtk/gtkiconhelper.c:595
#10 _gtk_icon_helper_get_size (self=0x5555565fc650, width_out=0x7fffffffbd14, height_out=0x7fffffffbd10) at ../gtk/gtkiconhelper.c:663
#11 0x00007ffff794ea23 in gtk_image_get_content_size
    (gadget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7fffffffbea4, natural=0x7fffffffbea0, minimum_baseline=0x7fffffffbe9c, natural_baseline=0x7fffffffbe98, unused=0x0) at ../gtk/gtkimage.c:1716
#12 0x00007ffff78852f6 in gtk_css_custom_gadget_get_preferred_size
    (gadget=<optimized out>, orientation=<optimized out>, for_size=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=0x7fffffffbe98) at ../gtk/gtkcsscustomgadget.c:124
#13 0x00007ffff7892bdf in gtk_css_gadget_get_preferred_size (gadget=0x5555565fc5e0, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7fffffffbea4, natural=0x7fffffffbea0, minimum_baseline=0x7fffffffbe9c, natural_baseline=0x7fffffffbe98)
    at ../gtk/gtkcssgadget.c:683
#14 0x00007ffff7947abb in gtk_image_get_preferred_height_and_baseline_for_width (widget=<optimized out>, width=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=<optimized out>)
    at ../gtk/gtkimage.c:1948
#15 0x00007ffff7a1f67f in gtk_widget_query_size_for_orientation (widget=widget@entry=0x5555564d58c0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=32767, minimum_size=minimum_size@entry=0x7fffffffc0a4, natural_size=natural_size@entry=0x7fffffffc0a0, minimum_baseline=minimum_baseline@entry=0x7fffffffc09c, natural_baseline=0x7fffffffc098) at ../gtk/gtksizerequest.c:215
#16 0x00007ffff7a1f995 in gtk_widget_compute_size_for_orientation (widget=widget@entry=0x5555564d58c0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=32767, 
    for_size@entry=-1, minimum=minimum@entry=0x7fffffffc0a4, natural=natural@entry=0x7fffffffc0a0, minimum_baseline=minimum_baseline@entry=0x7fffffffc09c, natural_baseline=<optimized out>) at ../gtk/gtksizerequest.c:399
#17 0x00007ffff7a1fe8c in gtk_widget_get_preferred_height_and_baseline_for_width (widget=0x5555564d58c0, width=-1, minimum_height=0x7fffffffc0a4, natural_height=0x7fffffffc0a0, minimum_baseline=0x7fffffffc09c, natural_baseline=0x7fffffffc098)
    at ../gtk/gtksizerequest.c:642
#18 0x00007ffff78852f6 in gtk_css_custom_gadget_get_preferred_size
    (gadget=<optimized out>, orientation=<optimized out>, for_size=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=0x7fffffffc098) at ../gtk/gtkcsscustomgadget.c:124
#19 0x00007ffff7892bdf in gtk_css_gadget_get_preferred_size (gadget=0x5555565fc370, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7fffffffc0a4, natural=0x7fffffffc0a0, minimum_baseline=0x7fffffffc09c, natural_baseline=0x7fffffffc098)
    at ../gtk/gtkcssgadget.c:683
#20 0x00007ffff78429eb in gtk_button_get_preferred_height_and_baseline_for_width
    (widget=<optimized out>, for_size=<optimized out>, minimum_size=<optimized out>, natural_size=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=<optimized out>) at ../gtk/gtkbutton.c:2139
#21 0x00007ffff7a1f67f in gtk_widget_query_size_for_orientation (widget=widget@entry=0x5555563f8da0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=32767, minimum_size=minimum_size@entry=0x7fffffffc1c8, natural_size=natural_size@entry=0x7fffffffc1cc, minimum_baseline=minimum_baseline@entry=0x7fffffffc1d0, natural_baseline=0x7fffffffc1d4) at ../gtk/gtksizerequest.c:215
#22 0x00007ffff7a1f995 in gtk_widget_compute_size_for_orientation (widget=widget@entry=0x5555563f8da0, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=32767, 
    for_size@entry=-1, minimum=minimum@entry=0x7fffffffc1c8, natural=natural@entry=0x7fffffffc1cc, minimum_baseline=minimum_baseline@entry=0x7fffffffc1d0, natural_baseline=<optimized out>) at ../gtk/gtksizerequest.c:399
#23 0x00007ffff7a1fe8c in gtk_widget_get_preferred_height_and_baseline_for_width (widget=0x5555563f8da0, width=-1, minimum_height=0x7fffffffc1c8, natural_height=0x7fffffffc1cc, minimum_baseline=0x7fffffffc1d0, natural_baseline=0x7fffffffc1d4)
    at ../gtk/gtksizerequest.c:642
#24 0x00007ffff7837658 in gtk_box_get_size (widget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, minimum_size=0x7fffffffc364, natural_size=0x7fffffffc360, minimum_baseline=0x7fffffffc35c, natural_baseline=0x7fffffffc358) at ../gtk/gtkbox.c:1614
#25 gtk_box_get_content_size (gadget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7fffffffc364, natural=0x7fffffffc360, minimum_baseline=0x7fffffffc35c, natural_baseline=0x7fffffffc358, unused=0x0)
    at ../gtk/gtkbox.c:2071
#26 0x00007ffff78852f6 in gtk_css_custom_gadget_get_preferred_size
    (gadget=<optimized out>, orientation=<optimized out>, for_size=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=0x7fffffffc358) at ../gtk/gtkcsscustomgadget.c:124
#27 0x00007ffff7892bdf in gtk_css_gadget_get_preferred_size (gadget=0x5555565fd030, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7fffffffc364, natural=0x7fffffffc360, minimum_baseline=0x7fffffffc35c, natural_baseline=0x7fffffffc358)
    at ../gtk/gtkcssgadget.c:683
#28 0x00007ffff782de0b in gtk_box_get_preferred_height_and_baseline_for_width (widget=<optimized out>, width=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=<optimized out>)
    at ../gtk/gtkbox.c:2049
#29 0x00007ffff7a1f67f in gtk_widget_query_size_for_orientation (widget=widget@entry=0x5555565fc540, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=0, minimum_size=minimum_size@entry=0x7fffffffc410, natural_size=natural_size@entry=0x7fffffffc414, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=0x0) at ../gtk/gtksizerequest.c:215
#30 0x00007ffff7a1f995 in gtk_widget_compute_size_for_orientation (widget=widget@entry=0x5555565fc540, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=0, 
    for_size@entry=-1, minimum=minimum@entry=0x7fffffffc410, natural=natural@entry=0x7fffffffc414, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=<optimized out>) at ../gtk/gtksizerequest.c:399
#31 0x00007ffff7a1fc19 in gtk_widget_get_preferred_height (widget=0x5555565fc540, minimum_height=0x7fffffffc410, natural_height=0x7fffffffc414) at ../gtk/gtksizerequest.c:527
--Type <RET> for more, q to quit, c to continue without paging--c
#32 0x00007ffff7937245 in add_child_size (child=0x5555565fc540, orientation=GTK_ORIENTATION_VERTICAL, minimum=0x7fffffffc480, natural=0x7fffffffc484) at ../gtk/gtkheaderbar.c:626
#33 add_child_size (child=0x5555565fc540, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, minimum=minimum@entry=0x7fffffffc480, natural=natural@entry=0x7fffffffc484) at ../gtk/gtkheaderbar.c:613
#34 0x00007ffff79378c2 in gtk_header_bar_get_size (widget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, minimum_size=0x7fffffffc624, natural_size=0x7fffffffc620) at ../gtk/gtkheaderbar.c:692
#35 gtk_header_bar_get_content_size (gadget=<optimized out>, orientation=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, minimum=0x7fffffffc624, natural=0x7fffffffc620, minimum_baseline=<optimized out>, natural_baseline=0x0, unused=0x0)
    at ../gtk/gtkheaderbar.c:923
#36 0x00007ffff78852f6 in gtk_css_custom_gadget_get_preferred_size (gadget=<optimized out>, orientation=<optimized out>, for_size=<optimized out>, minimum=<optimized out>, natural=<optimized out>, minimum_baseline=<optimized out>, natural_baseline=0x0)
    at ../gtk/gtkcsscustomgadget.c:124
#37 0x00007ffff7892bdf in gtk_css_gadget_get_preferred_size (gadget=0x5555565fbf50, orientation=GTK_ORIENTATION_VERTICAL, for_size=-1, minimum=0x7fffffffc624, natural=0x7fffffffc620, minimum_baseline=0x0, natural_baseline=0x0)
    at ../gtk/gtkcssgadget.c:683
#38 0x00007ffff792f285 in gtk_header_bar_get_preferred_height (widget=<optimized out>, minimum=<optimized out>, natural=<optimized out>) at ../gtk/gtkheaderbar.c:951
#39 0x00007ffff7a1f010 in gtk_widget_query_size_for_orientation (widget=widget@entry=0x5555562b8120, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=0, minimum_size=minimum_size@entry=0x7fffffffc6d4, natural_size=natural_size@entry=0x7fffffffc6d0, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=0x0) at ../gtk/gtksizerequest.c:219
#40 0x00007ffff7a1f995 in gtk_widget_compute_size_for_orientation (widget=widget@entry=0x5555562b8120, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=0, 
    for_size@entry=-1, minimum=minimum@entry=0x7fffffffc6d4, natural=natural@entry=0x7fffffffc6d0, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=<optimized out>) at ../gtk/gtksizerequest.c:399
#41 0x00007ffff7a1fc19 in gtk_widget_get_preferred_height (widget=0x5555562b8120, minimum_height=0x7fffffffc6d4, natural_height=0x7fffffffc6d0) at ../gtk/gtksizerequest.c:527
#42 0x00007ffff7afc4d4 in gtk_window_get_preferred_height (widget=0x55555648ca70, minimum_size=0x7fffffffc794, natural_size=0x7fffffffc790) at ../gtk/gtkwindow.c:8995
#43 0x00007ffff7a1f010 in gtk_widget_query_size_for_orientation (widget=widget@entry=0x55555648ca70, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=<optimized out>, 
    for_size@entry=0, minimum_size=minimum_size@entry=0x7fffffffc860, natural_size=natural_size@entry=0x7fffffffc864, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=0x0) at ../gtk/gtksizerequest.c:219
#44 0x00007ffff7a1f995 in gtk_widget_compute_size_for_orientation (widget=widget@entry=0x55555648ca70, orientation=orientation@entry=GTK_ORIENTATION_VERTICAL, for_size=0, 
    for_size@entry=-1, minimum=minimum@entry=0x7fffffffc860, natural=natural@entry=0x7fffffffc864, minimum_baseline=minimum_baseline@entry=0x0, natural_baseline=<optimized out>) at ../gtk/gtksizerequest.c:399
#45 0x00007ffff7a1fe8c in gtk_widget_get_preferred_height_and_baseline_for_width (widget=0x55555648ca70, width=-1, minimum_height=0x7fffffffc860, natural_height=0x7fffffffc864, minimum_baseline=0x0, natural_baseline=0x0) at ../gtk/gtksizerequest.c:642
#46 0x00007ffff7a1ffeb in _gtk_widget_get_preferred_size_and_baseline.constprop.0 (widget=0x55555648ca70, minimum_size=0x7fffffffc900, natural_size=0x0, minimum_baseline=0x0, natural_baseline=0x0) at ../gtk/gtksizerequest.c:703
#47 0x00007ffff7af7f6f in gtk_window_compute_hints (window=0x55555648ca70, new_geometry=0x7fffffffc910, new_flags=<synthetic pointer>) at ../gtk/gtkwindow.c:10334
#48 gtk_window_compute_configure_request (window=window@entry=0x55555648ca70, request=request@entry=0x7fffffffc9e0, geometry=geometry@entry=0x0, flags=flags@entry=0x0) at ../gtk/gtkwindow.c:9646
#49 0x00007ffff7afbc4d in gtk_window_realize (widget=0x55555648ca70) at ../gtk/gtkwindow.c:7456
#54 0x00007ffff71bc5e3 in <emit signal 'realize' on instance ???> (instance=instance@entry=0x55555648ca70, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3597
    #50 0x00007ffff719bc3c in g_closure_invoke (closure=0x5555563e8bf0, return_value=0x0, n_param_values=1, param_values=0x7fffffffccd0, invocation_hint=0x7fffffffcc20) at ../gobject/gclosure.c:916
    #51 0x00007ffff71ba3b1 in signal_emit_unlocked_R (node=node@entry=0x7fffffffcde0, detail=detail@entry=0, instance=instance@entry=0x55555648ca70, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffccd0)
    at ../gobject/gsignal.c:3735
    #52 0x00007ffff71bc2b6 in signal_emit_valist_unlocked (instance=instance@entry=0x55555648ca70, signal_id=signal_id@entry=58, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffcf40) at ../gobject/gsignal.c:3534
    #53 0x00007ffff71bc528 in g_signal_emit_valist (instance=0x55555648ca70, signal_id=58, detail=0, var_args=var_args@entry=0x7fffffffcf40) at ../gobject/gsignal.c:3277
#55 0x00007ffff7ada2e0 in gtk_widget_realize (widget=0x55555648ca70) at ../gtk/gtkwidget.c:5530
#56 gtk_widget_realize (widget=0x55555648ca70) at ../gtk/gtkwidget.c:5497
#57 0x00005555557db93c in Fx_create_frame (parms=0x7ffff07f1513) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/pgtkfns.c:1538
#58 0x00007ffff04c8ffe in F782d6372656174652d6672616d652d776974682d6661636573_x_create_frame_with_faces_0 () at /usr/bin/../lib64/emacs/30.1/native-lisp/30.1-96153709/preloaded/faces-b9447c93-62def449.eln
#59 0x0000555555767f64 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/lisp.h:2243
#60 0x00005555557161f2 in Ffuncall (nargs=2, args=0x7fffe1b52048) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:3093
#61 0x0000555555706c13 in Fapply (nargs=2, args=0x7fffe1b52048) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:2722
#62 0x0000555555767f64 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/lisp.h:2243
#63 0x00005555557161f2 in Ffuncall (nargs=2, args=0x7fffffffd740) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:3093
#64 0x00007ffff026baa1 in F6d616b652d6672616d65_make_frame_0 () at /usr/bin/../lib64/emacs/30.1/native-lisp/30.1-96153709/preloaded/frame-b40fc590-a1371df0.eln
#65 0x00005555557161f2 in Ffuncall (nargs=2, args=0x7fffffffd870) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:3093
#66 0x00007ffff026826b in F6672616d652d696e697469616c697a65_frame_initialize_0 () at /usr/bin/../lib64/emacs/30.1/native-lisp/30.1-96153709/preloaded/frame-b40fc590-a1371df0.eln
#67 0x00005555557161f2 in Ffuncall (nargs=1, args=0x7fffffffd940) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:3093
#68 0x00007ffff00f183e in F636f6d6d616e642d6c696e65_command_line_0 () at /usr/bin/../lib64/emacs/30.1/native-lisp/30.1-96153709/preloaded/startup-bbc6ea72-bc20aae4.eln
#69 0x00005555557161f2 in Ffuncall (nargs=1, args=0x7fffffffda18) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:3093
#70 0x00007ffff00ec627 in F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 () at /usr/bin/../lib64/emacs/30.1/native-lisp/30.1-96153709/preloaded/startup-bbc6ea72-bc20aae4.eln
#71 0x000055555570d5eb in eval_sub (form=<optimized out>) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:2595
#72 0x00005555556698c9 in Feval (form=0x7ffff0c780eb, lexical=0x30) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:2462
#73 top_level_2 () at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/keyboard.c:1184
#74 0x00005555557062a3 in internal_condition_case (bfun=0x555555669880 <top_level_2>, handlers=<optimized out>, hfun=0x55555566af00 <cmd_error>) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:1613
#75 0x00005555556699ba in top_level_1 (ignore=<optimized out>) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/keyboard.c:1196
#76 0x0000555555706204 in internal_catch (tag=<optimized out>, func=0x555555669990 <top_level_1>, arg=0x0) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/eval.c:1292
#77 0x000055555566b6ad in command_loop () at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/keyboard.c:1145
#78 0x000055555566b7bf in recursive_edit_1.isra.0 () at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/keyboard.c:754
#79 0x000055555566d7e6 in Frecursive_edit () at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/keyboard.c:837
#80 0x000055555557550a in main (argc=1, argv=0x7fffffffdf58) at /usr/src/debug/emacs-30.1-34.fc43.x86_64/build-pgtk/src/emacs.c:2635

Comment 1 Jens Petersen 2025-08-07 09:25:59 UTC
> (emacs:31982): Gtk-WARNING **: 17:06:04.476: Could not load a pixbuf from icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.

I don't see this warning in my older rawhide toolbox (pre-mass-rebuild).


I retried with a koji scratch rebuild of emacs just to check, but it crashes the same way.

Comment 2 Jens Petersen 2025-08-07 10:23:24 UTC
Okay installing bubblewrap avoid the crash, as Akira Tagoh pointed out to me.

I guess something like glycin-loader(?) should have "Recommends: bubblewrap".

It could also be done as a rich dependency perhaps:

Recommends: (bubblewrap if fedora-release-identity-toolbx)

See emacs.spec for similar rich dep.

Comment 3 Peter Oliver 2025-08-07 11:03:28 UTC
The explanation at https://gitlab.gnome.org/GNOME/glycin#sandboxing-and-inner-workings suggests glycin-libs should:

Requires: (bubblewrap unless thing-that-only-exists-inside-a-flatpak-container)
Requires: (flatpak-spawn if thing-that-only-exists-inside-a-flatpak-container)

I don't know if there is such a thing, however.

Comment 4 Peter Oliver 2025-08-07 11:14:51 UTC
Perhaps flatpak-runtime-config.

Comment 5 Jens Petersen 2025-08-07 11:46:31 UTC
Thanks

(I am not a flatpak expert... Not sure if glycin needs to worry about flatpak-spawn, if it is normally present in runtimes?
but I don't know if bubblewrap is normally present in them - maybe not?)

Comment 6 Jens Petersen 2025-08-07 11:48:52 UTC
fedora-release-identity-flatpak is a thing though

Comment 7 Jens Petersen 2025-08-07 11:54:42 UTC
(Just for reference here: I filed an RFE https://gitlab.gnome.org/GNOME/glycin/-/issues/169
asking whether a nicer error could be presented perhaps.)

Comment 8 Peter Oliver 2025-08-07 23:06:40 UTC
(In reply to Jens Petersen from comment #6)
> fedora-release-identity-flatpak is a thing though

It is, but I looked at the logs of a random Koji build that had "flatpak" in the tag (https://kojipkgs.fedoraproject.org//packages/firefox/141.0.2/1.fc42app2/data/logs/x86_64/root.log), and didn't see it mentioned, so 🤷.

Comment 9 Fabio Valentini 2025-08-07 23:29:27 UTC
I will be adding a "Requires: bubblewrap" to the next builds of glycin.

Comment 10 Fedora Update System 2025-08-08 00:33:04 UTC
FEDORA-2025-3d4ab4338e (glycin-2.0~alpha.6-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3d4ab4338e

Comment 11 Fedora Update System 2025-08-08 07:13:13 UTC
FEDORA-2025-3d4ab4338e (glycin-2.0~alpha.6-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Jens Petersen 2025-08-08 08:52:40 UTC
(In reply to Fabio Valentini from comment #9)
> I will be adding a "Requires: bubblewrap" to the next builds of glycin.

Thank you but I think that is the wrong subpackage.

It should be on glycin-libs (required by gdk-pixbuf2)
(Okay in fact I just realised the base binary package does not exist actually. :-)


$ rpm -ql glycin-libs | xargs strings 2>/dev/null | grep bwrap 
bwrap
bwrap
bwrap

Comment 13 Jens Petersen 2025-08-08 09:00:51 UTC
Nvm soorryy my baad reading - you put it on glycin-loaders which is fine I guess.

Though I wonder if glycin-libs is not more correct?

Comment 14 Jens Petersen 2025-08-08 09:18:16 UTC
(Erm probably can't sensibly uninstall glycin-libs now any more in Rawhide, so probably doesn't really matter in practice)

Comment 15 Fabio Valentini 2025-08-08 15:58:17 UTC
*** Bug 2386994 has been marked as a duplicate of this bug. ***

Comment 16 Elliott Sales de Andrade 2025-08-08 21:04:55 UTC
*** Bug 2387002 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.