[Bug 194059] New: kontact hangs when restarted after writing to a akonadi resource, crash when killed

Simon Bühler simon at aktionspotential.de
Mon May 25 17:37:00 BST 2009


https://bugs.kde.org/show_bug.cgi?id=194059

           Summary: kontact hangs when restarted after writing to a
                    akonadi resource, crash when killed
           Product: kontact
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: simon at aktionspotential.de


Application that crashed: kontact
Version of the application: 4.3.0 pre
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-rc6-git3 x86_64

What I was doing when the application crashed:

hi,

after adding a event to a calender stored as icals in a folder, i closed
kontact.

restarting from the konsole said:

kontact(10536)/kdepimlibs (kcal) KCal::ResourceCalendar::load: "akonadi
Ressource"
kontact(10536)/kresources KRES::Resource::open: Opening resource "akonadi
Ressource"
kontact(10536)/kresources ResourcePrivateBase::doOpen:
kontact(10536)/kdepimlibs (kcal) KCal::ResourceAkonadi::Private::openResource:
0x0 state= 0
kontact(10536)/kdepimlibs (kcal) KCal::ResourceAkonadi::doLoad: syncCache=
false
kontact(10536)/kresources ResourcePrivateBase::doLoad: isLoading= false
kontact(10536)/kdepimlibs (kcal)
KCal::ResourceAkonadi::Private::subResourceAdded: id= "akonadi:?collection=9"
kontact(10536)/kresources KRES::ManagerImpl::writeConfig:
kontact(10536)/kresources KRES::ManagerImpl::writeResourceConfig: Saving
resource "oJWXYXWd7s"
kontact(10536)/kresources KRES::Resource::writeConfig:
kontact(10536)/kresources ResourcePrivateBase::writeConfig: wrote MIME config
pair: mimeType= "application/x-vnd.akonadi.calendar.journal" , url=
KUrl("akonadi:?collection=9")
kontact(10536)/kresources ResourcePrivateBase::writeConfig: wrote MIME config
pair: mimeType= "application/x-vnd.akonadi.calendar.todo" , url=
KUrl("akonadi:?collection=9")
kontact(10536)/kresources ResourcePrivateBase::writeConfig: wrote MIME config
pair: mimeType= "application/x-vnd.akonadi.calendar.event" , url=
KUrl("akonadi:?collection=9")
kontact(10536)/kresources KRES::ManagerImpl::writeConfig: Saving general info
kontact(10536)/kresources KRES::ManagerImpl::writeConfig: finished
kontact(10536)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
<unknown program name>(10535)/: Communication problem with  "kontact" , it
probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a
reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired,
or the network connection was broken." "

then it hang for about a minute, therefor i killed kontact and then it crashed.
I'm not sure, but i think the hang is the real cause of the troubles

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 0 (LWP 10536)]

Thread 2 (Thread 0x4231a950 (LWP 10543)):
#0  0x00007f59222f1bb6 in poll () from /lib/libc.so.6
#1  0x00007f591e4935e4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f591e493c9b in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007f5923087465 in QEventDispatcherGlib::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#4  0x00007f592305df85 in QEventLoop::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007f592305e0f6 in QEventLoop::exec () from
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007f5923690964 in KJob::exec (this=0x1395c60) at
/var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdecore/jobs/kjob.cpp:202
#7  0x00007f590b9f7d2c in ConcurrentJobBase::JobRunner::run (this=0x14e2fa0)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/shared/concurrentjobs.cpp:47
#8  0x00007f5922f85bf0 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f5922d14097 in start_thread () from /lib/libpthread.so.0
#10 0x00007f59222f9ccd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5928fa6760 (LWP 10536)):
[KCrash Handler]
#45 0x00007f5922d189b7 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#46 0x00007f5922f86875 in QWaitCondition::wait () from
/usr/lib64/qt4/libQtCore.so.4
#47 0x00007f590b9f7703 in ConcurrentJob<Akonadi::ItemFetchJob>::exec
(this=0x7fff7f148d20)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/shared/concurrentjobs.h:96
#48 0x00007f590b9f570e in AbstractSubResourceModel::load (this=0x148c998)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/shared/abstractsubresourcemodel.cpp:147
#49 0x00007f590b9edcd8 in SharedResourcePrivate<SubResource>::loadResource
(this=<value optimized out>)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/shared/sharedresourceprivate.h:78
#50 0x00007f590b9fd949 in ResourcePrivateBase::doLoad (this=0x148c930)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/shared/resourceprivatebase.cpp:123
#51 0x00007f590b9e69d5 in KCal::ResourceAkonadi::doLoad (this=0x13d8f30,
syncCache=<value optimized out>)
    at
/var/tmp/portage/kde-base/kdepim-kresources-9999/work/kdepim-kresources-9999/kresources/akonadi/kcal/resourceakonadi.cpp:399
#52 0x00007f5926a1c2da in KCal::ResourceCalendar::load (this=0x14e24ac) at
/var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kcal/resourcecalendar.cpp:168
#53 0x00007f5926a296fc in KCal::CalendarResources::load (this=0x145a3d0) at
/var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/kcal/calendarresources.cpp:293
#54 0x00007f590d6fd588 in KOrganizerPart (this=0x137c810, parentWidget=<value
optimized out>, parent=<value optimized out>)
    at
/var/tmp/portage/kde-base/korganizer-9999/work/korganizer-9999/korganizer/korganizer_part.cpp:74
#55 0x00007f590d6fe1df in KPluginFactory::createPartInstance<KOrganizerPart>
(parentWidget=0x7e4ee0, parent=0x7e4ee0, args=@0x7fff7f1495b0) at
/usr/kde/live/include/kpluginfactory.h:467
#56 0x00007f5923751e8e in KPluginFactory::create (this=0x12ebf70,
iface=0x7f5925a12d60 "KParts::ReadOnlyPart", parentWidget=0x7e4ee0,
parent=0x7e4ee0, args=@0x7fff7f1495b0, keyword=@0x7fff7f149430)
    at
/var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdecore/util/kpluginfactory.cpp:191
#57 0x00007f5927d723b1 in KPluginFactory::create<KParts::ReadOnlyPart> () from
/usr/kde/live/lib64/libkontactinterfaces.so.4
#58 0x00007f5927d7135a in Kontact::Core::createPart () from
/usr/kde/live/lib64/libkontactinterfaces.so.4
#59 0x00007f59138bcc7a in KOrganizerPlugin::createPart (this=0x14e24ac) at
/var/tmp/portage/kde-base/korganizer-9999/work/korganizer-9999/kontact/plugins/korganizer/korganizerplugin.cpp:91
#60 0x00007f5927d72ab9 in Kontact::Plugin::part () from
/usr/kde/live/lib64/libkontactinterfaces.so.4
#61 0x00007f5927f96ff1 in Kontact::MainWindow::selectPlugin (this=0x7e4ee0,
plugin=0x754620) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/mainwindow.cpp:751
#62 0x00007f5927f95dbc in Kontact::MainWindow::selectPlugin (this=0x7e4ee0,
pluginName=@0x7dea28) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/mainwindow.cpp:903
#63 0x00007f5927f96c86 in Kontact::MainWindow::loadSettings (this=0x7e4ee0) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/mainwindow.cpp:925
#64 0x00007f5927f9aef6 in Kontact::MainWindow::initObject (this=0x7e4ee0) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/mainwindow.cpp:226
#65 0x00007f5927f9b60e in MainWindow (this=0x7e4ee0) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/mainwindow.cpp:162
#66 0x0000000000404385 in KontactApp::newInstance (this=0x7fff7f14af00) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/main.cpp:134
#67 0x00007f59249bd232 in KUniqueApplicationAdaptor::newInstance
(this=0x739ce0, asn_id=<value optimized out>, args=@0x7600a0)
    at
/var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdeui/kernel/kuniqueapplication.cpp:454
#68 0x00007f59249bd2b6 in KUniqueApplicationAdaptor::qt_metacall
(this=0x739ce0, _c=QMetaObject::InvokeMetaMethod, _id=202, _a=0x7fff7f14a080)
    at
/var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999_build/kdeui/kuniqueapplication_p.moc:75
#69 0x00007f59233634b8 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#70 0x00007f5923364303 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#71 0x00007f5923364aa8 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#72 0x00007f5923364c28 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#73 0x00007f592306f871 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#74 0x00007f592305ed10 in QCoreApplication::event () from
/usr/lib64/qt4/libQtCore.so.4
#75 0x00007f5923bac706 in QApplication::event () from
/usr/lib64/qt4/libQtGui.so.4
#76 0x00007f5923ba32fe in QApplicationPrivate::notify_helper () from
/usr/lib64/qt4/libQtGui.so.4
#77 0x00007f5923baa6e2 in QApplication::notify () from
/usr/lib64/qt4/libQtGui.so.4
#78 0x00007f59249b9311 in KApplication::notify (this=0x7fff7f14af00,
receiver=0x7fff7f14af00, event=0x7dee70)
    at
/var/tmp/portage/kde-base/kdelibs-9999-r1/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#79 0x00007f592305ecf3 in QCoreApplication::notifyInternal () from
/usr/lib64/qt4/libQtCore.so.4
#80 0x00007f592305ff8a in QCoreApplicationPrivate::sendPostedEvents () from
/usr/lib64/qt4/libQtCore.so.4
#81 0x00007f5923086e63 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#82 0x00007f591e4904b2 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#83 0x00007f591e493795 in ?? () from /usr/lib/libglib-2.0.so.0
#84 0x00007f591e493c9b in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#85 0x00007f592308744e in QEventDispatcherGlib::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#86 0x00007f5923c2b8cf in ?? () from /usr/lib64/qt4/libQtGui.so.4
#87 0x00007f592305df85 in QEventLoop::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#88 0x00007f592305e0f6 in QEventLoop::exec () from
/usr/lib64/qt4/libQtCore.so.4
#89 0x00007f592306031b in QCoreApplication::exec () from
/usr/lib64/qt4/libQtCore.so.4
#90 0x0000000000404148 in main (argc=1, argv=0x7fff7f14b428) at
/var/tmp/portage/kde-base/kontact-9999/work/kontact-9999/kontact/src/main.cpp:218

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list