Hi,
        I have a segfault problem as well with strigdaemon 0.3.11 . I've sent 
the 
author a backtrace from gdb (attached), and he thinks the problem is "It is 
in a kde plugins for analyzing the files."
        I have compiled the strigi-daemon on my computer from the debian source 
package and installed those packages instead of the debian binaries.  Now 
strigi-daemon no longer segfaults.
        (It does get hung up on wvWare processing a file.  wvWare appears to 
finish 
after manually running wvWare on the same file.  I think strigi-daemon might 
be waiting for wvWare even though wvWare is actually done.  Perhaps a 
separate problem.)
        Would it matter if these packages were compiled with kde-3.5.5 versus 
kde-3.5.6?  E.g. if the binary packages were created on a system with 
kde-3.5.6 would they work on a system with kde-3.5.5?  Or maybe some other 
problem with creating the binary package on a system with 
other "experimental" packages, then installing the binary package on a 
mostly "testing" system?

Thanks,
        C.
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/strigidaemon
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1216846144 (LWP 9974)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
2007-02-23 00:07:59,386 [3078121152] DEBUG strigi.daemon - filter manager 
initialized
[New Thread -1216848976 (LWP 9977)]
[New Thread -1225237584 (LWP 9978)]
/usr/lib/strigi/strigita_magic.so
(no debugging symbols found)
(no debugging symbols found)
/usr/lib/strigi/strigita_kfile.so
(no debugging symbols found)
/usr/lib/strigi/strigita_libextractor.so
/usr/lib/strigi/strigita_xattr.so
2007-02-23 00:09:54,704 [3078118320] DEBUG strigi.IndexScheduler - 0 real files 
in the database
2007-02-23 00:09:54,705 [3078118320] DEBUG strigi.IndexScheduler - going to 
index
listFiles /home/csights/.kde
listFiles /home/csights/ddata
2007-02-23 00:10:10,152 [3078118320] DEBUG strigi.IndexScheduler - 0 files to 
remove
2007-02-23 00:10:10,169 [3078118320] DEBUG strigi.IndexScheduler - 60958 files 
to add or update

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216848976 (LWP 9977)]
---Type <return> to continue, or q <return> to quit---
KInstance::dirs (this=0x0) at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp:162
162     /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp: No such file 
or directory.
        in /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp
Current language:  auto; currently c++
(gdb) thread 1
[Switching to thread 1 (Thread -1216846144 (LWP 9974))]#0  0xb7ec15fe in accept 
()
   from /lib/tls/libpthread.so.0
(gdb) backtrace
#0  0xb7ec15fe in accept () from /lib/tls/libpthread.so.0
#1  0x0805eac4 in SocketServer::run ()
#2  0x0805a222 in main ()
(gdb) thread 2
[Switching to thread 2 (Thread -1216848976 (LWP 9977))]#0  KInstance::dirs 
(this=0x0)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp:162
162     in /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp
(gdb) backtrace
#0  KInstance::dirs (this=0x0) at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kinstance.cpp:162
#1  0xb6667b22 in KGlobal::dirs () at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kglobal.cpp:58
#2  0xb669c209 in KSycoca::openDatabase (this=0x89878b0, 
openDummyIfNotFound=true)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/ksycoca.cpp:116
#3  0xb669ea96 in KSycoca (this=0x89878b0)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/ksycoca.cpp:103
#4  0xb669eb29 in KSycoca::self () at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/ksycoca.cpp:215
#5  0xb66b5aec in KSycocaFactory (this=0x8987860, 
factory_id=KST_KServiceTypeFactory)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/ksycocafactory.cpp:34
#6  0xb63a9748 in KServiceTypeFactory (this=0x8987860)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kservicetypefactory.cpp:34
#7  0xb63a993b in KServiceTypeFactory::self ()
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kservicetypefactory.cpp:76
#8  0xb63d621c in KMimeType::buildDefaultType ()
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kmimetype.cpp:73
#9  0xb63d781b in KMimeType::checkEssentialMimeTypes ()
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kmimetype.cpp:102
#10 0xb63d81c3 in KMimeType::findByURL ([EMAIL PROTECTED], _mode=0, 
_is_local_file=false,
    _fast_mode=false) at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kmimetype.cpp:168
#11 0xb640c83c in KFileMetaInfo::init (this=0xb7784d3c, [EMAIL PROTECTED], 
[EMAIL PROTECTED],
    what=12) at 
/tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kfilemetainfo.cpp:319
#12 0xb640ca82 in KFileMetaInfo (this=0xb7784d3c, [EMAIL PROTECTED], [EMAIL 
PROTECTED], what=12)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kio/kio/kfilemetainfo.cpp:309
#13 0xb7ef55d7 in KFileAnalyzer::connectInputStream () from 
/usr/lib/strigi/strigita_kfile.so
#14 0xb7ed6365 in jstreams::StreamIndexer::analyze () from 
/usr/lib/libstreamindexer.so.0
---Type <return> to continue, or q <return> to quit---
#15 0xb7edfbdb in jstreams::Indexable::index () from 
/usr/lib/libstreamindexer.so.0
#16 0xb7ed56b7 in jstreams::StreamIndexer::indexFile () from 
/usr/lib/libstreamindexer.so.0
#17 0x0806453c in IndexScheduler::index ()
#18 0x08066fba in IndexScheduler::run ()
#19 0x0806879a in threadstarter ()
#20 0xb7ebc0bd in start_thread () from /lib/tls/libpthread.so.0
#21 0xb797c9ee in clone () from /lib/tls/libc.so.6
(gdb) thread 3
[Switching to thread 3 (Thread -1225237584 (LWP 9978))]#0  0xb79756a7 in select 
()
   from /lib/tls/libc.so.6
(gdb) backtrace
#0  0xb79756a7 in select () from /lib/tls/libc.so.6
#1  0x08074722 in DBusServer::run ()
#2  0x0806879a in threadstarter ()
#3  0xb7ebc0bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb797c9ee in clone () from /lib/tls/libc.so.6
(gdb) thread 4
Thread ID 4 not known.
(gdb)

Reply via email to