Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168673 - media-gfx/gimp-2.3.14 crashed at startup
Summary: media-gfx/gimp-2.3.14 crashed at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 02:16 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-04-29 14:56 UTC (History)
1 user (show)

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


Attachments
/tmp/emerge--info (emerge--info,4.37 KB, text/plain)
2007-02-28 02:16 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/gimp_strace (gimp_strace,295.87 KB, text/plain)
2007-02-28 02:17 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 02:16:03 UTC
When I launch from CLI, I dont get any message in console, and loader hangs when "looking for data files" at "module" stage.

When started from E17 menu, E17 returns a popup after reaching the "module" step:
(hand copy of message)
gimp-2.3: pthread_mutex_lock.c:82: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
gimp-2.3: termination: Aborted

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

bits of strace (I put a blank where it freeses, then I right click on the close box of window decoration what forces kill with E17):


mmap2(0xb7380000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x2) = 0xb7380000
close(7)                                = 0
munmap(0xb737e000, 8808)                = 0
stat64("/usr/lib/gimp/2.0/modules/libcdisplay_highcontrast.so", {st_mode=S_IFREG|0755, st_size=7228, ...}) = 0
stat64("/usr/lib/gimp/2.0/modules/libcdisplay_highcontrast.so", {st_mode=S_IFREG|0755, st_size=7228, ...}) = 0
open("/usr/lib/gimp/2.0/modules/libcdisplay_highcontrast.so", O_RDONLY) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\f\0"..., 512) = 512
fstat64(7, {st_mode=S_IFREG|0755, st_size=7228, ...}) = 0
mmap2(NULL, 9972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb737e000
mmap2(0xb7380000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x1) = 0xb7380000
close(7)                                = 0
munmap(0xb737e000, 9972)                = 0
getdents64(6, /* 0 entries */, 4096)    = 0
close(6)                                = 0
mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7119000
mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7108000
mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb70f7000
write(3, "\20\0\5\0\t\0\340\1CLIPBOARD\4\5\0", 20) = 20
read(3, 0xbfb43330, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\241m\4\0\0\0\0J\1\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
brk(0x86f4000)                          = 0x86f4000
brk(0x86f3000)                          = 0x86f3000
open("/home/dhp/.gimp-2.3/sessionrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/gimp/2.0/sessionrc", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=1294, ...}) = 0
mmap2(NULL, 1294, PROT_READ, MAP_PRIVATE, 6, 0) = 0xb7380000
close(6)                                = 0
munmap(0xb7380000, 1294)                = 0
futex(0x847e41c, FUTEX_WAIT, 2, NULL



)   = -1 EINTR (Interrupted system call)
--- SIGINT (Interrupt) @ 0 (0) ---
futex(0xb7730620, FUTEX_WAKE, 2147483647) = 0
write(2, "gimp: terminated: Interrupt\n", 28gimp: terminated: Interrupt
) = 28
exit_group(1)                           = ?
Process 30950 detached

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Also had removed my .gimp* as proposed in other bugs.

compile with USE="-alsa" on way.

Maybe dup of bug #158311 or bug #135559 ? they dont give enough info to say ...
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 02:16:20 UTC
Created attachment 111509 [details]
/tmp/emerge--info
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 02:17:18 UTC
Created attachment 111511 [details]
/tmp/gimp_strace
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 02:54:02 UTC
I did this:

root@moon_gen_2:~# emerge -vp gimp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] media-gfx/gimp-2.3.14  USE="aalib doc jpeg lcms mmx mng pdf png python sse svg tiff wmf -alsa (-altivec) -debug -gnome -gtkhtml -smp" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
root@moon_gen_2:~# cat /etc/portage/package.use  |grep alsa
=media-gfx/gimp-2.3.14 -alsa
root@moon_gen_2:~#

and it works very well; so, as mentioned in refered bug, yes USE="-alsa" is an efficient workaround ! Also restaured archives of .gimp* ... still works fine.
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 02:55:46 UTC
(In reply to comment #3)
> and it works very well; so, as mentioned in refered bug, yes USE="-alsa" is an
> efficient workaround ! Also restaured archives of .gimp* ... still works fine.

so ... is this dup of bug #135559 ?
Comment 5 Jonathan Coome (RETIRED) gentoo-dev 2007-03-31 13:37:19 UTC
I've just had the same problem happening with gimp-2.2.12, which doesn't have an alsa USE flag...

$ emerge -pv gimp
[ebuild   R   ] media-gfx/gimp-2.2.12  USE="jpeg mng png python sse -aalib (-altivec) -debug -doc -gimpprint -gtkhtml -hardened -lcms -mmx -smp -svg -tiff -wmf" 0 kB

$ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 29 Mar 2007 09:50:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk  	ftp://mirrors.blueyonder.co.uk/mirrors/gentoo 	http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 	ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/home/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/portage/tree"
PORTDIR_OVERLAY="/home/portage/overlay /home/portage/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa apm asf audiofile avi berkdb bitmap-fonts bzip2 crypt curl dri encode expat fam ffmpeg firefox flac gd gdbm gif glut gpm gtk gtk2 imlib jpeg libg++ libwww mad mng mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl pmu png python readline sdl spell sse ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml2 xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-31 13:41:27 UTC
(In reply to comment #5)
> I've just had the same problem happening with gimp-2.2.12, which doesn't have
> an alsa USE flag...
according to comment 3, try to
USE="-alsa" emerge -va =media-gfx/gimp-2.3.14

Also give some log, like strace, or anything you could think of.
Comment 7 DEMAINE Benoît-Pierre, aka DoubleHP 2007-04-29 14:56:47 UTC
Fixed since 2.3.15