Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228367 - app-misc/strigi-0.5.10: strigidaemon segmentation faults on startup
Summary: app-misc/strigi-0.5.10: strigidaemon segmentation faults on startup
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 15:08 UTC by Scott Thomson
Modified: 2009-02-16 14:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Improved back trace (strigi-crash-bt.txt,1.67 KB, text/plain)
2008-07-02 16:55 UTC, Scott Thomson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Thomson 2008-06-19 15:08:17 UTC
After trying to start strigidaemon, I get an instantaneous seg fault

Reproducible: Always

Steps to Reproduce:
1. run strigidaemon in a shell
2.
3.

Actual Results:  
Segmentation fault (core dumped)

Expected Results:  
strigidaemon to start

*** Trimmed paludis info...

Paludis build information:
    Compiler:             
        CXX:                   i686-pc-linux-gnu-g++ 4.3.1
        CXXFLAGS:              -O2 -march=pentium-m -fomit-frame-pointer -fno-ident -pipe
        LDFLAGS:               -Wl,-O1                                                   
        DATE:                  2008-06-17T11:09:38+0100                                  

    Libraries:
        C++ Library:           GNU libstdc++ 20080606

    Reduced Privs:
        reduced_uid:           103
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /dev/null   
        reduced_gid:           413         
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib  
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc        
        PYTHONINSTALLDIR:      /usr/lib/python2.5/site-packages
        RUBYINSTALLDIR:        /usr/lib/ruby/site_ruby/1.8/i686-linux

Repository virtuals:
    format:                    virtuals

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /                 

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false           
    binary_keywords:                           
    binary_uri_prefix:                         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles     
    eapi_when_unknown:         0                          
    eapi_when_unspecified:     0                          
    eclassdirs:                /usr/portage/eclass        
    ignore_deprecated_profiles: false                     
    layout:                    traditional                
    names_cache:               /var/cache/paludis/names   
    newsdir:                   /usr/portage/metadata/news 
    profile_eapi:              0                          
    profiles:                  /usr/portage/profiles/default-linux/x86/2007.0/desktop
    securitydir:               /usr/portage/metadata/glsa                            
    setsdir:                   /usr/portage/sets                                     
    sync:                      rsync://rsync.uk.gentoo.org/gentoo-portage            
    sync_options:                                                                    
    use_manifest:              use                                                   
    write_cache:               /var/cache/paludis/metadata                           

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p39    
        dev-java/java-config:  1.3.7 2.1.6
        dev-lang/python:       2.4.4-r13 2.5.2-r4
        dev-python/pycrypto:   (none)            
        dev-util/ccache:       2.4-r7            
        dev-util/confcache:    (none)            
        sys-apps/baselayout:   2.0.0             
        sys-apps/openrc:       0.2.5             
        sys-apps/sandbox:      1.2.18.1-r2       
        sys-devel/autoconf:    2.13 2.62         
        sys-devel/automake:    1.10.1-r1 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r1                                 
        sys-devel/gcc-config:  1.4.0-r4                                
        sys-devel/libtool:     2.2.4                                   
        virtual/os-headers:    2.6.25-r4 (for sys-kernel/linux-headers::installed)

*** USE flags...

paludis -q strigi
* app-misc/strigi
    gentoo:                  0.5.8 0.5.9 0.5.10 {:0}
    installed:               0.5.10* {:0}
    Description:             Fast crawling desktop search engine with Qt4 GUI
    Homepage:                http://www.vandenoever.info/software/strigi
    Relevant USE flags:      (clucene) (dbus) (-debug) (exiv2) (fam) (-hyperestraier) (-inotify) (qt4) (-test)
    License:                 GPL-2
    Installed time:          Thu Jun 19 14:03:05 2008
    Source repository:       gentoo
    Installed using:         paludis-0.26.2

*** Backtrace...

Core was generated by `strigidaemon'.
Program terminated with signal 11, Segmentation fault.
[New process 5831]
#0  0xb7da15ca in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/libstdc++.so.6
(gdb) bt
#0  0xb7da15ca in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/libstdc++.so.6
#1  0x08094423 in std::find_if<std::_List_iterator<Repository>, FindRepository> ()
#2  0x080912e2 in DaemonConfigurator::DaemonConfigurator ()
#3  0x080525f9 in main ()
Current language:  auto; currently asm
Comment 1 Scott Thomson 2008-07-02 16:55:25 UTC
Created attachment 159343 [details]
Improved back trace

I re-compiled with 'debug' use flag enabled to see if I could get any extra clues and I've attached the new back trace.
Comment 2 David Saro 2008-07-06 01:02:24 UTC
app-misc/strigi-0.5.9 is not affected by this bug.
Comment 3 Scott Thomson 2008-07-07 06:33:26 UTC
Thanks, I'll mask 0.5.10 for the time being.  Incidentally, upstream trunk is still affected by this bug, should I report it upstream or leave it to maintainer(s)?
Comment 4 Albert Zeyer 2008-07-29 19:19:43 UTC
Bug also occurs in recent SVN (rev 839270):

az@acomputer ~ $ gdb strigidaemon                                          
GNU gdb 6.7.1                                                              
Copyright (C) 2007 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"...                           
Using host libthread_db library "/lib/libthread_db.so.1".                   
(gdb) r                                                                     
Starting program: /usr/bin/strigidaemon                                     
[Thread debugging using libthread_db enabled]                               
[New Thread 0xb7affa20 (LWP 30847)]                                         

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7affa20 (LWP 30847)]        
0xb7d111a9 in __gnu_cxx::__exchange_and_add ()      
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
(gdb) bt                                                   
#0  0xb7d111a9 in __gnu_cxx::__exchange_and_add ()         
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#1  0xb7cf49e1 in std::string::assign ()                   
   from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#2  0x08097042 in DaemonConfigurator (this=0xbfce8990,     
    confFile=@0xbfce89e4)                                  
    at /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:486                                                                      
#3  0x080515a6 in main (argc=Cannot access memory at address 0x0            
)                                                                           
    at /var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/src/daemon/daemon.cpp:236                                                                 
#4  0xb7b22fdc in __libc_start_main () from /lib/libc.so.6                  
#5  0x08050471 in _start ()                                                 
(gdb) q                                                                     
The program is running.  Exit anyway? (y or n) y
Comment 5 Albert Zeyer 2008-07-29 19:20:35 UTC
az@acomputer ~ $ emerge --info                         
Portage 2.2_rc1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.16.19 i686)                                                           
=================================================================           
System uname: Linux-2.6.16.19-i686-AMD_Athlon-tm-_XP_2000+-with-glibc2.0    
Timestamp of tree: Wed, 16 Jul 2008 16:03:01 +0000                          
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                                                                      
app-shells/bash:     3.2_p33                                                
dev-java/java-config: 1.3.7, 2.1.6                                          
dev-lang/python:     2.4.4-r13                                              
dev-python/pycrypto: 2.0.1-r6                                               
sys-apps/baselayout: 1.12.11.1                                              
sys-apps/sandbox:    1.2.18.1-r2                                            
sys-devel/autoconf:  2.13, 2.61-r2                                          
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.1                                                                           
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r3, 2.17-r1, 2.18-r3           
sys-devel/gcc-config: 1.4.0-r4                                              
sys-devel/libtool:   1.5.26                                                 
virtual/os-headers:  2.6.23-r3                                              
ACCEPT_KEYWORDS="x86"                                                       
CBUILD="i686-pc-linux-gnu"                                                  
CFLAGS="-O2 -march=athlon-xp -ggdb -pipe"                                   
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/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"                                                           
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                           
CXXFLAGS="-O2 -march=athlon-xp -ggdb -pipe"                                 
DISTDIR="/usr/portage/distfiles"                                            
FEATURES="candy distlocks parallel-fetch preserve-libs sandbox sfperms splitdebug unmerge-orphans userfetch"                                            
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                   
LANG="en_US.UTF-8"                                                          
LC_ALL="en_US.UTF-8"                                                        
LDFLAGS=""                                                                  
LINGUAS="de"                                                                
MAKEOPTS="-j2"                                                              
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/portage/local/layman/kdesvn-portage /usr/portage/local/layman/mpd /usr/portage/local/private"                                     
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                              
USE="3dnow 3dnowext GAPING_SECURITY_HOLE X X509 a52 aac aalib acl acpi acpi4linux adns afs agg aiglx alsa amd amuled aqua_theme archive ares asf asm atm auctex avahi bash-completion bidi binary binary-drivers bindist bittorrent bl bonjour bookmarks bootsplash bzip2 bzlib cairo captury cdda cddb cdio cdparanoia cdr cdrom cgi clisp cmake codecs corba cracklib crypt cups curl custreloc dbus dedicated dga dhcp divx4linux dlopen dmi dnd dri dts dv dvd dvdnav dvdr dvdread dxr3 encode exif faad fam fame ffmpeg firefox flac flash font-server fortran fpx freetype ftp galago gcj gcl gd gdbm ggi gif gimp gl glib glitz glslideshow glut gnome gphoto2 gprof graphviz gs gstreamer gtk gtk2 gzip h323 hal haskell howl howl-compat html httpd hyperestraier iconv imagemagick imap imlib imlib2 inotify insecure-drivers ithreads jack java jbig jikes jit jpeg jpeg2k kde lame lcms ldap libcaca libnotify libwww linuxthreads-tls live lzo mad matroska mbox mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mod modplug mozbranding mozcalendar mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mppe-mppc mudflap multislot musepack musicbrainz mysqlnautilus ncurses nepomuk net network njb nls nntp nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis openal opengl openmp oss pam pascal pch pcre pdf php plasma png pop posix ppds prebuilt-system pthreads python qt qt3support qt4 quicktime rar readline real rogue rplay rtc rtsp ruby samba sasl screen sdl semantic-desktop server session shorten shout silvercity silverxpskins slp sndfile sockets solver speedo speex spell sqlite sse sse-filters ssl startup-notification stream subversion svg svga tagwriting tcltk teamarena tetex tga themes theora threads threadsafe thumbnail tiff transcode truetype type1 unicode urandom usb utf8 v4l v4l2 vcd vdr vidix visualization vlm vorbis win32codecs wma wmf wxwindows x264 x86 xanim xatrix xcomposite xext xface xforms xine xorg xosd xpm xprint xrandr xrender xscreensaver xsettings xterm xulrunner xv xvid xvmc zeroconf zip zlib zvbi" ALSA_CARDS="emu10k1" 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" 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" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv apm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Albert Zeyer 2008-07-29 19:29:09 UTC
I wonder a bit, this has occured on *all* of my systems where I tested it (3 different setups), with both 0.5.10 and SVN.
Comment 7 Soren Harward 2008-09-22 02:28:17 UTC
I've determined it's a problem upstream because I'm getting a segfault with the SNV version in the XML parser code.  Hopefully one of the Strigi devs (or someone else) picks this up because it's been broken for a long time.
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-02-16 14:24:56 UTC
strigi-0.5* versions have been removed from the tree. Please test with 0.6.4 and if possible with KDE 4.2 as well (as i'm going to remove 4.1 soon), and close if fixed