When I try to start gimp-2.0.4 at all it starts to load some files and then suddenly crashes. The output says something about pango, but I'm not sure what the problem is. I've tried both 1.4.0 and 1.4.1 version of pango, where neither really helped at all. I also tried to re-emerge gimp-2.0 with both version, which aslo didnt help at all. Reproducible: Always Steps to Reproduce: 1. start a term 2. start gimp by: gimp-2.0 3. crash on startup and error messages Actual Results: The output I get from the crash is the following: "** (gimp-2.0:4997): CRITICAL **: file pango-coverage.c: line 171 (pango_coverage_get): assertion `coverage != NULL' failed ** (gimp-2.0:4997): CRITICAL **: file pango-coverage.c: line 138 (pango_coverage_unref): assertion `coverage != NULL' failed (gimp-2.0:4997): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed ** (gimp-2.0:4997): CRITICAL **: file pango-engine.c: line 68 (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed gimp-2.0: fatal error: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)" It repeats itself all the way through with line 171 and 138 until the end where it gives out on line 1561 and 68. Expected Results: gimp-2.0 should have loaded as expected and the program should have been executed successfully. Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.gentoo.no" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.no/gentoo-portage" USE="X alsa avi berkdb bitmap-fonts cdr crypt dvd encode gdbm gif gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses oggvorbis opengl pam pdflib perl png python quicktime readline sdl sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xprint xv zlib"
are you using any other gtk+ applications ? does gtk-demo also crash ? What are your locale settings ?
Yes, I mainly use GTK+ applications, both GTK+1 and GTK+2. Some of me favourites are xmms, sylpheed and gaim, just to mention some. gtk-demo works completely fine. also, I'm not sure what locale settings are, but they do sound familiar. how do I check them?
You paste the output of the 'locale' command here :)
Sure, here's the output: LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
Could you please verify that the problem exists when using the following command: export LANG=en_US.UTF-8 gimp
It does not, and therefore I declare this bug as FIXED (hopefully!). Thank you very much for solving this problem for me. The only thing that got me worrying is why I suddenly got this problem at all, because gimp-2.0 used to work perfectly fine before. Aslo, what value should LANG really have and how do I set it for good (instead of running the command everytime after a boot)?
You can do the following: echo LANG="en_US.UTF-8" > /etc/env.d/50i18n env-update The first two letters is the language code (en = English), then comes an underscore. The following two letters are the country code (US = USA). What comes after the dot is the encoding (UTF-8).