Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498340 - =media-gfx/xsane-0.999 - segmentation fault in libjpeg.so.62 while previewing
Summary: =media-gfx/xsane-0.999 - segmentation fault in libjpeg.so.62 while previewing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 10:49 UTC by dio
Modified: 2014-01-24 13:48 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 dio 2014-01-17 10:49:49 UTC
Wenn I try to get a preview or do a page scan from my Brother DCP-9270CDN, xsane abruptly terminates, and I get the following line in /var/log/messages:
Jan 17 11:44:05 xxxx kernel: xsane[xxxxx]: segfault at 10 ip b5262710 sp bf8e4ab0 error 4 in libjpeg.so.62[b5255000+23000]
Comment 1 dio 2014-01-17 10:52:25 UTC
This happens regardless of any configuration I can do in the frontend (ADF/flatbed, color model, resolution, page size, target (save, viewer, multipage...)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-17 11:06:01 UTC
libjpeg.so.62 is for binary-only packages.
Please post the following information:

- output of "emerge --info"
- output of "qlist -CIv jpeg" (qlist belongs to app-portage/portage-utils)
Comment 3 dio 2014-01-19 14:37:20 UTC
# emerge --info
Portage 2.2.7 (default/linux/x86/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.17-gentoo-03 i686)
=================================================================
System uname: Linux-3.10.17-gentoo-03-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.2
KiB Mem:     8205580 total,   6595036 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Sat, 11 Jan 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"                                                                                                                                                                                                           
DISTDIR="/usr/portage/distfiles"                                                                                                                                                                                                             
FCFLAGS="-O2 -march=i686 -pipe"                                                                                                                                                                                                              
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                                                                                                                                                                                  
FFLAGS="-O2 -march=i686 -pipe"                                                                                                                                                                                                               
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"                                                                                                                                            
LANG="en_US.UTF-8"                                                                                                                                                                                                                           
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                                                                            
PKGDIR="/usr/portage/packages"                                                                                                                                                                                                               
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"             
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                                                    
PORTDIR="/usr/portage"                                                                                                                                                                                                                       
PORTDIR_OVERLAY=""                                                                                                                                                                                                                           
SYNC="rsync://rsync.at.gentoo.org/gentoo-portage"                                                                                                                                                                                            
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv icu ipv6 jpeg kde kipi lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"                         
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 dio 2014-01-19 14:37:59 UTC
# qlist -CIv jpeg
media-libs/jpeg-6b-r9
media-libs/libjpeg-turbo-1.3.0
virtual/jpeg-0
Comment 5 Pacho Ramos gentoo-dev 2014-01-20 21:06:14 UTC
Please try rebuilding xsane and post:
$ ldd /usr/bin/xsane |grep jpeg
	libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x0000003e15c00000)
Comment 6 dio 2014-01-21 08:09:55 UTC
After re-emerging xsane, I get:

# ldd /usr/bin/xsane |grep jpeg
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb6fa2000)

(I have a 32-bit system)

And the problem persists (with the same message in the syslog).
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-23 14:42:32 UTC
Can you please try latest ~x86 version of libjpeg-turbo? I was told that might fix your problem.
Comment 8 dio 2014-01-24 10:23:37 UTC
This did indeed solve this particular problem.

It creates a new serious one however (just for the record): icedtea-bin uses package media-libs/jpeg, which conflicts with media-libhs/libjpeg-turbo — so I now have to use the Sun-JDK until this issue gets fixed.  =:(
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2014-01-24 13:48:41 UTC
(In reply to dio from comment #8)
> This did indeed solve this particular problem.
> 
> It creates a new serious one however (just for the record): icedtea-bin uses
> package media-libs/jpeg, which conflicts with media-libhs/libjpeg-turbo — so
> I now have to use the Sun-JDK until this issue gets fixed.  =:(

that'd be bug 499110