Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158311 - gimp-2.3.13 segfaults on startup
Summary: gimp-2.3.13 segfaults on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-16 10:55 UTC by Morten Cools
Modified: 2007-04-29 15:16 UTC (History)
4 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 Morten Cools 2006-12-16 10:55:42 UTC
On starting gimp, the main window appears, and then it segfaults.

Portage 2.1.2_rc3-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.7
Last Sync: Sat, 16 Dec 2006 10:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /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/X11/xinit/xinit.d /etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="no nl 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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl curlwrappers dbus dlloader dri dvd dvdr dvdread eds elibc_glibc exif expat ffmpeg firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk-html gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jack java jdbc jpeg kerberos kernel_linux libg++ linguas_en linguas_nl linguas_no lzo mmx mmxext motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin odbc ogg openct opengl pam pcre pcsc-lite pdf perl php png ppds pppd python qt4 quicktime readline real reflection ruby samba scanner session smartcard spl sse ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nvidia vim-syntax vorbis win32codecs wma wmf xcb xorg xsl xv xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Morten Cools 2006-12-16 10:56:50 UTC
Error message and stack trace:

gimp-2.3: fatal error: Segmentation fault
gimp-2.3 (pid:29592): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
#0  0xb7f67410 in __kernel_vsyscall ()
#1  0xb77005c3 in waitpid () from /lib/libc.so.6
#2  0xb785763f in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#3  0xb7857b25 in g_on_error_query () from /usr/lib/libglib-2.0.so.0
#4  0x080676d2 in gimp_eek (reason=0x82d5ea1 "fatal error", 
#5  0x0806777c in gimp_fatal_error (fmt=0xb7781cbe "Segmentation fault")
#6  0x0806722c in gimp_sigfatal_handler (sig_num=11) at main.c:580
#7  <signal handler called>
#8  gimp_tool_options_editor_get_title (docked=0x87ae890)
#9  0x081465d7 in gimp_dockable_expose_event (widget=0x8905018, 
#10 0xb7c046e2 in gtk_marshal_BOOLEAN__VOID ()
#11 0xb78e8659 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#12 0xb78ea18c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0xb78fab3d in g_signal_chain_from_overridden ()
#14 0xb78fb7a8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0xb78fbb79 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0xb7d15304 in gtk_widget_get_default_style ()
#17 0xb7b6f779 in gtk_container_propagate_expose ()
#18 0xb7c226ec in gtk_notebook_new () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7c046e2 in gtk_marshal_BOOLEAN__VOID ()
#20 0xb78e8659 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#21 0xb78ea18c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb78fab3d in g_signal_chain_from_overridden ()
#23 0xb78fb7a8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb78fbb79 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb7d15304 in gtk_widget_get_default_style ()
#26 0xb7b6f779 in gtk_container_propagate_expose ()
#27 0xb7b6f7d1 in gtk_container_propagate_expose ()
#28 0xb7b34cf0 in gtk_box_pack_start_defaults ()
#29 0xb7b701ac in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7b7029f in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb7c046e2 in gtk_marshal_BOOLEAN__VOID ()
#32 0xb78e8659 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#33 0xb78ea18c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#34 0xb78fab3d in g_signal_chain_from_overridden ()
#35 0xb78fb7a8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#36 0xb78fbb79 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#37 0xb7d15304 in gtk_widget_get_default_style ()
#38 0xb7b6f779 in gtk_container_propagate_expose ()
#39 0xb7b6f7d1 in gtk_container_propagate_expose ()
#40 0xb7b34cf0 in gtk_box_pack_start_defaults ()
#41 0xb7b701ac in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb7b7029f in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb7c046e2 in gtk_marshal_BOOLEAN__VOID ()
#44 0xb78e8659 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#45 0xb78ea18c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#46 0xb78fab3d in g_signal_chain_from_overridden ()
#47 0xb78fb7a8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#48 0xb78fbb79 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#49 0xb7d15304 in gtk_widget_get_default_style ()
#50 0xb7b6f779 in gtk_container_propagate_expose ()
#51 0xb7b6f7d1 in gtk_container_propagate_expose ()
#52 0xb7b3107f in gtk_button_box_set_child_size ()
#53 0xb7b701ac in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#54 0xb7b7029f in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#55 0xb7d2b0c1 in gtk_window_new () from /usr/lib/libgtk-x11-2.0.so.0
#56 0xb7c046e2 in gtk_marshal_BOOLEAN__VOID ()
#57 0xb78e8659 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#58 0xb78ea09b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#59 0xb78fab3d in g_signal_chain_from_overridden ()
#60 0xb78fb7a8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#61 0xb78fbb79 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#62 0xb7d15304 in gtk_widget_get_default_style ()
#63 0xb7bfeeff in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#64 0xb7a7f390 in gdk_window_is_viewable () from /usr/lib/libgdk-x11-2.0.so.0
#65 0xb7a7f5cf in gdk_window_process_all_updates ()
#66 0xb7b70427 in gtk_container_check_resize ()
#67 0xb7871a21 in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#68 0xb78737a1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#69 0xb78767ff in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#70 0xb7876bb7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#71 0x08066812 in app_run (full_prog_name=0xbfd926eb "gimp-2.3", 
#72 0x08067170 in main (argc=0, argv=0x8487320) at main.c:316
Comment 2 Phill 2007-01-21 16:52:01 UTC
I am getting a segfault also.  I never get the splash screen though.  When I compile the vanilla gimp-2.3.13 without portage, the program runs fine.

$ gimp
This is a development version of GIMP.  Debug messages may appear here.

gimp: fatal error: Segmentation fault
gimp (pid:14233): [E]xit, [H]alt, show [S]tack trace or [P]roceed: s
#0  0x00002b94270ccab5 in waitpid () from /lib/libpthread.so.0
#1  0x00002b9426f332a2 in g_on_error_stack_trace ()
#2  0x00002b9426f33715 in g_on_error_query () from /usr/lib/libglib-2.0.so.0
#3  0x0000000000429cb4 in ?? ()
#4  0x0000000000429e2d in ?? ()
#5  0x00000000004298b9 in ?? ()
#6  <signal handler called>
#7  gimp_param_spec_rgb (name=0x6e4e75 "fgcolor", nick=0x0, 
#8  0x00000000005e54de in ?? ()
#9  0x00002b942663092f in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#10 0x00002b942661737f in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#11 0x00002b942661776c in g_object_new_valist ()
#12 0x00002b94266179a1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#13 0x0000000000646f92 in ?? ()
#14 0x00002b9426631374 in g_type_create_instance ()
#15 0x00002b94266188dd in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00002b9426616d3f in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#17 0x00002b94266177fd in g_object_new_valist ()
#18 0x00002b94266179a1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#19 0x00000000006491c8 in ?? ()
#20 0x00000000005b1949 in ?? ()
#21 0x0000000000428e42 in ?? ()
#22 0x0000000000429814 in ?? ()
#23 0x00002b94271f7374 in __libc_start_main () from /lib/libc.so.6
#24 0x0000000000428c99 in ?? ()
#25 0x00007fff85da2dd8 in ?? ()
#26 0x0000000000000000 in ?? ()
gimp (pid:14233): [E]xit, [H]alt, show [S]tack trace or [P]roceed: 


# emerge --info
Portage 2.1.2-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18 x86_64)
=================================================================
System uname: 2.6.18 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 20 Jan 2007 16:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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-r2, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
LINGUAS="en en_US"
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"
SYNC="rsync://192.168.1.2/gentoo-portage"
USE="X a52 alsa amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dga dlloader dri dts dv dvd dvdr dvdread exif ffmpeg firefox flac fortran gdbm gif gimp gnome gpm gtk gtk2 hal iconv imagemagick isdnlog jpeg lcms libg++ lzo mikmod mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python quicktime readline reflection samba session spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis xine xml2 xorg xprint xv xvid xvmc zlib" ALSA_CARDS="emu10k1 via82xx" 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="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-28 03:01:59 UTC
Please, give more details on how and where it crashes: can you see GUI ? spontaneous crash ? hang ? do you start from WM/icon ? from CLI/console ?

Specifically, wee need to know what you last can see just before crash.

Also try to:
USE="-alsa" emerge -va1 gimp

try all of this, give us strace log, and consider marking dup of bug #135559 or of bug #168673
Comment 4 Marcin Kowalski 2007-03-06 13:56:42 UTC
USE="-alsa" worked for me. 

gimp 2.3.14 / 2.3.12 would not display any errors, it would stop at splash screen, after querying the plugins, and before starting script-fu. with absolutely no error messages.

out of pure curiosity - what does gimp need alsa for?
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-06 14:02:16 UTC
(In reply to comment #4)
> out of pure curiosity - what does gimp need alsa for?

Google sent me to 
http://www.gimp.org/unix/howtos/gimp-midi.html
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2007-04-29 14:59:30 UTC
fixed in 2.3.15; worksforme.

This bug was in fact a dup of bug #135559 and bug #168673

Please close.
Comment 7 Hanno Böck gentoo-dev 2007-04-29 15:16:41 UTC
done