Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68961 - gimp 2.0.x segfaulting on startup
Summary: gimp 2.0.x segfaulting on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 04:23 UTC by JG
Modified: 2004-10-30 13:53 UTC (History)
2 users (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 JG 2004-10-26 04:23:52 UTC
hi,

i tried every 2.0.x ebuild, but the problem is always the same:
if i start gimp-2.0 it loads the plugins and at the end it says "starting extensions" "extension_script_fu". after this the gui seems to load for half a second, then gimp segfaults:
$ gimp-2.0
(script-fu:27479): LibGimpBase-WARNING **: script-fu: wire_read(): error
Segmentation fault

i'm having those problem since 2 months when i completely reinstalled my system (format, ...). searching google did show some results, but no solutions. i also deleted ~/.gimp* everytime.

Reproducible: Always
Steps to Reproduce:
1. just start gimp
Actual Results:  
segmentation fault

Expected Results:  
working gimp ;)

i can't provide a gdb-trace here, because i don't know how to debug a program,
when it has more child processes.
[...]
Detaching after fork from child process 28884.
Detaching after fork from child process 28900.

Program received signal SIGSEGV, Segmentation fault.
0x409bcea2 in ?? ()
(gdb) bt
#0  0x409bcea2 in ?? ()
#1  0x0839ea48 in ?? ()
#2  0x00000064 in ?? ()
#3  0x00000079 in ?? ()
#4  0x00000079 in ?? ()
#5  0x00000018 in ?? ()

is everything i get.


# emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://10.17.1.238/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.17.1.238/gentoo-portage"
USE="3dnow X aalib acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts
cdparanoia cdr clamav crypt cups curl divx4linux dvd dvdr encode esd exif f77
fam foomaticdb ftp gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 java jpeg kde
kerberos ldap libg++ libwww mad mikmod mime ming mmap mmx motif mozilla mpeg
mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt
quicktime readline samba sasl scanner sdl slang spell sse ssl svga tetex tiff
truetype unicode usb vhosts wifi x86 xface xine xinerama xml2 xmms xprint xv
xvid zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-10-30 07:05:47 UTC
rebuild with CFLAGS="-g" and do a 't a a bt' in gdb.

Ditch -fomit-frame-pointer from your default cflags please, its a bt killer. (#68282)
Comment 2 JG 2004-10-30 11:56:44 UTC
hi,

tx for the -fomit-frame-pointer info. i have been running my gentoo system for nearly 2 years with this option and never had any problems, but i removed it now.

after looking at the 'gimp-2.0 --verbose' output, i saw that gimp also parsed /etc/gimp/2.0/*.
i was too fast deleting the /etc/gimp/ folder and don't know what was wrong, but after this gimp started up fine...

(i did also compile with CFLAG -g and used +debug as USE-flag, but wasn't able to debug gimp.)

you can close this "bug", sorry for the inconvenience.

JG
Comment 3 foser (RETIRED) gentoo-dev 2004-10-30 13:53:05 UTC
closing