Bug 307185 - Kontact crashes on login
Summary: Kontact crashes on login
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 03:52 UTC by Robert Marmorstein
Modified: 2017-06-24 00:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2012-09-22 03:52:38 UTC
Application: kontact (4.9.1)
KDE Platform Version: 4.9.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-10-generic x86_64
Distribution: Ubuntu quantal (development branch)

-- Information about the crash:
When I log in to KDE4, this crash report always pops up.  I can't open Kontact until I close the crash report, so it really is running, but it crashes before I can interact with it.  Once I close the bug report and reopen Kontact, everything seems fine.  Possibly there is a race condition with something in Plasma?

A possible related symptom is that the first time I pull up Akregator, it asks me if I want to "restore" a previous session.  Even if I close out normally, so that the message goes away, it comes back whenever I log out and back in.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f500d9637c0 (LWP 3107))]

Thread 5 (Thread 0x7f50064d8700 (LWP 3192)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f501eedab2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f501eedac39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f501a425e9a in start_thread (arg=0x7f50064d8700) at pthread_create.c:308
#4  0x00007f501fc0339d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5005bd7700 (LWP 3209)):
#0  0x00007f501fbf79e3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5019f56e84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5019f56fa4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5020377c16 in QEventDispatcherGlib::processEvents (this=0x7f50000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f50203482bf in QEventLoop::processEvents (this=this@entry=0x7f5005bd6dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5020348548 in QEventLoop::exec (this=0x7f5005bd6dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5020249b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f502024caec in QThreadPrivate::start (arg=0x122a460) at thread/qthread_unix.cpp:338
#8  0x00007f501a425e9a in start_thread (arg=0x7f5005bd7700) at pthread_create.c:308
#9  0x00007f501fc0339d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4fb7ef7700 (LWP 3413)):
#0  0x00007f501fbf79e3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5019f56e84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5019f56fa4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5020377c16 in QEventDispatcherGlib::processEvents (this=0x7f4fb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f50203482bf in QEventLoop::processEvents (this=this@entry=0x7f4fb7ef6d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5020348548 in QEventLoop::exec (this=0x7f4fb7ef6d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5020249b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f50203289af in QInotifyFileSystemWatcherEngine::run (this=0x188e2b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f502024caec in QThreadPrivate::start (arg=0x188e2b0) at thread/qthread_unix.cpp:338
#9  0x00007f501a425e9a in start_thread (arg=0x7f4fb7ef7700) at pthread_create.c:308
#10 0x00007f501fc0339d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4faa7d2700 (LWP 3445)):
#0  0x00007f501fbf79e3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5019f56e84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5019f56fa4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5020377c16 in QEventDispatcherGlib::processEvents (this=0x7f4fa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f50203482bf in QEventLoop::processEvents (this=this@entry=0x7f4faa7d1dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5020348548 in QEventLoop::exec (this=0x7f4faa7d1dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5020249b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f502024caec in QThreadPrivate::start (arg=0x1a1f830) at thread/qthread_unix.cpp:338
#8  0x00007f501a425e9a in start_thread (arg=0x7f4faa7d2700) at pthread_create.c:308
#9  0x00007f501fc0339d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f500d9637c0 (LWP 3107)):
[KCrash Handler]
#6  QReadWriteLock::lockForWrite (this=0x8) at thread/qreadwritelock.cpp:277
#7  0x00007f50155d6724 in relock (this=0x7fff32f70470) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:155
#8  QWriteLocker (areadWriteLock=0x8, this=0x7fff32f70470) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:175
#9  QSqlDatabasePrivate::removeDatabase (name=...) at kernel/qsqldatabase.cpp:246
#10 0x00007f4fb4224c73 in Plasma::StorageThread::~StorageThread (this=0x1a1f830, __in_chrg=<optimized out>) at ../../plasma/private/storagethread.cpp:57
#11 0x00007f4fb4224cd7 in ~StorageThreadSingleton (this=0x1a1f830, __in_chrg=<optimized out>) at ../../plasma/private/storagethread.cpp:35
#12 destroy () at ../../plasma/private/storagethread.cpp:45
#13 0x00007f501fb4c8e1 in __run_exit_handlers (status=1, listp=0x7f501fec76a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#14 0x00007f501fb4c965 in __GI_exit (status=<optimized out>) at exit.c:100
#15 0x00007f4fbd423786 in KMail::lockOrDie () at ../../kmail/kmstartup.cpp:193
#16 0x00007f4fbd765ba5 in KMailPart::KMailPart (this=this@entry=0x1e65320, parentWidget=parentWidget@entry=0x104cc40, parent=parent@entry=0x104cc40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:70
#17 0x00007f4fbd766f9f in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x104cc40, parent=0x104cc40, args=...) at /usr/include/kpluginfactory.h:483
#18 0x00007f50208a4195 in KPluginFactory::create (this=0x138f030, iface=0x7f501f900200 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x104cc40, parent=0x104cc40, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#19 0x00007f5021e5da7f in create<KParts::ReadOnlyPart> (args=..., parent=0x104cc40, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#20 KontactInterface::Core::createPart (this=0x104cc40, libname=0x1e444b8 "kmailpart") at ../../kontactinterface/core.cpp:87
#21 0x00007f4fbe6f05e0 in KMailPlugin::createPart (this=0x1e479d0) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:183
#22 0x00007f5021e60089 in KontactInterface::Plugin::part (this=0x1e479d0) at ../../kontactinterface/plugin.cpp:191
#23 0x00007f502229a30a in Kontact::MainWindow::selectPlugin (this=0x104cc40, plugin=0x1a1f840) at ../../../kontact/src/mainwindow.cpp:805
#24 0x00007f5022297404 in Kontact::MainWindow::loadSettings (this=this@entry=0x104cc40) at ../../../kontact/src/mainwindow.cpp:972
#25 0x00007f5022299753 in Kontact::MainWindow::initObject (this=this@entry=0x104cc40) at ../../../kontact/src/mainwindow.cpp:243
#26 0x00007f5022299d6a in Kontact::MainWindow::MainWindow (this=0x104cc40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:153
#27 0x0000000000403e84 in KontactApp::newInstance (this=0x7fff32f74710) at ../../../kontact/src/main.cpp:135
#28 0x00007f5021a37f62 in KUniqueApplicationAdaptor::newInstance (this=0x11b37f0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#29 0x00007f5021a37fe4 in qt_static_metacall (_a=0x7fff32f72620, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#30 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff32f72620) at ./kuniqueapplication_p.moc:52
#31 0x00007f5021a3811b in KUniqueApplicationAdaptor::qt_metacall (this=0x11b37f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff32f72620) at ./kuniqueapplication_p.moc:102
#32 0x00007f501cd6bed3 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x104dcf0, object=object@entry=0x11b37f0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#33 0x00007f501cd6cf06 in QDBusConnectionPrivate::activateCall (this=this@entry=0x104dcf0, object=0x11b37f0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:850
#34 0x00007f501cd6d94f in QDBusConnectionPrivate::activateObject (this=0x104dcf0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#35 0x00007f501cd6da2b in QDBusActivateObjectEvent::placeMetaCall (this=0x1c17190) at qdbusintegrator.cpp:1537
#36 0x00007f502035e43e in QObject::event (this=0x7fff32f74710, e=<optimized out>) at kernel/qobject.cpp:1195
#37 0x00007f5020d2bf94 in QApplication::event (this=0x7fff32f74710, e=0x1c17190) at kernel/qapplication.cpp:2544
#38 0x00007f5020d29e9c in QApplicationPrivate::notify_helper (this=this@entry=0x10672d0, receiver=receiver@entry=0x7fff32f74710, e=e@entry=0x1c17190) at kernel/qapplication.cpp:4562
#39 0x00007f5020d2e30a in QApplication::notify (this=0x7fff32f74710, receiver=0x7fff32f74710, e=0x1c17190) at kernel/qapplication.cpp:4423
#40 0x00007f5021a31cb6 in KApplication::notify (this=0x7fff32f74710, receiver=0x7fff32f74710, event=0x1c17190) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f502034956e in QCoreApplication::notifyInternal (this=0x7fff32f74710, receiver=receiver@entry=0x7fff32f74710, event=event@entry=0x1c17190) at kernel/qcoreapplication.cpp:915
#42 0x00007f502034d3f1 in sendEvent (event=0x1c17190, receiver=0x7fff32f74710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x102d380) at kernel/qcoreapplication.cpp:1539
#44 0x00007f5020377a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=0x1068600) at kernel/qeventdispatcher_glib.cpp:279
#46 0x00007f5019f56bb5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f5019f56ee8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f5019f56fa4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f5020377bf6 in QEventDispatcherGlib::processEvents (this=0x102ec10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f5020dcec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f50203482bf in QEventLoop::processEvents (this=this@entry=0x7fff32f732a0, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f5020348548 in QEventLoop::exec (this=0x7fff32f732a0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f5021b4214a in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:516
#54 0x00007f4fad205262 in ?? () from /usr/lib/kde4/plasma_engine_microblog.so
#55 0x00007f4fad205df4 in ?? () from /usr/lib/kde4/plasma_engine_microblog.so
#56 0x00007f4fad1fbf18 in ?? () from /usr/lib/kde4/plasma_engine_microblog.so
#57 0x00007f4fad1fc874 in ?? () from /usr/lib/kde4/plasma_engine_microblog.so
#58 0x00007f4fad1fe1b6 in ?? () from /usr/lib/kde4/plasma_engine_microblog.so
#59 0x00007f4fb41ced9d in Plasma::DataEnginePrivate::requestSource (this=0x1c13930, sourceName=..., newSource=newSource@entry=0x7fff32f7383f) at ../../plasma/dataengine.cpp:707
#60 0x00007f4fb41cefa6 in Plasma::DataEngine::connectSource (this=0x1c13fe0, source=..., visualization=0x1c0c690, pollingInterval=0, intervalAlignment=Plasma::NoAlignment) at ../../plasma/dataengine.cpp:95
#61 0x00007f4fb45dcad1 in SharePlugin::refreshConfig (this=this@entry=0x1c0c690) at ../../../../akregator/plugins/sharemicroblog/sharemicroblogplugin.cpp:123
#62 0x00007f4fb45dcf58 in SharePlugin::SharePlugin (this=this@entry=0x1c0c690, parent=parent@entry=0x1a60190, args=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../akregator/plugins/sharemicroblog/sharemicroblogplugin.cpp:81
#63 0x00007f4fb45dd2ab in SharePluginIface::SharePluginIface (this=0x1c09ae0, parent=0x1a60190, args=...) at ../../../../akregator/plugins/sharemicroblog/sharemicroblogplugin.cpp:42
#64 0x00007f4fb45ddd87 in KPluginFactory::createInstance<SharePluginIface, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#65 0x00007f50208a4195 in KPluginFactory::create (this=0x1bfafc0, iface=0x7f4fb69a18c0 <qt_meta_stringdata_Akregator__Plugin> "Akregator::Plugin", parentWidget=0x0, parent=0x1a60190, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#66 0x00007f4fb6be0945 in create<Akregator::Plugin> (args=..., parent=0x1a60190, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#67 Akregator::PluginManager::createFromService (service=..., parent=0x1a60190) at ../../../akregator/src/pluginmanager.cpp:93
#68 0x00007f4fb6c19847 in Akregator::Part::loadPlugins (this=this@entry=0x1a60190, type=...) at ../../../akregator/src/akregator_part.cpp:326
#69 0x00007f4fb6c1a12e in Akregator::Part::Part (this=this@entry=0x1a60190, parentWidget=parentWidget@entry=0x11f0ad0, parent=parent@entry=0x11f0ad0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:315
#70 0x00007f4fb6c1c75f in KPluginFactory::createPartInstance<Akregator::Part> (parentWidget=0x11f0ad0, parent=0x11f0ad0, args=...) at /usr/include/kpluginfactory.h:483
#71 0x00007f50208a4195 in KPluginFactory::create (this=0x1a6c560, iface=0x7f501f900200 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x11f0ad0, parent=0x11f0ad0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#72 0x00007f5021e5da7f in create<KParts::ReadOnlyPart> (args=..., parent=0x11f0ad0, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#73 KontactInterface::Core::createPart (this=0x11f0ad0, libname=0x12ef468 "akregatorpart") at ../../kontactinterface/core.cpp:87
#74 0x00007f4fbdb8aad0 in AkregatorPlugin::createPart (this=0x12c79e0) at ../../../../kontact/plugins/akregator/akregator_plugin.cpp:97
#75 0x00007f5021e60089 in KontactInterface::Plugin::part (this=0x12c79e0) at ../../kontactinterface/plugin.cpp:191
#76 0x00007f502229a30a in Kontact::MainWindow::selectPlugin (this=0x11f0ad0, plugin=0x1a1f840) at ../../../kontact/src/mainwindow.cpp:805
#77 0x00007f5022292634 in Kontact::MainWindow::selectPlugin (this=this@entry=0x11f0ad0, pluginName=...) at ../../../kontact/src/mainwindow.cpp:951
#78 0x00007f5022297422 in Kontact::MainWindow::loadSettings (this=this@entry=0x11f0ad0) at ../../../kontact/src/mainwindow.cpp:974
#79 0x00007f5022299753 in Kontact::MainWindow::initObject (this=this@entry=0x11f0ad0) at ../../../kontact/src/mainwindow.cpp:243
#80 0x00007f5022299d6a in Kontact::MainWindow::MainWindow (this=0x11f0ad0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:153
#81 0x000000000040376b in main (argc=3, argv=0x7fff32f74858) at ../../../kontact/src/main.cpp:211

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-30 13:36:29 UTC
This looks like a problem triggered by the plasma micro-blogging widget, could you maybe remove that and try again?
Comment 2 Denis Kurz 2017-06-24 00:21:41 UTC
Closing due to lack of feedback