--===============0479941141== Content-Type: multipart/signed; boundary="nextPart3532460.IRudK4IB1L"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3532460.IRudK4IB1L Content-Type: multipart/mixed; boundary="Boundary-01=_HnH2GqZ+ft3OlUM" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_HnH2GqZ+ft3OlUM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've spent the last few hours trying to debug a crash in dolphin, and=20 I'm stuck. System: Arch linux libxml-2.6.29 raptor-1.4.15 rasqal-0.9.14 redland-1.0.5 Up-to-date svn KDE 4 build environment What happens is that I start strigidaemon and nepomukdaemon, start=20 dolphin and hover over a file (not a folder). Dolphin crashes about=20 half a second later (just when the information panel changes to show=20 the info for the file being hovered over). GDB backtrace (from Dr Konqi) and relevant valgrind output (both from=20 the same session) attached. I've got as far as figuring that=20 Strigi::SaxEventAnalyzer::Private::init() is creating an xmlParserCtxt=20 (for libxml) with itself as the user_data, but for some reason raptor=20 is handling error messages and when an error occurs in xmlParseChunk=20 (in Strigi::SaxEventAnalyzer::Private::push()), its error handler gets=20 called. However, this is expecting a raptor_error_handlers structure=20 in the user_data. So it tries to access a member that doesn't exist,=20 and crashes. I'm not sure how Raptor gets involved. It's a dependency of Redland,=20 which is a dependency of Soprano, which is used by Nepomuk. One more thing: I get this crash consistently across successive runs of=20 dolphin. However, restarting nepomukdaemon (and nepomukcoreservices)=20 sometimes cures the problem for one or two runs of dolphin. Any help or pointers appreciated. Alex =2D-=20 KDE: http://www.kde.org Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org --Boundary-01=_HnH2GqZ+ft3OlUM Content-Type: text/plain; charset="utf-8"; name="dolphin-strigi-error.bt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dolphin-strigi-error.bt" =1B[?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 102669552 (LWP 13549)] [New Thread 153729936 (LWP 13553)] [KCrash handler] #14 0x006f002e in ?? () #15 0x0985f7bf in raptor_log_error (level=3DRAPTOR_LOG_LEVEL_ERROR,=20 handler=3D0x6f002e, handler_data=3D0x730000, locator=3D0x32002f,=20 message=3D0x64f6498 "XML parser error: Document is empty") at raptor_general.c:914 #16 0x09867f6f in raptor_libxml_xmlStructuredErrorFunc (user_data=3D0x66db5= d0,=20 err=3D0x64ec298) at raptor_libxml.c:623 #17 0x0601e228 in __xmlRaiseError () from /usr/lib/libxml2.so.2 #18 0x06022e23 in xmlFatalErr () from /usr/lib/libxml2.so.2 #19 0x06034d90 in xmlParseChunk__internal_alias () from /usr/lib/libxml2.so= =2E2 #20 0x04f39f8a in Strigi::SaxEventAnalyzer::Private::push () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #21 0x04f3a0b0 in Strigi::SaxEventAnalyzer::Private::init () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #22 0x04f39a65 in Strigi::SaxEventAnalyzer::handleData () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #23 0x04f17495 in Strigi::EventThroughAnalyzer::handleData () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #24 0x04f967f7 in Strigi::DataEventInputStream::read () from /home/kde-devel/kde/lib/libstreams.so.0 #25 0x04f3c8ca in Strigi::StreamAnalyzerPrivate::analyze () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #26 0x04f3cf99 in Strigi::StreamAnalyzer::analyze () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #27 0x048cc353 in KFileMetaInfoPrivate::init (this=3D0x651f9f8,=20 stream=3D@0xbee0a4e4, url=3D@0xbee0a590, mtime=3D1184282061) at /home/kde-devel/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:189 #28 0x048cc496 in KFileMetaInfo (this=3D0xbee0a564, url=3D@0xbee0a590) at /home/kde-devel/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:222 #29 0x0807d444 in InfoSidebarPage::showMetaInfo (this=3D0x6784bf8) at /home/kde-devel/src/KDE/kdebase/apps/dolphin/src/infosidebarpage.cpp= :292 #30 0x0807dfa9 in InfoSidebarPage::showItemInfo (this=3D0x6784bf8) at /home/kde-devel/src/KDE/kdebase/apps/dolphin/src/infosidebarpage.cpp= :217 #31 0x0807dfdf in InfoSidebarPage::slotTimeout (this=3D0x6784bf8) at /home/kde-devel/src/KDE/kdebase/apps/dolphin/src/infosidebarpage.cpp= :223 #32 0x0807e29e in InfoSidebarPage::qt_metacall (this=3D0x6784bf8,=20 _c=3DQMetaObject::InvokeMetaMethod, _id=3D4, _a=3D0xbee0ab14) at /home/kde-devel/build/KDE/kdebase/apps/dolphin/src/infosidebarpage.m= oc:79 #33 0x04147526 in QMetaObject::activate (sender=3D0x656e198,=20 from_signal_index=3D4, to_signal_index=3D4, argv=3D0x0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3072 #34 0x04147f31 in QMetaObject::activate (sender=3D0x656e198, m=3D0x41bbb04,= =20 local_signal_index=3D0, argv=3D0x0) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:3134 #35 0x0416d821 in QTimer::timeout (this=3D0x656e198) at .moc/debug-shared/moc_qtimer.cpp:125 #36 0x04150874 in QTimer::timerEvent (this=3D0x656e198, e=3D0xbee0b0e4) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qtimer.cpp:246 #37 0x041452e8 in QObject::event (this=3D0x656e198, e=3D0xbee0b0e4) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qobject.cpp:1083 #38 0x05404423 in QApplicationPrivate::notify_helper (this=3D0x625d498,=20 receiver=3D0x656e198, e=3D0xbee0b0e4) at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3538 #39 0x0540473c in QApplication::notify (this=3D0xbee0b360, receiver=3D0x656= e198,=20 e=3D0xbee0b0e4) at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3097 #40 0x04663ba3 in KApplication::notify (this=3D0xbee0b360, receiver=3D0x656= e198,=20 event=3D0xbee0b0e4) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:300 #41 0x04133414 in QCoreApplication::notifyInternal (this=3D0xbee0b360,=20 receiver=3D0x656e198, event=3D0xbee0b0e4) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:= 509 #42 0x04136761 in QCoreApplication::sendEvent (receiver=3D0x656e198,=20 event=3D0xbee0b0e4) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcor= eapplication.h:186 #43 0x04160289 in QTimerInfoList::activateTimers (this=3D0x6263144) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_unix= =2Ecpp:541 #44 0x0415dbba in timerSourceDispatch (source=3D0x6263110) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib= =2Ecpp:142 #45 0x05e83226 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #46 0x05e865b2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #47 0x05e86b6e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #48 0x0415cb48 in QEventDispatcherGlib::processEvents (this=3D0x625d918,=20 flags=3D@0xbee0b258) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib= =2Ecpp:325 #49 0x0549aae8 in QGuiEventDispatcherGlib::processEvents (this=3D0x625d918,= =20 flags=3D@0xbee0b28c) at /home/kde-devel/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.= cpp:178 #50 0x041302f6 in QEventLoop::processEvents (this=3D0xbee0b300,=20 flags=3D@0xbee0b2c4) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:126 #51 0x04130478 in QEventLoop::exec (this=3D0xbee0b300, flags=3D@0xbee0b308) at /home/kde-devel/src/qt-copy/src/corelib/kernel/qeventloop.cpp:168 #52 0x04133b61 in QCoreApplication::exec () at /home/kde-devel/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:= 729 #53 0x05403fa6 in QApplication::exec () at /home/kde-devel/src/qt-copy/src/gui/kernel/qapplication.cpp:3035 #54 0x0807fd0c in main (argc=3D1, argv=3D0xbee0b4f4) at /home/kde-devel/src/KDE/kdebase/apps/dolphin/src/main.cpp:87 #0 0x3805a004 in ?? () --Boundary-01=_HnH2GqZ+ft3OlUM Content-Type: text/x-objcsrc; charset="utf-8"; name="dolphin-strigi-error.valgrind" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dolphin-strigi-error.valgrind" ==13549== Conditional jump or move depends on uninitialised value(s) ==13549== at 0x985F7A6: raptor_log_error (raptor_general.c:906) ==13549== by 0x9867F6E: raptor_libxml_xmlStructuredErrorFunc (raptor_libxml.c:623) ==13549== by 0x601E227: __xmlRaiseError (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6022E22: xmlFatalErr (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6034D8F: xmlParseChunk (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x4F39F89: Strigi::SaxEventAnalyzer::Private::push(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3A0AF: Strigi::SaxEventAnalyzer::Private::init(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F39A64: Strigi::SaxEventAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F17494: Strigi::EventThroughAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F967F6: Strigi::DataEventInputStream::read(char const*&, int, int) (in /home/kde-devel/kde/lib/libstreams.so.0.5.5) ==13549== by 0x4F3C8C9: Strigi::StreamAnalyzerPrivate::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3CF98: Strigi::StreamAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== ==13549== Use of uninitialised value of size 4 ==13549== at 0x985F7BC: raptor_log_error (raptor_general.c:914) ==13549== by 0x9867F6E: raptor_libxml_xmlStructuredErrorFunc (raptor_libxml.c:623) ==13549== by 0x601E227: __xmlRaiseError (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6022E22: xmlFatalErr (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6034D8F: xmlParseChunk (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x4F39F89: Strigi::SaxEventAnalyzer::Private::push(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3A0AF: Strigi::SaxEventAnalyzer::Private::init(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F39A64: Strigi::SaxEventAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F17494: Strigi::EventThroughAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F967F6: Strigi::DataEventInputStream::read(char const*&, int, int) (in /home/kde-devel/kde/lib/libstreams.so.0.5.5) ==13549== by 0x4F3C8C9: Strigi::StreamAnalyzerPrivate::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3CF98: Strigi::StreamAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== ==13549== Jump to the invalid address stated on the next line ==13549== at 0x6F002E: ??? ==13549== by 0x9867F6E: raptor_libxml_xmlStructuredErrorFunc (raptor_libxml.c:623) ==13549== by 0x601E227: __xmlRaiseError (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6022E22: xmlFatalErr (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x6034D8F: xmlParseChunk (in /usr/lib/libxml2.so.2.6.29) ==13549== by 0x4F39F89: Strigi::SaxEventAnalyzer::Private::push(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3A0AF: Strigi::SaxEventAnalyzer::Private::init(char const*, int) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F39A64: Strigi::SaxEventAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F17494: Strigi::EventThroughAnalyzer::handleData(char const*, unsigned) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F967F6: Strigi::DataEventInputStream::read(char const*&, int, int) (in /home/kde-devel/kde/lib/libstreams.so.0.5.5) ==13549== by 0x4F3C8C9: Strigi::StreamAnalyzerPrivate::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== by 0x4F3CF98: Strigi::StreamAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase*) (in /home/kde-devel/kde/lib/libstreamanalyzer.so.0.5.5) ==13549== Address 0x6F002E is not stack'd, malloc'd or (recently) free'd --Boundary-01=_HnH2GqZ+ft3OlUM-- --nextPart3532460.IRudK4IB1L Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG2HnHBRauKLutZ9ARAlfNAKCvtxvwyHR5sHpb5mcl/rxeROEQVwCgx34t oLrmmeub91oWcciLfCoqFLo= =Fl2J -----END PGP SIGNATURE----- --nextPart3532460.IRudK4IB1L-- --===============0479941141== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0479941141==--