Bug 249626

Summary: kontact crashed after migration to akonadi
Product: [Applications] kontact Reporter: Manuel Mommertz <2Kmm>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Manuel Mommertz 2010-08-31 14:42:38 UTC
Application: kontact (4.5 beta1)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.31-gentoo-r10 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I updated KDEPIM from 4.4.5 (with kdepimlibs from 4.5 branche) to 4.4.92.
At first start kmail migrated its data to akonadi without problems. When clicking the 'close' button form migration dialog, the application crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f91cb4f8760 (LWP 8447))]

Thread 2 (Thread 0x7f91c5eff710 (LWP 8448)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003e7a7f88b6 in WTF::TCMalloc_PageHeap::scavengerThread (this=<value optimized out>) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#2  0x0000003e7a7f88f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<value optimized out>) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#3  0x00000037b2a06894 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00000037b1ed127d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f91cb4f8760 (LWP 8447)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x140fe40, uri=...) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QExplicitlySharedDataPointer (this=0x140fe40, uri=...) at /usr/include/qt4/QtCore/qshareddata.h:162
#8  Nepomuk::Types::EntityManager::getClass (this=0x140fe40, uri=...) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/types/entitymanager.cpp:42
#9  0x00007f91cc6d7552 in Class (this=0x7fff2a14eb40, uri=...) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/types/class.cpp:286
#10 0x00007f91cc6ad5cf in Nepomuk::ResourceData::constHasType (this=0x13f2150, uri=...) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/core/resourcedata.cpp:224
#11 0x00007f91cc6afcb3 in Nepomuk::ResourceData::load (this=0x13f2150) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/core/resourcedata.cpp:393
#12 0x00007f91cc6b014c in Nepomuk::ResourceData::property (this=0x28, uri=...) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/core/resourcedata.cpp:239
#13 0x00007f91cc6bf193 in Nepomuk::Resource::property (this=0x12f0ac0, uri=...) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/core/resource.cpp:271
#14 0x00007f91cc6bf536 in Nepomuk::Resource::label (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/nepomuk/core/resource.cpp:771
#15 0x00007f91c1b13ec9 in KMFilterActionAddTag (this=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmfilteraction.cpp:912
#16 0x00007f91c1b1404a in KMFilterActionAddTag::newAction () at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmfilteraction.cpp:905
#17 0x00007f91c1b07f16 in KMFilterActionDict::insert (this=0x37b2154e60, aNewFunc=0x28) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmfilteraction.cpp:2212
#18 0x00007f91c1b082dc in KMFilterActionDict::init (this=0x129e850) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmfilteraction.cpp:2186
#19 0x00007f91c1b083da in KMFilterActionDict (this=0x37b2154e60) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmfilteraction.cpp:2207
#20 0x00007f91c1b4cc98 in KMKernel::init (this=0x13483d0) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmkernel.cpp:1153
#21 0x00007f91c1f417a8 in KMailPart (this=0x1244a70, parentWidget=0xefe490, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kmail/kmail_part.cpp:75
#22 0x00007f91c1f4372f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0xefe490, parent=0xefe490, args=...) at /usr/include/kpluginfactory.h:467
#23 0x00007f91ce26497b in KPluginFactory::create (this=0x1299d30, iface=0x7f91cde202a0 "KParts::ReadOnlyPart", parentWidget=<value optimized out>, parent=0xefe490, args=..., 
    keyword=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdecore/util/kpluginfactory.cpp:191
#24 0x00007f91ceb7e47a in KPluginFactory::create<KParts::ReadOnlyPart> (this=0xefe490, libname=0x100bd98 "kmailpart") at /usr/include/kpluginfactory.h:491
#25 KontactInterface::Core::createPart (this=0xefe490, libname=0x100bd98 "kmailpart") at /var/tmp/portage/kde-base/kdepimlibs-4.5.9999/work/kdepimlibs-4.5.9999/kontactinterface/core.cpp:87
#26 0x00007f91c298ce00 in KMailPlugin::createPart (this=0x37b2154e60) at /var/tmp/portage/kde-base/kmail-4.4.92/work/kmail-4.4.92/kontact/plugins/kmail/kmail_plugin.cpp:177
#27 0x00007f91ceb812c9 in KontactInterface::Plugin::part (this=0x37b2154e60) at /var/tmp/portage/kde-base/kdepimlibs-4.5.9999/work/kdepimlibs-4.5.9999/kontactinterface/plugin.cpp:191
#28 0x00007f91cefb984f in Kontact::MainWindow::selectPlugin (this=0xefe490, plugin=0x104f230) at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/mainwindow.cpp:767
#29 0x00007f91cefb45cc in Kontact::MainWindow::loadSettings (this=0xefe490) at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/mainwindow.cpp:933
#30 0x00007f91cefbc8c5 in Kontact::MainWindow::initObject (this=0xefe490) at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/mainwindow.cpp:210
#31 0x00007f91cefbdd7c in MainWindow (this=0xefe490, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/mainwindow.cpp:146
#32 0x00000000004049d4 in KontactApp::newInstance (this=0x7fff2a1511b0) at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/main.cpp:134
#33 0x00007f91ce757c16 in KUniqueApplicationAdaptor::newInstance (this=0xf83f60, asn_id=<value optimized out>, args=...)
    at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/kernel/kuniqueapplication.cpp:440
#34 0x00007f91ce758256 in KUniqueApplicationAdaptor::qt_metacall (this=0xf83f60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff2a150190)
    at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999_build/kdeui/kuniqueapplication_p.moc:81
#35 0x00000037cbc25a24 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=<value optimized out>, 
    slotIdx=<value optimized out>) at qdbusintegrator.cpp:904
#36 0x00000037cbc26bc7 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=<value optimized out>, flags=<value optimized out>, msg=<value optimized out>)
    at qdbusintegrator.cpp:809
#37 0x00000037cbc274a7 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=<value optimized out>, pathStartPos=<value optimized out>)
    at qdbusintegrator.cpp:1364
#38 0x00000037cbc277e8 in QDBusActivateObjectEvent::placeMetaCall (this=<value optimized out>) at qdbusintegrator.cpp:1477
#39 0x00000037caf79c28 in QObject::event (this=<value optimized out>, e=<value optimized out>) at kernel/qobject.cpp:1240
#40 0x0000003e745bf2ad in QApplication::event (this=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:2355
#41 0x0000003e745bb08c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4302
#42 0x0000003e745c16cb in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4185
#43 0x00007f91ce7509c6 in KApplication::notify (this=0x7fff2a1511b0, receiver=0x7fff2a1511b0, event=0xf05ff0)
    at /var/tmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/kernel/kapplication.cpp:310
#44 0x00000037caf69abb in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:726
#45 0x00000037caf6c248 in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=<value optimized out>, data=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#47 0x00000037caf937a3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#49 0x00000037ca63decf in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#50 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#51 0x00000037ca641d08 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#52 0x00000037ca641ebc in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2654
#53 0x00000037caf9330c in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#54 0x0000003e7466963e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00000037caf683d2 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#56 0x00000037caf687a4 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#57 0x00000037caf6c4d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#58 0x00000000004040bd in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.4.92/work/kontact-4.4.92/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Manuel Mommertz 2010-08-31 14:56:35 UTC
Same happens when starting kmail alone.
Comment 2 Volker Krause 2010-08-31 16:32:31 UTC

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