Summary: | Akonadi crashes KMail after 4.2 upgrade | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Jim Cortez <jim> |
Component: | KResource compat bridges | Assignee: | Volker Krause <vkrause> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gdedomenico, jim, jtamate, krammer, s.kage, vide80 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Kmail Crash Report |
Description
Jim Cortez
2008-12-09 09:42:01 UTC
Here is the portion of .xsession-errors that happens during launch: kdeinit4: preparing to launch /usr/bin/kontact kded(5641) Kded::registerWindowId: "kdesvnd" kded(5641) Kded::registerWindowId: "kdedglobalaccel" kded(5641) Kded::registerWindowId: "kded_kephal" kded(5641) Kded::registerWindowId: "khotkeys" kded(5641) Kded::registerWindowId: "networkstatus" kded(5641) Kded::registerWindowId: "desktopnotifier" kded(5641) Kded::registerWindowId: "kpasswdserver" kded(5641) Kded::registerWindowId: "phononserver" kded(5641) Kded::registerWindowId: "powerdevil" kded(5641) Kded::registerWindowId: "ktimezoned" kded(5641) Kded::registerWindowId: "kcookiejar" kded(5641) Kded::registerWindowId: "dnssdwatcher" kded(5641) Kded::registerWindowId: "remotedirnotify" Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. Calling appendChild() on a null node does nothing. kdeinit4: preparing to launch [/usr/bin/nepomukservicestub] (ServerCore) new socket connection. kontact(26484) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop" kontact(26484) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" kontact(26484): ""WorkingHoursStart" - conversion of "2935093,2,28,9,0,0" to QDateTime failed" kontact(26484): ""WorkingHoursEnd" - conversion of "2935093,2,28,19,0,0" to QDateTime failed" kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1411ab3) *** KMail got signal 6 (Crashing) <unknown program name>(26483)/: Communication problem with "kontact" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " QObject: Do not delete object, 'unnamed', during its event handler! [/usr/bin/nepomukservicestub] Removing connection KCrash: Application 'kontact' crashing... kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi Seems like event-loop fun. Reassigning to Akonadi anyway. Better backtrace with debugging symbols: Application: Kontact (kontact), signal SIGABRT Thread 1 (Thread 0xb4a1e6c0 (LWP 29821)): [KCrash Handler] #6 0xb7f3c430 in __kernel_vsyscall () #7 0xb545a880 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb545c248 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb549e423 in ?? () from /lib/tls/i686/cmov/libc.so.6 #10 0xb54a03f5 in free () from /lib/tls/i686/cmov/libc.so.6 #11 0xb567b031 in operator delete () from /usr/lib/libstdc++.so.6 #12 0xb57f78a5 in QEventLoop::~QEventLoop () from /usr/lib/libQtCore.so.4 #13 0xb58070ff in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4 #14 0xb580fc43 in QObject::~QObject () from /usr/lib/libQtCore.so.4 #15 0xb5a23721 in ~KJob (this=0x9c55920) at /build/buildd/kde4libs-4.1.80/kdecore/jobs/kjob.cpp:72 #16 0xb5a22528 in ~KCompositeJob (this=0x9c55920) at /build/buildd/kde4libs-4.1.80/kdecore/jobs/kcompositejob.cpp:44 #17 0xb078b8bc in ~Job (this=0x9c55920) at /build/buildd/kdepimlibs-4.1.80/akonadi/job.cpp:169 #18 0xb075873d in ~CollectionFetchJob (this=0x9c55920) at /build/buildd/kdepimlibs-4.1.80/akonadi/collectionfetchjob.cpp:100 #19 0xb5806dec in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4 #20 0xb58087a3 in QObject::event () from /usr/lib/libQtCore.so.4 #21 0xb5d178ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #22 0xb5d1f72e in QApplication::notify () from /usr/lib/libQtGui.so.4 #23 0xb66f2c6d in KApplication::notify (this=0xbf83bf28, receiver=0x9c55920, event=0x9c17bf8) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kapplication.cpp:307 #24 0xb57f8e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #25 0xb57f9ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #26 0xb57f9cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4 #27 0xb582382f in ?? () from /usr/lib/libQtCore.so.4 #28 0xb4d0b6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0xb4d0eda3 in ?? () from /usr/lib/libglib-2.0.so.0 #30 0xb4d0ef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0xb5823478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #32 0xb5db1ea5 in ?? () from /usr/lib/libQtGui.so.4 #33 0xb57f752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #34 0xb57f76ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #35 0xb6184987 in QDialog::exec () from /usr/lib/libQtGui.so.4 #36 0xb1390393 in KMail::ImapAccountBase::makeConnection (this=0x9880090) at /build/buildd/kdepim-4.1.80/kmail/imapaccountbase.cpp:320 #37 0xb139c6a6 in KMAcctImap::makeConnection (this=0x0) at /build/buildd/kdepim-4.1.80/kmail/kmacctimap.cpp:562 #38 0xb13a17bf in KMAcctImap::processNewMail (this=0x9880090, interactive=true) at /build/buildd/kdepim-4.1.80/kmail/kmacctimap.cpp:278 #39 0xb131bbc5 in KMail::AccountManager::processNextCheck (this=0x98fc5e0, _newMail=false) at /build/buildd/kdepim-4.1.80/kmail/accountmanager.cpp:221 #40 0xb131c6a0 in KMail::AccountManager::singleCheckMail (this=0x98fc5e0, account=0x9880090, interactive=true) at /build/buildd/kdepim-4.1.80/kmail/accountmanager.cpp:148 #41 0xb131cb24 in KMail::AccountManager::checkMail (this=0x98fc5e0, _interactive=true) at /build/buildd/kdepim-4.1.80/kmail/accountmanager.cpp:343 #42 0xb14e8168 in KMMainWidget::slotCheckMail (this=0x9940880) at /build/buildd/kdepim-4.1.80/kmail/kmmainwidget.cpp:1041 #43 0xb15122e1 in KMMainWidget::qt_metacall (this=0x9940880, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf83a458) at /build/buildd/kdepim-4.1.80/obj-i486-linux-gnu/kmail/kmmainwidget.moc:357 #44 0xb580da60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #45 0xb580e7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #46 0xb5813db7 in ?? () from /usr/lib/libQtCore.so.4 #47 0xb5813edc in ?? () from /usr/lib/libQtCore.so.4 #48 0xb580853f in QObject::event () from /usr/lib/libQtCore.so.4 #49 0xb5d178ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #50 0xb5d1f72e in QApplication::notify () from /usr/lib/libQtGui.so.4 #51 0xb66f2c6d in KApplication::notify (this=0xbf83bf28, receiver=0x99c8788, event=0xbf83a8ec) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kapplication.cpp:307 #52 0xb57f8e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #53 0xb5826d81 in ?? () from /usr/lib/libQtCore.so.4 #54 0xb5823520 in ?? () from /usr/lib/libQtCore.so.4 #55 0xb4d0b6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #56 0xb4d0eda3 in ?? () from /usr/lib/libglib-2.0.so.0 #57 0xb4d0ef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #58 0xb5823478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #59 0xb5db1ea5 in ?? () from /usr/lib/libQtGui.so.4 #60 0xb57f752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #61 0xb57f76ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #62 0xb5a235b1 in KJob::exec (this=0x9c55920) at /build/buildd/kde4libs-4.1.80/kdecore/jobs/kjob.cpp:195 #63 0xb07e379d in KCal::ResourceAkonadi::doLoad (this=0x9bede00, syncCache=false) at /build/buildd/kdepim-4.1.80/kresources/akonadi/kcal/resourceakonadi.cpp:670 #64 0xb716130f in KCal::ResourceCalendar::load (this=0x9bede00) at /build/buildd/kdepimlibs-4.1.80/kcal/resourcecalendar.cpp:168 #65 0xb7178819 in KCal::CalendarResources::load (this=0x9bd5c10) at /build/buildd/kdepimlibs-4.1.80/kcal/calendarresources.cpp:257 #66 0xb0cc5a23 in KOrganizerPart (this=0x9abe4c8, parentWidget=0x93f7e98, parent=0x93f7e98) at /build/buildd/kdepim-4.1.80/korganizer/korganizer_part.cpp:88 #67 0xb0cc6572 in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0x93f7e98, parent=0x93f7e98, args=@0xbf83af40) at /usr/include/kpluginfactory.h:467 #68 0xb5b31eff in KPluginFactory::create (this=0x9ad51e0, iface=0xb6ca3ce0 "KParts::ReadOnlyPart", parentWidget=0x93f7e98, parent=0x93f7e98, args=@0xbf83af40, keyword=@0xbf83af30) at /build/buildd/kde4libs-4.1.80/kdecore/util/kpluginfactory.cpp:191 #69 0xb77b94f3 in Kontact::Core::createPart (this=0x93f7e98, libname=0x977c868 "korganizerpart") at /usr/include/kpluginfactory.h:491 #70 0xb77ba6b7 in Kontact::Plugin::loadPart (this=0x977c058) at /build/buildd/kdepim-4.1.80/kontactinterfaces/plugin.cpp:148 #71 0xb1b33c85 in KOrganizerPlugin::createPart (this=0x977c058) at /build/buildd/kdepim-4.1.80/kontact/plugins/korganizer/korganizerplugin.cpp:91 #72 0xb77ba612 in Kontact::Plugin::part (this=0x977c058) at /build/buildd/kdepim-4.1.80/kontactinterfaces/plugin.cpp:187 #73 0xb77d76dc in Kontact::MainWindow::selectPlugin (this=0x93f7e98, plugin=0x977c058) at /build/buildd/kdepim-4.1.80/kontact/src/mainwindow.cpp:752 #74 0xb77d2e25 in Kontact::MainWindow::selectPlugin (this=0x93f7e98, pluginName=@0x9361f5c) at /build/buildd/kdepim-4.1.80/kontact/src/mainwindow.cpp:904 #75 0xb77d2703 in Kontact::MainWindow::loadSettings (this=0x93f7e98) at /build/buildd/kdepim-4.1.80/kontact/src/mainwindow.cpp:926 #76 0xb77db55d in Kontact::MainWindow::initObject (this=0x93f7e98) at /build/buildd/kdepim-4.1.80/kontact/src/mainwindow.cpp:226 #77 0xb77dba40 in MainWindow (this=0x93f7e98) at /build/buildd/kdepim-4.1.80/kontact/src/mainwindow.cpp:162 #78 0x0804ad1e in KontactApp::newInstance (this=0xbf83bf28) at /build/buildd/kdepim-4.1.80/kontact/src/main.cpp:134 #79 0xb66fcb66 in KUniqueApplicationAdaptor::newInstance (this=0x93dbcf0, asn_id=@0x9426d90, args=@0x941d390) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kuniqueapplication_p.h:77 #80 0xb66fad2e in KUniqueApplicationAdaptor::qt_metacall (this=0x93dbcf0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf83b608) at /build/buildd/kde4libs-4.1.80/obj-i486-linux-gnu/kdeui/kuniqueapplication_p.moc:74 #81 0xb590126e in ?? () from /usr/lib/libQtDBus.so.4 #82 0xb59024a7 in ?? () from /usr/lib/libQtDBus.so.4 #83 0xb59029b1 in ?? () from /usr/lib/libQtDBus.so.4 #84 0xb5902eaa in ?? () from /usr/lib/libQtDBus.so.4 #85 0xb5808771 in QObject::event () from /usr/lib/libQtCore.so.4 #86 0xb57f87cb in QCoreApplication::event () from /usr/lib/libQtCore.so.4 #87 0xb5d1d206 in QApplication::event () from /usr/lib/libQtGui.so.4 #88 0xb5d178ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #89 0xb5d1f72e in QApplication::notify () from /usr/lib/libQtGui.so.4 #90 0xb66f2c6d in KApplication::notify (this=0xbf83bf28, receiver=0xbf83bf28, event=0x946b548) at /build/buildd/kde4libs-4.1.80/kdeui/kernel/kapplication.cpp:307 #91 0xb57f8e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #92 0xb57f9ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #93 0xb57f9cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4 #94 0xb582382f in ?? () from /usr/lib/libQtCore.so.4 #95 0xb4d0b6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #96 0xb4d0eda3 in ?? () from /usr/lib/libglib-2.0.so.0 #97 0xb4d0ef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #98 0xb5823478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #99 0xb5db1ea5 in ?? () from /usr/lib/libQtGui.so.4 #100 0xb57f752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #101 0xb57f76ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #102 0xb57f9da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #103 0xb5d17767 in QApplication::exec () from /usr/lib/libQtGui.so.4 #104 0x0804c0f2 in main (argc=1, argv=0xbf83c224) at /build/buildd/kdepim-4.1.80/kontact/src/main.cpp:218 Created attachment 29198 [details]
Kmail Crash Report
Sorry, should have attached this instead of pasting above
KDE Resources: standard Contacts file carried over from kde4.1 2 Calendar resources, 1 local (synced via GCALDaemon), 1 remote (Remember the milk) 2 email accounts set up, Disconnected IMAP, and a separate IMAP Looks similar to what we recently fixed in the KABC compat bridge. Yesterday, Kmail (via Kontact) opened without a problem. All was fine, no error messages, no crash. The next day, my accounts were missing. I have cleared the settings files and started again, without any problems. I am not sure if this bug should be marked as fixed, but it was definitely not a smooth transition! *** Bug 180442 has been marked as a duplicate of this bug. *** Still happens with KDE4.2 RC1... at least what happen with #180442 which was marked as duplicated of this very bug So I think what Volker said in #6 doesn't apply here, if the bug was fixed before RC1 was tagged. *** Bug 180753 has been marked as a duplicate of this bug. *** I experience exactly the same behaviour as described in bug 180753. With the same errors. After installing KDE 4.2.0, I migrated my mail from thunderbird to kmail. Since this morning (there was an automatic kernel update), kontact couldn't launch. KMail has launched standalone but lost pop account configuration (not IMAP). After KMail was launched, I could start Kontact again. SVN commit 923208 by krake: Using nested event loops to achieve synchronous call behavior while doing Akonadi jobs has created way to many issues due to unexpected re-entrancy. This is basically backport of a series of changes in trunk which replace this form of blocking with real blocking of the caller and delegating the Akonadi job execution to a worker thread. This should fix all the bugs this is sent to. If they remain with 4.2.1 once it is released, please re-open. DarĂo, in case I missed some of the eventloop related bugs, please feel free to close them as well. BUG: 177294 BUG: 158129 BUG: 182475 BUG: 178869 BUG: 179577 BUG: 179838 BUG: 180384 BUG: 181153 BUG: 181966 BUG: 182833 BUG: 182956 BUG: 183187 M +210 -55 kabc/resourceakonadi.cpp M +202 -54 kcal/resourceakonadi.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=923208 |