Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465670 - media-gfx/gimp-2.8.4 with dev-libs/glib-2.36.x - gimp hangs on startup
Summary: media-gfx/gimp-2.8.4 with dev-libs/glib-2.36.x - gimp hangs on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.8
  Show dependency tree
 
Reported: 2013-04-12 10:46 UTC by Helmut Jarausch
Modified: 2013-05-26 09:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-04-12 10:46:23 UTC
gimp-2.8.4 seems to die when compiled/linked to gtk+-3.8
It hangs while coming up. 
Terminating it by <ctrl> C
gives:
/usr/lib64/gimp/2.0/plug-ins/script-fu terminated: Interrupt

Running it under strace works though. It looks like a race condition.
Running it under gdb it hangs, as well.

emerge --info media-gfx/gimp
Portage 2.2.0_alpha173 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.9.0-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.0-rc6-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2
KiB Mem:     7908524 total,   1065516 free
KiB Swap:    1048572 total,    998436 free
Timestamp of tree: Fri, 12 Apr 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5_pre20130407::progress, 3.3.2_pre20130407::progress
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1, 4.8.0_pre9999::local, 4.9.0_pre9999::local
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -march=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 iconv ipv6 jpeg kde lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp openrc pam pango pcre pdf png policykit ppds qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-gfx/gimp-2.8.4 was built with the following:
USE="alsa bzip2 dbus doc exif gnome jpeg lcms mmx mng (multilib) pdf png python smp sse svg tiff udev wmf -aalib (-altivec) -curl -debug -jpeg2k -postscript -webkit -xpm" ABI_X86="64" LINGUAS="de -am -ar -ast -az -be -bg -br -ca -ca@valencia -cs -csb -da -dz -el -en_CA -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -lt -lv -mk -ml -ms -my -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -rw -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -tt -uk -vi -xh -yi -zh_CN -zh_HK -zh_TW"
Comment 1 Evgeny Bobkin 2013-04-27 17:18:57 UTC
I cannot reproduce it, gimp 2.8.4 works with the latest version currently available gtk+-3.8.1. no hangs on start up. is it still a case for you?
Comment 2 Helmut Jarausch 2013-04-28 09:01:59 UTC
(In reply to comment #1)
> I cannot reproduce it, gimp 2.8.4 works with the latest version currently
> available gtk+-3.8.1. no hangs on start up. is it still a case for you?

First, I'm using the GIT version of Gimp.
Second, the current version of Gimp cannot use gtk+-3.8.1 but gtk+-2.24.17.
I suspect the culprit is glib-2.36.0 or 2.36.1

Here my complete list of dynamic libraries:

ldd =gimp  
        linux-vdso.so.1 (0x00007fff1158e000)
        libgimpwidgets-2.0.so.0 => /usr/lib64/libgimpwidgets-2.0.so.0 (0x00007f15b2a6b000)
        libgimpconfig-2.0.so.0 => /usr/lib64/libgimpconfig-2.0.so.0 (0x00007f15b2859000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f15b2218000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f15b1f61000)
        libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x00007f15b1d38000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f15b1af9000)
        libgimpcolor-2.0.so.0 => /usr/lib64/libgimpcolor-2.0.so.0 (0x00007f15b18e8000)
        libgimpmath-2.0.so.0 => /usr/lib64/libgimpmath-2.0.so.0 (0x00007f15b16e1000)
        libgimpthumb-2.0.so.0 => /usr/lib64/libgimpthumb-2.0.so.0 (0x00007f15b14d7000)
        libgimpmodule-2.0.so.0 => /usr/lib64/libgimpmodule-2.0.so.0 (0x00007f15b12d1000)
        libgimpbase-2.0.so.0 => /usr/lib64/libgimpbase-2.0.so.0 (0x00007f15b10b4000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007f15b0e93000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f15b0c86000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f15b0a71000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f15b0824000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f15b0582000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f15b0347000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f15b0029000)
        libgegl-0.2.so.0 => /usr/lib64/libgegl-0.2.so.0 (0x00007f15afd43000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f15af9e2000)
        libbabl-0.1.so.0 => /usr/lib64/libbabl-0.1.so.0 (0x00007f15af6f4000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f15af3f4000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f15af1a2000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f15aee74000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f15aec57000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f15ae8a7000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f15ae6a3000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f15ae47e000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f15ae13e000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f15adf38000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f15add2d000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f15adb1d000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f15ad912000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007f15ad707000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f15ad504000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f15ad301000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f15ad0ee000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f15acee6000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f15acc47000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f15aca31000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f15ac81d000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f15ac5f2000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f15ac356000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f15ac137000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f15abf33000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f15abcfc000)
        libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f15abaf9000)
        libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f15ab8ee000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f15ab6cc000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f15ab4c3000)
        libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f15ab2c1000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f15ab0aa000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f15aaea1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f15b2dab000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f15aac83000)
        libicule.so.51 => /usr/lib64/libicule.so.51 (0x00007f15aaa36000)
        libicuuc.so.51 => /usr/lib64/libicuuc.so.51 (0x00007f15aa6b9000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-pre9999/libstdc++.so.6 (0x00007f15aa3ac000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f15aa195000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f15a9f93000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007f15a9d8e000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007f15a9b87000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007f15a9975000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f15a9768000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f15a9564000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f15a935e000)
        libicudata.so.51 => /usr/lib64/libicudata.so.51 (0x00007f15a7c14000)
Comment 3 Sebastian Pipping gentoo-dev 2013-04-28 14:20:15 UTC
(In reply to comment #2)
> First, I'm using the GIT version of Gimp.
> Second, the current version of Gimp cannot use gtk+-3.8.1 but gtk+-2.24.17.
> I suspect the culprit is glib-2.36.0 or 2.36.1

The git version is gimp-9999, the live ebuild, right?
I'm updating the bug stitle accordingly.

Live ebuilds receive minimal support in general.
Unless you have a patch to propose, this looks like something to team up with upstream for, rather than downstream.

Unless I misunderstood something here, please close the bug as wontfix.  Thanks!
Comment 4 Helmut Jarausch 2013-04-28 15:10:38 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > First, I'm using the GIT version of Gimp.
> > Second, the current version of Gimp cannot use gtk+-3.8.1 but gtk+-2.24.17.
> > I suspect the culprit is glib-2.36.0 or 2.36.1
> 
> The git version is gimp-9999, the live ebuild, right?
> I'm updating the bug stitle accordingly.
> 
> Live ebuilds receive minimal support in general.
> Unless you have a patch to propose, this looks like something to team up
> with upstream for, rather than downstream.
> 
> Unless I misunderstood something here, please close the bug as wontfix. 
> Thanks!

Sorry, I should have mentioned that the problem occurs with Gimp-2.8.4, as well.
Comment 5 Pacho Ramos gentoo-dev 2013-05-04 16:08:09 UTC
I cannot reproduce this :|

I have glib-2.36.1
Comment 6 Pacho Ramos gentoo-dev 2013-05-18 14:46:27 UTC
Please retry with latest glib version, also try on a newly created user account with a new home
Comment 7 Helmut Jarausch 2013-05-26 09:02:28 UTC
(In reply to Pacho Ramos from comment #6)
> Please retry with latest glib version, also try on a newly created user
> account with a new home

Yes, it seems fixed now.
Thank,
Helmut.