Summary: | Kmail crashes on launch (Nepomuk pb) | ||
---|---|---|---|
Product: | [Unmaintained] nepomuk | Reporter: | Sabine Faure <sabine> |
Component: | general | Assignee: | Sebastian Trueg <sebastian> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | 2Kmm, cfeck, faure, mmodem00, reavertm, sven.burmeister, trueg, woebbeking |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sabine Faure
2010-08-27 20:46:01 UTC
valgrind log: ==2709== Invalid read of size 4 ==2709== at 0x76160B4: QBasicAtomicInt::ref() (qatomic_x86_64.h:121) ==2709== by 0x76643DC: QExplicitlySharedDataPointer<Nepomuk::Types::ClassPrivate>::QExplicitlySharedDataPointer(QExplicitlySharedDataPointer<Nepomuk::Types::ClassPrivate> const&) (qshareddata.h:162) ==2709== by 0x7663D7F: Nepomuk::Types::EntityManager::getClass(QUrl const&) (entitymanager.cpp:42) ==2709== by 0x765625C: Nepomuk::Types::Class::Class(QUrl const&) (class.cpp:286) ==2709== by 0x7623216: Nepomuk::ResourceData::constHasType(QUrl const&) const (resourcedata.cpp:224) ==2709== by 0x76231D6: Nepomuk::ResourceData::hasType(QUrl const&) (resourcedata.cpp:215) ==2709== by 0x762484E: Nepomuk::ResourceData::load() (resourcedata.cpp:393) ==2709== by 0x762333B: Nepomuk::ResourceData::property(QUrl const&) (resourcedata.cpp:239) ==2709== by 0x7635259: Nepomuk::Resource::property(QUrl const&) const (resource.cpp:271) ==2709== by 0x7637429: Nepomuk::Resource::label() const (resource.cpp:771) ==2709== by 0x6020141: KMFilterActionAddTag::KMFilterActionAddTag() (kmfilteraction.cpp:912) ==2709== by 0x601FD16: KMFilterActionAddTag::newAction() (kmfilteraction.cpp:905) ==2709== by 0x602A1AC: KMFilterActionDict::insert(KMFilterAction* (*)()) (kmfilteraction.cpp:2212) ==2709== by 0x6029F76: KMFilterActionDict::init() (kmfilteraction.cpp:2186) ==2709== by 0x602A14A: KMFilterActionDict::KMFilterActionDict() (kmfilteraction.cpp:2207) ==2709== by 0x6060B79: KMKernel::init() (kmkernel.cpp:1159) This is with kdesupport trunk, kdelibs-4.5, kdepimlibs+kdepim trunk. Is this an unsupported combination? Also on KDE startup, nepomukservicestub crashes with a similar backtrace. Also Dolphin crashes at startup. I'm running KDE 4.5 with kdesupport from trunk too, but I update kdesupport not regulary and theese crashes happen without updating kdesupport. *** Bug 249471 has been marked as a duplicate of this bug. *** *** Bug 249326 has been marked as a duplicate of this bug. *** I just commited #1170326 which uses constEnd() iterator instead of end(). This fixes the crash. Weird thing is that the buggy code was already in 4.5.0 and before. *** Bug 249626 has been marked as a duplicate of this bug. *** *** Bug 249059 has been marked as a duplicate of this bug. *** (In reply to comment #5) > I just commited #1170326 which uses constEnd() iterator instead of end(). This > fixes the crash. Weird thing is that the buggy code was already in 4.5.0 and > before. Probably caused by your backport (rev. 1168845) four days before. IMO it's bad that you can't compare const and non const iterators as in STL. Thanks for fixing that! It is corrected now. Kmail launches correctly now. Trunk, Svn Rev 1170619 Andre: I figured it out: before I was using the iterator in a const method which made the it itself const, thus, end() == constEnd(). *** Bug 267113 has been marked as a duplicate of this bug. *** Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Development has moved to Baloo, please try again using the latest version and applications, and submit a new ticket for frameworks-baloo if you still have an issue. Thank you! |