Bug 246923

Summary: Kontact crashed as soon as I move appointment in KOrganizer
Product: [Applications] kontact Reporter: Nick Elliott <nick>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick Elliott 2010-08-06 18:12:01 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
These problems started as soon as I switched my calendar to the Akonadi Calendar resource, before then I was experiencing no difficulties. Now the Kontact application is very unstable and prone to frequent (lock-ups) crashes. At this point Akonadi stops and I usually have to reboot in order to re-start Kontact. I will try running the Kontact applications individually to see if they behave when not running as part of the Kontact suite,.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8694644780 (LWP 2375))]

Thread 3 (Thread 0x7f8672e0c710 (LWP 2390)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f86929dcf42 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x29c1420, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29c1420, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f86929d1f21 in QThreadPoolThread::run (this=0x29436e0) at concurrent/qthreadpool.cpp:140
#4  0x00007f86929dbf95 in QThreadPrivate::start (arg=0x29436e0) at thread/qthread_unix.cpp:248
#5  0x00007f868c7af9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f86917166fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f86739a1710 (LWP 2403)):
#0  0x00007f8691709f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f868a2384a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f868a2388fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f8692af5406 in QEventDispatcherGlib::processEvents (this=0x7f866c8f8490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8692aca6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8692acaa9c in QEventLoop::exec (this=0x7f86739a0d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f86929d98db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f8692aaadd8 in QInotifyFileSystemWatcherEngine::run (this=0x56826d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f86929dbf95 in QThreadPrivate::start (arg=0x56826d0) at thread/qthread_unix.cpp:248
#9  0x00007f868c7af9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f86917166fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8694644780 (LWP 2375)):
[KCrash Handler]
#5  QMap<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>::node_create (this=0x567d700, source_parent=<value optimized out>, parent_mapping=<value optimized out>, orient=<value optimized out>, 
    start=91331712, end=<value optimized out>, delta_item_count=1, remove=false) at itemviews/qsortfilterproxymodel.cpp:909
#6  QMap<QModelIndex, QSortFilterProxyModelPrivate::Mapping*>::insert (this=0x567d700, source_parent=<value optimized out>, parent_mapping=<value optimized out>, orient=<value optimized out>, 
    start=91331712, end=<value optimized out>, delta_item_count=1, remove=false) at ../../include/QtCore/../../src/corelib/tools/qmap.h:542
#7  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x567d700, source_parent=<value optimized out>, parent_mapping=<value optimized out>, orient=<value optimized out>, start=91331712, 
    end=<value optimized out>, delta_item_count=1, remove=false) at itemviews/qsortfilterproxymodel.cpp:909
#8  0x00007f869243ae0b in QSortFilterProxyModelPrivate::source_items_inserted (this=0x567d700, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:706
#9  0x00007f869243c88f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x56a11c0, source_parent=..., start=0, end=91331712) at itemviews/qsortfilterproxymodel.cpp:1242
#10 0x00007f869243e58c in QSortFilterProxyModel::qt_metacall (this=0x56722a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff217ca90)
    at .moc/release-shared/moc_qsortfilterproxymodel.cpp:135
#11 0x00007f8671ab2b70 in KOTodoViewSortFilterProxyModel::qt_metacall (this=0x56a11c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x5719c80) at ./kotodoviewsortfilterproxymodel.moc:68
#12 0x00007f8692adf036 in QMetaObject::activate (sender=0x5672220, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5719c80) at kernel/qobject.cpp:3295
#13 0x00007f8692b2b054 in QAbstractItemModel::rowsInserted (this=0x56a11c0, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#14 0x00007f8692ac4db7 in QAbstractItemModel::endInsertRows (this=0x5672220) at kernel/qabstractitemmodel.cpp:2413
#15 0x00007f8671aad218 in KOTodoModel::insertTodo (this=0x5672220, todo=0x7f866c9b3140, checkRelated=<value optimized out>) at ../../korganizer/views/todoview/kotodomodel.cpp:545
#16 0x00007f8671aae7b6 in KOTodoModel::reloadTodos (this=0x5672220) at ../../korganizer/views/todoview/kotodomodel.cpp:234
#17 0x00007f8671ad13c0 in CalendarView::updateView (this=0x5623b40, start=..., end=..., updateTodos=128) at ../../korganizer/calendarview.cpp:806
#18 0x00007f8671ad29f0 in CalendarView::updateView (this=0x5623b40) at ../../korganizer/calendarview.cpp:821
#19 0x00007f8671ae1628 in CalendarView::qt_metacall (this=0x5623b40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff217d180) at ./calendarview.moc:589
#20 0x00007f8692adf036 in QMetaObject::activate (sender=0x28df650, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5719c80) at kernel/qobject.cpp:3295
#21 0x00007f868ebc60d6 in KCal::CalendarResources::load (this=0x28df650) at ../../kcal/calendarresources.cpp:321
#22 0x00007f8671dde040 in KOrganizerPart (this=0x5611af0, parentWidget=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at ../../korganizer/korganizer_part.cpp:74
#23 0x00007f8671ddea0f in KPluginFactory::createPartInstance<KOrganizerPart> (parentWidget=0x1b04e40, parent=0x1b04e40, args=...) at /usr/include/kpluginfactory.h:467
#24 0x00007f8692feca6c in KPluginFactory::create (this=0x5611550, iface=0x7f86914215c0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0x1b04e40, args=..., 
    keyword=<value optimized out>) at ../../kdecore/util/kpluginfactory.cpp:191
#25 0x00007f8693c9b56a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x1b04e40, libname=0x2047448 "korganizerpart") at /usr/include/kpluginfactory.h:491
#26 KontactInterface::Core::createPart (this=0x1b04e40, libname=0x2047448 "korganizerpart") at ../../kontactinterface/core.cpp:87
#27 0x00007f867bce6ff0 in KOrganizerPlugin::createPart (this=0x56a11c0) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:101
#28 0x00007f8693c9d879 in KontactInterface::Plugin::part (this=0x56a11c0) at ../../kontactinterface/plugin.cpp:191
#29 0x00007f867bcebfcf in ApptSummaryWidget (this=0x4b9c8e0, plugin=<value optimized out>, parent=<value optimized out>) at ../../../../kontact/plugins/korganizer/apptsummarywidget.cpp:65
#30 0x00007f867bce6a34 in KOrganizerPlugin::createSummaryWidget (this=0x203e4a0, parent=0x28b6630) at ../../../../kontact/plugins/korganizer/korganizerplugin.cpp:96
#31 0x00007f867b00a148 in SummaryViewPart::updateWidgets (this=0x2828840) at ../../../../kontact/plugins/summary/summaryview_part.cpp:160
#32 0x00007f867b00b398 in SummaryViewPart::initGUI (this=0x2828840, core=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:514
#33 0x00007f867b00b506 in SummaryViewPart (this=0x2828840, core=0x1b04e40, aboutData=<value optimized out>, parent=<value optimized out>, __in_chrg=<value optimized out>, 
    __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/summary/summaryview_part.cpp:65
#34 0x00007f867b007214 in SummaryView::createPart (this=0x2048fc0) at ../../../../kontact/plugins/summary/summaryview_plugin.cpp:109
#35 0x00007f8693c9d879 in KontactInterface::Plugin::part (this=0x56a11c0) at ../../kontactinterface/plugin.cpp:191
#36 0x00007f869425908f in Kontact::MainWindow::selectPlugin (this=0x1b04e40, plugin=0x2048fc0) at ../../../kontact/src/mainwindow.cpp:778
#37 0x00007f8694254e93 in Kontact::MainWindow::activateInitialPluginModule (this=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:290
#38 0x0000000000404895 in KontactApp::newInstance (this=0x7ffff217f600) at ../../../kontact/src/main.cpp:138
#39 0x00007f86934bcba6 in KUniqueApplicationAdaptor::newInstance (this=0x1bcdf60, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#40 0x00007f86934bd1e6 in KUniqueApplicationAdaptor::qt_metacall (this=0x1bcdf60, _c=QMetaObject::InvokeMetaMethod, _id=91331744, _a=0x7ffff217e7c0) at ./kuniqueapplication_p.moc:81
#41 0x00007f868ff135a6 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#42 0x00007f868ff1480f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1bcdf60, flags=337, msg=...) at qdbusintegrator.cpp:809
#43 0x00007f868ff152ed in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#44 0x00007f868ff15588 in QDBusActivateObjectEvent::placeMetaCall (this=0x1bca730) at qdbusintegrator.cpp:1477
#45 0x00007f8692adbb79 in QObject::event (this=0x7ffff217f600, e=0x1bca730) at kernel/qobject.cpp:1248
#46 0x00007f8691e89f7d in QApplication::event (this=0x7ffff217f600, e=0x1bca730) at kernel/qapplication.cpp:2355
#47 0x00007f8691e85c0c in QApplicationPrivate::notify_helper (this=0x1b03880, receiver=0x7ffff217f600, e=0x1bca730) at kernel/qapplication.cpp:4302
#48 0x00007f8691e8c0eb in QApplication::notify (this=0x7ffff217f600, receiver=0x7ffff217f600, e=0x1bca730) at kernel/qapplication.cpp:4185
#49 0x00007f86934b5a16 in KApplication::notify (this=0x7ffff217f600, receiver=0x7ffff217f600, event=0x1bca730) at ../../kdeui/kernel/kapplication.cpp:302
#50 0x00007f8692acbd9c in QCoreApplication::notifyInternal (this=0x7ffff217f600, receiver=0x7ffff217f600, event=0x1bca730) at kernel/qcoreapplication.cpp:726
#51 0x00007f8692acf454 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1ad8620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1ad8620) at kernel/qcoreapplication.cpp:1367
#53 0x00007f8692af5873 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#55 0x00007f868a2348c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#56 0x00007f868a238748 in ?? () from /lib/libglib-2.0.so.0
#57 0x00007f868a2388fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#58 0x00007f8692af53b3 in QEventDispatcherGlib::processEvents (this=0x1ad7d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#59 0x00007f8691f3618e in QGuiEventDispatcherGlib::processEvents (this=0x56a11c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f8692aca6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#61 0x00007f8692acaa9c in QEventLoop::exec (this=0x7ffff217f540, flags=) at kernel/qeventloop.cpp:201
#62 0x00007f8692acf73b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#63 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 204262.

Possible duplicates by query: bug 228823, bug 228140.

Reported using DrKonqi
Comment 1 Nick Elliott 2010-08-07 11:47:08 UTC
I can confirm that the individual PIM applications run without difficulty though KOrganizer crashes everytime on exit.

However whenever I try to run Kontact it crashes before opening.
Comment 2 Christophe Marin 2010-09-19 14:49:34 UTC

*** This bug has been marked as a duplicate of bug 204262 ***