Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135559

Summary: media-gfx/gimp-2.2.10 crashes on startup
Product: Gentoo Linux Reporter: Jens Mueller <blog>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: allanonjl, dhp_gentoo, machytka, s.breedveld
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace output

Description Jens Mueller 2006-06-04 13:36:54 UTC
Gimp crashes with SIGSEGV ...

I have deleted ~/.gimp, problem still occurs.

Maybe the attached strace helps ...

$ emerge --info


Portage 2.1_rc4-r1 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://130.59.10.34/mirror/gentoo/ http://130.59.10.35/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de cz it fr en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa arts avi berkdb bitmap-fonts bzip2 cdr cli crypt css cups dri dvd dvdr eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg jpeg2k kde lzw lzw-tiff mozilla mp3 mpeg musicbrainz mysql ncurses nls nsplugin ogg opengl oss pam pango pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xmms xorg xosd xpm xv xvid zlib elibc_glibc kernel_linux linguas_de linguas_cz linguas_it linguas_fr linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jens Mueller 2006-06-04 13:37:36 UTC
Created attachment 88377 [details]
strace output
Comment 2 Henrik Brix Andersen 2006-06-26 15:38:08 UTC
Please try reproducing with either media-gfx/gimp-2.2.11-r1 or media-gfx/gimp-2.3.9 and report back.
Comment 3 Jens Mueller 2006-06-28 11:27:47 UTC
2.3.9 WFM
Comment 4 Henrik Brix Andersen 2006-06-28 14:58:49 UTC
(In reply to comment #3)
> 2.3.9 WFM

Thank you for testing.
Comment 5 Josef Machytka 2006-07-14 08:24:56 UTC
(In reply to comment #0)

I have the same problem with gimp-2.2.12, gimp-2.2.11-r1, gimp-2.3.10
gimp-2.3.9 is OK

Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/mnt/sata2/gentoo_portage_distfiles/"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ http://130.59.10.35/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr clamav cli crypt cups dio directfb dlloader dri dvd dvdr dvdread eds emboss emul-linux-x86 encode exif fam fbcon ffmpeg flac foomaticdb fortran ftp gd gif gphoto2 gpm gstreamer gtk2 iconv icq imagemagick imlib ipv6 isdnlog jabber java javascript joystick jpeg jpeg2k kde lcms libcaca libwww lzw lzw-tiff mad memlimit mime mng mozilla mp3 mpeg mysql mysqli ncurses nls nptl nvidia ogg openal opengl oss pam pcre pdf pdflib perl php png pppd python qt qt3 qt4 quicktime readline recode reflection scanner sdk sdl session sharedmem slang sockets sox speex spell spl ssl svg sysvipc tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis wmf wxwindows xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs linguas_en userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Sebastiaan 2006-07-17 01:20:04 UTC
I have the same problem on amd64. I have tried as good as all gimp versions in portage, with gcc-3.4.5 and gcc-4.1.0. I have even re-emerged the direct dependencies of gimp (with both compiler versions) - no luck. Version 2.3.9 does not work either.

After I start gimp, the introduction screen with progress bar shows up, but after that gimp crashes.

My strace ends with the same information as the previously attached strace, with the exception that I have about 6000 lines attached saying:

--- SIGSEGV (Segmentation fault) @ 0 (0) ---


I am not sure if this is due to the migration to modular X: I have not used gimp for a while before the migration.

emerge info:
Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="en_GB.utf8"
LINGUAS="nl en_GB en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage /usr/portage2"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr cjk cli crypt cups dga divx4linux dlloader doc dri dvd dvdr dvdread eds emboss encode fbcon ffmpeg flac foomaticdb fortran ftp gif gimp glut gphoto2 gpm gs gstreamer hal howl ieee1394 imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg kde lapack libcaca libwww lzw lzw-tiff mad matroska mime mozilla mp3 mpeg ncurses nls nsplugin nvidia ogg openal opengl osc pam pcre pdflib perl php plotutils png ppd pppd python qt qt3 qt4 quicktime readline reflection sasl sdl session smartcard spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis wmf xine xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_nl linguas_en_GB linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Sebastiaan 2006-07-23 00:29:42 UTC
Ok, I have finally been able to trace down the problem. It is the alsa use flag which makes the application crash, just between the 'Initializations' and the loading of the plug-ins.

I fail to see what use alsa has in an image manipulation program, but 2.3.9 seems  to work fine with USE=-alsa.
Comment 8 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 03:06:34 UTC
Mine dont crash, but freeses/hangs ! See bug #168673

Although USE="-alsa" is efficient workaround, I think my bug is not dup of this one because:
- I got hang instead of crash
- end of my strace is really different ...

Both may endup anyway to ask devs to remove suport of Alsa flag ?
Comment 9 Hanno Böck gentoo-dev 2007-04-29 14:23:20 UTC
Can anyone still reproduce this with 2.2.14? And can you also try with 2.3.16 and see if this makes a difference?
Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2007-04-29 14:55:57 UTC
[ebuild     U ] media-gfx/gimp-2.3.16 [2.3.15] USE="aalib alsa curl%* doc jpeg lcms mmx mng pdf png python sse svg tiff wmf (-altivec) -debug -gnome -gtkhtml -smp" 0 kB

What means: on my box 2.3.15 have been working fine with ALSA on ! When I joined this bug, I was using 2.3.14. So, for me 2.3.15 was already working.

=> you can mark FIXED.
Comment 11 Hanno Böck gentoo-dev 2007-04-29 15:17:00 UTC
done