Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241082 - media-gfx/gimp-2.6.0 segfaults when creating second new image
Summary: media-gfx/gimp-2.6.0 segfaults when creating second new image
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240433
  Show dependency tree
 
Reported: 2008-10-10 11:30 UTC by Tobias Klausmann (RETIRED)
Modified: 2008-10-15 12:48 UTC (History)
0 users

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 Tobias Klausmann (RETIRED) gentoo-dev 2008-10-10 11:30:34 UTC
To provoke this bug:
1 Start gimp
2 Select file/new image
3 use the default settings in the new image dialog (simply click ok)
4 Repeat Steps 2 and 3.

Backtrace (probably not helpful due to a smashed stack):

$ gdb gimp
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/gimp 
[Thread debugging using libthread_db enabled]
[New Thread 0xb73328d0 (LWP 20545)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73328d0 (LWP 20545)]
0x0810355d in gimp_display_shell_scale_update_rulers (shell=0x9b2c648)
    at gimpdisplayshell-scale.c:167
167	gimpdisplayshell-scale.c: No such file or directory.
	in gimpdisplayshell-scale.c
(gdb) bt
#0  0x0810355d in gimp_display_shell_scale_update_rulers (shell=0x9b2c648)
    at gimpdisplayshell-scale.c:167
#1  0x080ed483 in gimp_display_shell_set_unit (shell=0x9b2c648, 
    unit=GIMP_UNIT_INCH) at gimpdisplayshell.c:1492
#2  0xb77285f1 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#3  0xb7635b7c in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

I'll give 2.6.1 a spin once it hits portage.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2008-10-10 11:33:19 UTC
And here's emerge --info:
Portage 2.2_rc11 (default-linux/x86/2007.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.26.5 i686)
=================================================================
System uname: Linux-2.6.26.5-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Fri, 10 Oct 2008 09:15:05 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/"
INSTALL_MASK="/etc/udev/rules.d/75-persistent-net-generator.rules"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 acl acpi aim alsa ao apache2 audiofile bash-completion berkdb browserplugin bzip2 bzlib cairo cdr cli cracklib crypt cups curlwrappers divx4linux dri dv dvd dvdr dvdread emboss encode ethereal evo exif exiscan exiscan-acl fam fame ffmpeg fftw firefox font-server fortran ftp gdbm gif gimpprint gnutls gpgme gpm gstreamer gtk hal iconv icq imap isdnlog jabber jpeg kdeenablefinal mad maildir midi mikmod mmap mmx mng mp3 mpeg mpi mudflap ncurses network nls nptl nptlonly offensive ogg openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline recode reflection sdl session sndfile spell spl sse ssl svg sysvipc tcpd theora tiff truetype unicode usb v4l v4l2 vorbis win32codecs wmf wxwindows x264 x86 xattr xml xorg xpm xscreensaver xv xvid yv12 zlib" ALSA_CARDS="intel8x0" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2008-10-15 12:48:19 UTC
This seems to be fixed in 2.6.1.