Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302475 - app-misc/strigi-0.7.1 segfaults, backtrace attached
Summary: app-misc/strigi-0.7.1 segfaults, backtrace attached
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 17:21 UTC by Jan Essert
Modified: 2010-04-07 22:15 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 Jan Essert 2010-01-27 17:21:33 UTC
In my syslog, I have the following message since upgrading to strigi-0.7.1:

strigidaemon[2797]: segfault at 9e3d000 ip 00007fc281a7f258 sp 00007fc2793d9550 error 4 in libstreams.so.0.7.1[7fc281a5b000+3b000]

So I started strigidaemon directly on the console in gdb and was able to produce the following backtrace after several minutes of waiting (and spewing out probably irrelevant messages):

'' is not a UTF8 or latin1 string

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffef08b710 (LWP 31290)]
QuotedPrintableDecoder::decodeQuotedPrintable (this=0x3bbe8f0, v=0x81d3000 <Address 0x81d3000 out of bounds>, len=<value optimized out>)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:120
120     /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp: Datei oder Verzeichnis nicht gefunden.
        in /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp
(gdb)
(gdb) bt
#0  QuotedPrintableDecoder::decodeQuotedPrintable (this=0x3bbe8f0, v=0x81d3000 <Address 0x81d3000 out of bounds>, len=<value optimized out>)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:120
#1  0x00007ffff77309f2 in HeaderDecoder::decodedHeaderValue (this=0x3bbe8f0, v=<value optimized out>, len=<value optimized out>)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:178
#2  0x00007ffff7730bd4 in Strigi::MailInputStream::Private::handleHeaderLine (this=0x3bbe860)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:493
#3  0x00007ffff7731f04 in Strigi::MailInputStream::Private::readHeader (this=0x3bbe860)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:440
#4  0x00007ffff773288f in MailInputStream (this=0x7fffef08a7c0, input=<value optimized out>)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streams/mailinputstream.cpp:320
#5  0x00007ffff7bae7d5 in MailEndAnalyzer::analyze (this=0x4cea7e0, idx=..., in=0xffffffffffffff90)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streamanalyzer/endanalyzers/mailendanalyzer.cpp:149
#6  0x00007ffff7b9f432 in Strigi::StreamAnalyzerPrivate::analyze (this=0x7fffe905c810, idx=..., input=0x7375b0)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streamanalyzer/streamanalyzer.cpp:421
#7  0x00007ffff7b9d591 in Strigi::StreamAnalyzer::indexFile (this=<value optimized out>, filepath=...)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/streamanalyzer/streamanalyzer.cpp:207
#8  0x000000000040d60f in IndexScheduler::processListenerEvents (this=<value optimized out>, events=<value optimized out>)
    at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/daemon/indexscheduler.cpp:163
#9  0x000000000040ded8 in IndexScheduler::run (this=0x7fffffffd730) at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/daemon/indexscheduler.cpp:87
#10 0x0000000000414ef3 in threadstarter (d=0x7fffffffd730) at /var/tmp/portage/app-misc/strigi-0.7.1/work/strigi-0.7.1/src/daemon/strigithread.cpp:143
#11 0x00007ffff794fb24 in start_thread () from /lib/libpthread.so.0
#12 0x00007ffff69e033d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

This is preceded by many error messages of the form: 'xy' is not a UTF8 or latin1 string, but which I do not think is related.

I do not know whether this is a Gentoo issue or not. I will report it at the KDE bugtracker if you would like me to.

Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 27 Jan 2010 16:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dirac djvu dri dts dvb dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif hal hbci iconv imap ipod jpeg jpeg2k kde kdehiddenvisibility kipi libnotify mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntpl ntplonly ogg openexr opengl openmp pam pch pcre pdf perl png pop ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection schroedinger sdl semantic-desktop session smtp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis x264 xattr xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ice1712" 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" CAMERAS="directory ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-04-01 16:43:26 UTC
is this reported upstream?
Comment 2 Jan Essert 2010-04-07 22:15:43 UTC
I am not sure whether I have reported this upstream. In any case, the segfault is gone now. I should already have closed this bug, I am sorry for forgetting about it.