GNU bug report logs -
#78537
GIMP startup crash on minimal xorg/wm unless gtk+ in profile
Previous Next
Full log
Message #55 received at 78537 <at> debbugs.gnu.org (full text, mbox):
Hi,
"Maxim Cournoyer" <maxim.cournoyer <at> gmail.com> writes:
> Hi,
>
> Runciter <runciter <at> whispers-vpn.org> writes:
>
>> Hi,
>>
>> "Maxim Cournoyer" <maxim.cournoyer <at> gmail.com> writes:
>>
>>> Are you able to run it this way?
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> ./pre-inst-env guix shell --pure gimp -- gimp
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> For me it still fails to run, apparently it fails to load its PNG icons.
>>> Maybe it also needs to be wrapped with GDK_PIXBUF_MODULE_FILE ?
>
> [...]
>
>> So... No revised patch and I guess I won't be able to make progress in
>> the near future. I'm kind of at the end of my wits with this, and
>> definitely lacking knowledge about gtk. Here's where I'm at:
>>
>> After applying my patch V3, that is to say wrapping the data files
>> directory of the gtk+ package into XDG_DATA_DIRS, you can get GIMP to
>> complete startup in a more minimal profile; most minimally, it can be
>> obtained with the following command:
>>
>> ./pre-inst-env guix shell --pure gimp gdk-pixbuf -- gimp
>
> Interesting! As perhaps one last thing to check, you could compare the
> environment variables set in that profile, or compare the output of
> 'strace -e file -f -s200 gimp' when it works and doesn't.
Thanks for the advice Maxim, that did open new pathways for trial and
error.
I just submitted a patch version 4 which has gimp succeed at starting
without crashing in a pure shell.
Finally, it is very much necessary to export GDK_PIXBUF_MODULE_FILE from
the wrapper script, as you suggested. I must have missed it originally
because it is also imperative that gimp sees the data files of the
shared-mime-info package.
--
Runciter
This bug report was last modified 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.