Hi! Further investigation reveals that the missing file `image-missing.png' is in the package adwaita-icon-theme and not gnome-icon-theme. Note that simply installing the package in the same profile does not help:
--8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp adwaita-icon-theme -- xournalpp ** Message: 10:46:08.511: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:46:08.543: Plugin "MigrateFontSizes" UI initialized ** Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0) ** (xournalpp:4093): WARNING **: 10:46:08.624: [Crash Handler] Crashed with signal 6 ** (xournalpp:4093): WARNING **: 10:46:08.624: [Crash Handler] Wrote crash log to: /home/daniel/.cache/xournalpp/errorlogs/errorlog.20211119-104608.log ** (xournalpp:4093): WARNING **: 10:46:08.723: Trying to emergency save the current open document? ** (xournalpp:4093): WARNING **: 10:46:08.724: Successfully saved document to "/home/daniel/.config/xournalpp/emergencysave.xopp" --8<---------------cut here---------------end--------------->8--- This is because the variable XDG_DATA_DIRS is not set. Setting it to the correct value fixes the problem: --8<---------------cut here---------------start------------->8--- $ guix shell --pure xournalpp adwaita-icon-theme [env]$ echo $XDG_DATA_DIRS [env]$ export XDG_DATA_DIRS=$GUIX_ENVIRONMENT/share [env]$ xournalpp ** Message: 10:48:30.406: TEXTDOMAINDIR = (null), PACKAGE_LOCALE_DIR = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale, chosen directory = /gnu/store/dw4ca44bncb2cl0q7yx53lh1md90dcwg-xournalpp-1.1.0/share/locale ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ** Message: 10:48:30.439: Plugin "MigrateFontSizes" UI initialized [env]$ --8<---------------cut here---------------end--------------->8--- Best Daniel
