Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394109 - media-gfx/rawtherapee-4.0.6 Segmentation faul from liblcms
Summary: media-gfx/rawtherapee-4.0.6 Segmentation faul from liblcms
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 08:11 UTC by Sijus
Modified: 2012-05-22 21:21 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 Sijus 2011-12-09 08:11:18 UTC
$ gdb rawtherapee 
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/rawtherapee...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/rawtherapee 
[Thread debugging using libthread_db enabled]
Automatic Monitor Profile Detection not supported on your OS

(rawtherapee:7129): GLib-GObject-WARNING **: g_object_set_property: object class `GtkSettings' has no property named `gtk-button-images'
[New Thread 0xb28e9b70 (LWP 7468)]
[New Thread 0xb1effb70 (LWP 7469)]
[New Thread 0xb0285b70 (LWP 7623)]
[New Thread 0xafa84b70 (LWP 7624)]
[New Thread 0xaf223b70 (LWP 7641)]
[Thread 0xb28e9b70 (LWP 7468) exited]
[Thread 0xb0285b70 (LWP 7623) exited]
[New Thread 0xb0285b70 (LWP 7662)]
[New Thread 0xb28e9b70 (LWP 7676)]
[New Thread 0xae7ffb70 (LWP 7677)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xae7ffb70 (LWP 7677)]
0xb73a5e13 in cmsDoTransform () from /usr/lib/liblcms2.so.2
(gdb) q
Comment 1 Sijus 2011-12-09 08:12:12 UTC
$ emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Dec 2011 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/sijus/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en lt ru"
MAKEOPTS="-j3"
PKGDIR="/home/sijus/package"
PORTAGE_CONFIGROOT="/"
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="/home/sijus/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 aac acl acpi aesicm alsa amr archive automount berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups curl custom-cflags custom-optimization cxx dbus dga dhclient dhcpcd dia djvu dri dvb dvd dvdr eds encode examples exif extv2 faad ffmpeg fftw flac fontconfig foomaticdb fortran ftp fuse gdbm geoip gif gimp glade glut gnome-keyring gnuplot gnutls gpg gphoto gphoto2 gpm graphviz gs gsm gtk gtk2 iconv icu imagemagick iproute2 iptc ipv6 java javascript jbig jingle jpeg jpeg2k kate lcms live lxde mad mjpeg mmx modules motif mp3 mpeg mplayer mudflap musepack ncurses network networking networkmanager nls nokia nptl nptlonly ntp ogg openexr opengl openmp openssl pam pcre pdf perl plotutils png policykit ppds pppd python qt3support radio ramfs rar raw readline remote resolvconf ruby samba sasl sdl secure-delete session speex spell sql sqlite sqlite3 srtp sse sse2 sse3 ssl subtitles svg svga sysfs system-sqlite tcl tcpd theora threads tiff tk truetype udev unicode unit-mm usb utils v4l v4l2 vaapi vcd video vorbis win32codecs wmf wxwidgets x264 x86 xattr xcb xine xml xmp xorg xrender xulrunner xv xvid zip zlib" ALSA_CARDS="hda-intel" 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 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 stage tables krita karbon braindump" CAMERAS="spca50x canon gsmart300 panasonic_l859 ptp2 mustek" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses pyramid text" LINGUAS="en lt ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i810 v4l vesa intel" XTABLES_ADDONS="geoip tarpit"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tim Harder gentoo-dev 2011-12-10 23:15:08 UTC
Does this occur with previous versions?
Comment 3 Sijus 2011-12-12 06:08:48 UTC
(In reply to comment #2)
> Does this occur with previous versions?

With 4.05 was same error.
With 3.0 (unofficial ebuild) not.

rebuild media-libs/lcms (vers. 2.2-r1) don't helps.
If `rm -rf .config/RawTherapee/`, 1st time rt runs without Segfaul.
Comment 4 DrSlony 2012-01-31 19:38:45 UTC
Please compile it using debug flags, you can use this automated build script:
http://rawtherapee.com/forum/viewtopic.php?f=10&t=3001#p22213
Then the GDB output will be of use, because as it is it doesn't tell us much.

Report the GDB stack backtrace with debug flags here:
http://code.google.com/p/rawtherapee/

I've had no crashes due to LCMS, using LCMS-2.3 now.
Comment 5 Tim Harder gentoo-dev 2012-05-22 21:21:11 UTC
Closing as obsolete. Please reopen if you can reproduce it with 4.0.8.

Also, if it still occurs it would be helpful to get more debugging info such as what's mentioned in comment #4.