Bug 179577

Summary: kontact start problems after update to 4.1.87
Product: [Frameworks and Libraries] Akonadi Reporter: sts
Component: KResource compat bridgesAssignee: Kevin Krammer <krammer>
Status: RESOLVED FIXED    
Severity: crash CC: christophe, vkrause
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sts 2009-01-04 10:06:43 UTC
Version:           4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) "release 1.1" (using 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) "release 1.1", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.7-9-default

After update from 4.1.3 to 4.1.87 kontact start take some time.

strace kontact means:

...
read(3, "l\4\1\1\35\0\0\0\t\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 2048) = 189
read(3, 0x644d40, 2048)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}], 1, 3911)  = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\4\1\1/\0\0\0\n\0\0\0\211\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 2048) = 207
read(3, 0x644d40, 2048)                 = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}], 1, 3904)  = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
umask(0)                                = 022
umask(022)                              = 0
write(2, "<unknown program name>(12417)/: "..., 372<unknown program name>(12417)/: 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." "

) = 372
exit_group(255)                         = ?


but after some time kontact starts with message can't load akonadi compat. ressource.

ps ax:
 3971 ?        Sl     0:00 /usr/bin/akonadi_control
 3978 ?        Sl     0:00 akonadiserver
 4008 ?        Sl     0:04 /usr/sbin/mysqld --defaults-file=/home/sts/.local/share/akonadi//mysql.conf --datadir=/home/sts/.local/share/akonadi/db_data/ --socket=/home/sts/.local/share/akonadi/db_misc/mysql.socket
 5352 ?        Sl     0:00 /usr/bin/akonadi_control
 5371 ?        S      0:00 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
 5372 ?        S      0:00 /usr/bin/akonadi_kabc_resource --identifier akonadi_kabc_resource_0
 5373 ?        S      0:00 /usr/bin/akonadi_kcal_resource --identifier akonadi_kcal_resource_0
 5374 ?        S      0:00 /usr/bin/akonadi_kcal_resource --identifier akonadi_kcal_resource_1
 5375 ?        S      0:00 /usr/bin/akonadi_kcal_resource --identifier akonadi_kcal_resource_2
 5377 ?        S      0:00 /usr/bin/akonadi_mailthreader_agent --identifier akonadi_mailthreader_agent
 5378 ?        S      0:00 /usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder
 5380 ?        S      0:00 /usr/bin/akonadi_vcard_resource --identifier akonadi_vcard_resource_0
13426 ?        S      0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-sts/klauncherMT5251.slave-socket local:/tmp/ksocket-sts/akonadi_kcal_resource_2mn5375.slave-socket
13427 ?        S      0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-sts/klauncherMT5251.slave-socket local:/tmp/ksocket-sts/akonadi_kcal_resource_2GS5375.slave-socket
13588 ?        Sl     0:00 akonadiserver



kontact works fine now but if I click on summary.. kontact crashs after some time with:

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7fd9ca165950 (LWP 13819)]
0x00007fd9e46d6ce1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fd9eaac2750 (LWP 13305))]

Thread 2 (Thread 0x7fd9ca165950 (LWP 13819)):
#0  0x00007fd9e4701642 in select () from /lib64/libc.so.6
#1  0x00007fd9e64a9366 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fd9e63e0f72 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fd9e616d070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd9e47080ed in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd9eaac2750 (LWP 13305)):
#0  0x00007fd9e46d6ce1 in nanosleep () from /lib64/libc.so.6
#1  0x00007fd9e46d6adc in sleep () from /lib64/libc.so.6
#2  0x00007fd9e731cc7f in ?? () from /usr/lib64/libkdeui.so.5
#3  0x00007fd9e731d5da in KCrash::defaultCrashHandler(int) () from /usr/lib64/libkdeui.so.5
#4  <signal handler called>
#5  0x00007fd9e4667645 in raise () from /lib64/libc.so.6
#6  0x00007fd9e4668c33 in abort () from /lib64/libc.so.6
#7  0x00007fd9e46a9140 in ?? () from /lib64/libc.so.6
#8  0x00007fd9e64d6941 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#9  0x00007fd9e64df6e7 in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#10 0x00007fd9d0c1ac37 in ~ItemFetchJob (this=0x33f9) at /usr/src/debug/kdepimlibs-4.1.87/akonadi/itemfetchjob.cpp:137
#11 0x00007fd9e64d8125 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#12 0x00007fd9e529f1bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007fd9e52a6f8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007fd9e72baafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fd9e64c9091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x00007fd9e64c9d3a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#17 0x00007fd9e64f1863 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007fd9dfdad0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fd9dfdb08ad in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fd9dfdb0a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fd9e64f14ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00007fd9e532f97f in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007fd9e64c79a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#24 0x00007fd9e64c7b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#25 0x00007fd9e6afda07 in KJob::exec() () from /usr/lib64/libkdecore.so.5
#26 0x00007fd9cd216b9f in KABC::ResourceAkonadi::asyncLoad (this=0x12ea090) at /usr/src/debug/kdepim-4.1.87/kresources/akonadi/kabc/resourceakonadi.cpp:409
#27 0x00007fd9e8836fd9 in KABC::AddressBook::asyncLoad (this=0x12929a0) at /usr/src/debug/kdepimlibs-4.1.87/kabc/addressbook.cpp:369
#28 0x00007fd9cb22c3d0 in KCalResourceSlox::doLoad (this=0x152a9b0, syncCache=<value optimized out>) at /usr/src/debug/kdepim-4.1.87/kresources/slox/kcalresourceslox.cpp:186
#29 0x00007fd9e8b4cbaf in KCal::ResourceCached::load (this=0x152a9b0, action=KCal::ResourceCached::SyncCache) at /usr/src/debug/kdepimlibs-4.1.87/kcal/resourcecached.cpp:409
#30 0x00007fd9e8b5616b in KCal::CalendarResources::load (this=0x140a3f0) at /usr/src/debug/kdepimlibs-4.1.87/kcal/calendarresources.cpp:272
#31 0x00007fd9d4af95bc in SDSummaryWidget (this=0x2962890, plugin=<value optimized out>, parent=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.87/kontact/plugins/specialdates/sdsummarywidget.cpp:148
#32 0x00007fd9d4af40a4 in SpecialdatesPlugin::createSummaryWidget (this=0x9c9920, parentWidget=0x2954bb0) at /usr/src/debug/kdepim-4.1.87/kontact/plugins/specialdates/specialdates_plugin.cpp:50
#33 0x00007fd9d36b0a1f in SummaryViewPart::updateWidgets (this=0x28fb060) at /usr/src/debug/kdepim-4.1.87/kontact/plugins/summary/summaryview_part.cpp:164
#34 0x00007fd9d36b174a in SummaryViewPart::initGUI (this=0x28fb060, core=<value optimized out>) at /usr/src/debug/kdepim-4.1.87/kontact/plugins/summary/summaryview_part.cpp:485
#35 0x00007fd9d36b1d41 in SummaryViewPart (this=0x28fb060, core=<value optimized out>, aboutData=0x292c580, parent=<value optimized out>)
    at /usr/src/debug/kdepim-4.1.87/kontact/plugins/summary/summaryview_part.cpp:74
#36 0x00007fd9d36ae045 in SummaryView::createPart (this=0x8e1270) at /usr/src/debug/kdepim-4.1.87/kontact/plugins/summary/summaryview_plugin.cpp:114
#37 0x00007fd9e98c1689 in Kontact::Plugin::part (this=0x33f9) at /usr/src/debug/kdepim-4.1.87/kontactinterfaces/plugin.cpp:187
#38 0x00007fd9e9ae6706 in Kontact::MainWindow::selectPlugin (this=0x778760, plugin=0x8e1270) at /usr/src/debug/kdepim-4.1.87/kontact/src/mainwindow.cpp:752
#39 0x00007fd9e9ae6592 in Kontact::MainWindow::qt_metacall (this=0x778760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2b03140)
    at /usr/src/debug/kdepim-4.1.87/build/kontact/src/mainwindow.moc:106
#40 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#41 0x00007fd9e9ae8b0f in Kontact::SidePaneBase::pluginSelected (this=0x33f9, _t1=0x8e1270) at /usr/src/debug/kdepim-4.1.87/build/kontact/src/sidepanebase.moc:82
#42 0x00007fd9e9ae8b9f in Kontact::SidePaneBase::qt_metacall (this=0x76f5a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffff2b03290)
    at /usr/src/debug/kdepim-4.1.87/build/kontact/src/sidepanebase.moc:70
#43 0x00007fd9e9ae8d6e in Kontact::IconSidePane::qt_metacall (this=0x33f9, _c=13305, _id=6, _a=0xffffffffffffffff) at /usr/src/debug/kdepim-4.1.87/build/kontact/src/iconsidepane.moc:130
#44 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#45 0x00007fd9e9ae8e1f in Kontact::Navigator::pluginActivated (this=0x33f9, _t1=0x8e1270) at /usr/src/debug/kdepim-4.1.87/build/kontact/src/iconsidepane.moc:88
#46 0x00007fd9e9ae95e5 in Kontact::Navigator::qt_metacall (this=0x770260, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffff2b033b0)
    at /usr/src/debug/kdepim-4.1.87/build/kontact/src/iconsidepane.moc:75
#47 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#48 0x00007fd9e575905a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#49 0x00007fd9e57591a4 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#50 0x00007fd9e570eacd in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#51 0x00007fd9e52f177f in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#52 0x00007fd9e57152fd in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#53 0x00007fd9e64c8358 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#54 0x00007fd9e529f18c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#55 0x00007fd9e52a77fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00007fd9e72baafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#57 0x00007fd9e64c9091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#58 0x00007fd9e52a6b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#59 0x00007fd9e530b019 in ?? () from /usr/lib64/libQtGui.so.4
#60 0x00007fd9e5309a37 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#61 0x00007fd9e53301d4 in ?? () from /usr/lib64/libQtGui.so.4
#62 0x00007fd9dfdad0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#63 0x00007fd9dfdb08ad in ?? () from /usr/lib64/libglib-2.0.so.0
#64 0x00007fd9dfdb0a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#65 0x00007fd9e64f14ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#66 0x00007fd9e532f97f in ?? () from /usr/lib64/libQtGui.so.4
#67 0x00007fd9e64c79a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#68 0x00007fd9e64c7b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#69 0x00007fd9e6afda07 in KJob::exec() () from /usr/lib64/libkdecore.so.5
#70 0x00007fd9cb859cb6 in KCal::ResourceAkonadi::Private::reloadSubResource (this=0x14b06e0, subResource=0x15717d0, changed=@0x7ffff2b0525f)
    at /usr/src/debug/kdepim-4.1.87/kresources/akonadi/kcal/resourceakonadi.cpp:1455
#71 0x00007fd9cb85c295 in KCal::ResourceAkonadi::doLoad (this=0x12f0d60, syncCache=<value optimized out>) at /usr/src/debug/kdepim-4.1.87/kresources/akonadi/kcal/resourceakonadi.cpp:703
#72 0x00007fd9e8b45dbc in KCal::ResourceCalendar::load (this=0x12f0d60) at /usr/src/debug/kdepimlibs-4.1.87/kcal/resourcecalendar.cpp:168
#73 0x00007fd9ce088a25 in ResourceItem::stateChange (this=0x1521c00, active=249) at /usr/src/debug/kdepim-4.1.87/korganizer/resourceview.cpp:181
#74 0x00007fd9ce088ae2 in ResourceView::slotItemClicked (this=<value optimized out>, i=0x1521c00) at /usr/src/debug/kdepim-4.1.87/korganizer/resourceview.cpp:749
#75 0x00007fd9ce08c3f1 in ResourceView::qt_metacall (this=0x1514e40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2b05440)
    at /usr/src/debug/kdepim-4.1.87/build/korganizer/resourceview.moc:115
#76 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#77 0x00007fd9e577b460 in QTreeWidget::itemClicked(QTreeWidgetItem*, int) () from /usr/lib64/libQtGui.so.4
#78 0x00007fd9e5787453 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#79 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#80 0x00007fd9e57069d5 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#81 0x00007fd9e57133ce in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#82 0x00007fd9e52f1799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#83 0x00007fd9e57152fd in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#84 0x00007fd9e5749b40 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#85 0x00007fd9e64c8358 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#86 0x00007fd9e529f18c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#87 0x00007fd9e52a77fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#88 0x00007fd9e72baafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#89 0x00007fd9e64c9091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#90 0x00007fd9e52a6b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#91 0x00007fd9e530b019 in ?? () from /usr/lib64/libQtGui.so.4
#92 0x00007fd9e5309a37 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#93 0x00007fd9e53301d4 in ?? () from /usr/lib64/libQtGui.so.4
#94 0x00007fd9dfdad0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#95 0x00007fd9dfdb08ad in ?? () from /usr/lib64/libglib-2.0.so.0
#96 0x00007fd9dfdb0a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#97 0x00007fd9e64f14ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#98 0x00007fd9e532f97f in ?? () from /usr/lib64/libQtGui.so.4
#99 0x00007fd9e64c79a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#100 0x00007fd9e64c7b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#101 0x00007fd9e6afda07 in KJob::exec() () from /usr/lib64/libkdecore.so.5
#102 0x00007fd9cb859cb6 in KCal::ResourceAkonadi::Private::reloadSubResource (this=0x14b06e0, subResource=0x15717d0, changed=@0x7ffff2b073ff)
    at /usr/src/debug/kdepim-4.1.87/kresources/akonadi/kcal/resourceakonadi.cpp:1455
#103 0x00007fd9cb85c295 in KCal::ResourceAkonadi::doLoad (this=0x12f0d60, syncCache=<value optimized out>) at /usr/src/debug/kdepim-4.1.87/kresources/akonadi/kcal/resourceakonadi.cpp:703
#104 0x00007fd9e8b45dbc in KCal::ResourceCalendar::load (this=0x12f0d60) at /usr/src/debug/kdepimlibs-4.1.87/kcal/resourcecalendar.cpp:168
#105 0x00007fd9ce088a25 in ResourceItem::stateChange (this=0x1521c00, active=249) at /usr/src/debug/kdepim-4.1.87/korganizer/resourceview.cpp:181
#106 0x00007fd9ce088ae2 in ResourceView::slotItemClicked (this=<value optimized out>, i=0x1521c00) at /usr/src/debug/kdepim-4.1.87/korganizer/resourceview.cpp:749
#107 0x00007fd9ce08c3f1 in ResourceView::qt_metacall (this=0x1514e40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff2b075e0)
    at /usr/src/debug/kdepim-4.1.87/build/korganizer/resourceview.moc:115
#108 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#109 0x00007fd9e577b460 in QTreeWidget::itemClicked(QTreeWidgetItem*, int) () from /usr/lib64/libQtGui.so.4
#110 0x00007fd9e5787453 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#111 0x00007fd9e64dd454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#112 0x00007fd9e57069d5 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#113 0x00007fd9e57133ce in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#114 0x00007fd9e52f1799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#115 0x00007fd9e57152fd in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#116 0x00007fd9e5749b40 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#117 0x00007fd9e64c8358 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#118 0x00007fd9e529f18c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#119 0x00007fd9e52a77fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#120 0x00007fd9e72baafb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#121 0x00007fd9e64c9091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#122 0x00007fd9e52a6b98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#123 0x00007fd9e530b019 in ?? () from /usr/lib64/libQtGui.so.4
#124 0x00007fd9e5309a37 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#125 0x00007fd9e53301d4 in ?? () from /usr/lib64/libQtGui.so.4
#126 0x00007fd9dfdad0db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#127 0x00007fd9dfdb08ad in ?? () from /usr/lib64/libglib-2.0.so.0
#128 0x00007fd9dfdb0a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#129 0x00007fd9e64f14ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#130 0x00007fd9e532f97f in ?? () from /usr/lib64/libQtGui.so.4
#131 0x00007fd9e64c79a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#132 0x00007fd9e64c7b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#133 0x00007fd9e64c9ffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#134 0x0000000000404875 in main (argc=1, argv=0x7ffff2b09968) at /usr/src/debug/kdepim-4.1.87/kontact/src/main.cpp:218
Comment 1 Christophe Marin 2009-01-19 15:14:35 UTC
Maybe a dup of bug 179838
Comment 2 Kevin Krammer 2009-02-08 14:41:00 UTC
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