Bug 332345

Summary: Kontact crashes on launch
Product: [Applications] kontact Reporter: Paul L. <snowhg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dns_hmpf, exellent, gortab, horst.fiedler, pali.rohar
Priority: NOR Keywords: drkonqi
Version: 4.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Paul L. 2014-03-20 02:47:12 UTC
Application: kontact (4.12.3)
KDE Platform Version: 4.12.90
Qt Version: 4.8.6
Operating System: Linux 3.13.0-18-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
I updated the package cache and dist-upgraded. A reboot was indicated and I did reboot. After logging in I launched Kontact and it immediately crashed. The following packages were dist-upgraded:

2014-03-19
(dist-upgrade)
The following packages will be upgraded:
  audiocd-kio bash bc cmake cmake-data cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ppdc cups-server-common dc dragonplayer kaccessible kamera kcalc
  kde-base-artwork kde-l10n-engb kde-wallpapers-default kde-zeroconf kdegames-card-data kdegames-data kdegames-mahjongg-data kdegraphics-strigi-analyzer kdelibs-bin kdelibs5-data
  kdelibs5-dev kdelibs5-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepimlibs-kio-plugins kdoctools kio-audiocd kmag kmahjongg kmix kpat kppp krdc krfb ksnapshot ksystemlog
  kwalletmanager language-selector-common libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
  libakonadi-socialutils4 libcups2 libcups2:i386 libcupscgi1 libcupsimage2 libcupsimage2:i386 libcupsmime1 libcupsppdc1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libglib2.0-0
  libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgpgme++2 libkabc4 libkalarmcal2 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkcompactdisc4 libkdcraw-data
  libkdcraw23 libkde3support4 libkdeclarative5 libkdecore5 libkdegames6 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkexiv2-11 libkexiv2-data libkfile4 libkholidays4
  libkhtml5 libkidletime4 libkimap4 libkimproxy4 libkio5 libkipi-data libkipi11 libkjsapi4 libkjsembed4 libkldap4 libkmahjongglib4 libkmbox4 libkmediaplayer4 libkmime4 libknewstuff2-4
  libknewstuff3-4 libknotifyconfig4 libkntlm4 libkontactinterface4 libkparts4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4 libkrosscore4
  libkrossui4 libksane-data libksane0 libktexteditor4 libktnef4 libkunitconversion4 libkutils4 libkxmlrpcclient4 libmailtransport4 libmicroblog4 libnepomuk4 libnepomukquery4a
  libnepomukutils4 libplasma3 libqgpgme1 libqmobipocket1 librsvg2-2 librsvg2-2:i386 librsvg2-common librsvg2-common:i386 libsolid4 libsyndication4 libthreadweaver4 oracle-java8-installer
  print-manager python-apt python-apt-common python3-apt
148 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

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 0x7fd18f846800 (LWP 4612))]

Thread 3 (Thread 0x7fd17013f700 (LWP 4613)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd18a5eb3bd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd18a5eb3f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd186d0c182 in start_thread (arg=0x7fd17013f700) at pthread_create.c:312
#4  0x00007fd18cdbe12d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd12f83c700 (LWP 4614)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd18a32bd2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd18a61ac76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd186d0c182 in start_thread (arg=0x7fd12f83c700) at pthread_create.c:312
#4  0x00007fd18cdbe12d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd18f846800 (LWP 4612)):
[KCrash Handler]
#6  0x00007fd18d51f992 in QObject::connect (sender=0x7fd12c8636f8 <vtable for KMailPlugin+24>, signal=signal@entry=0x7fd18f48544e "2destroyed()", receiver=receiver@entry=0x17e81e0, method=method@entry=0x7fd18f48543d "1partDestroyed()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2546
#7  0x00007fd18f482dc6 in connect (atype=Qt::AutoConnection, amember=0x7fd18f48543d "1partDestroyed()", asignal=0x7fd18f48544e "2destroyed()", asender=<optimized out>, this=0x17e81e0) at /usr/include/qt4/QtCore/qobject.h:339
#8  KontactInterface::Plugin::part (this=0x17e81e0) at ../../kontactinterface/plugin.cpp:195
#9  0x00007fd18f04a3a1 in Kontact::MainWindow::selectPlugin (this=0x15dedb0, plugin=0x17e81e0) at ../../../kontact/src/mainwindow.cpp:815
#10 0x00007fd18f04800c in Kontact::MainWindow::loadSettings (this=this@entry=0x15dedb0) at ../../../kontact/src/mainwindow.cpp:984
#11 0x00007fd18f04d672 in Kontact::MainWindow::initObject (this=this@entry=0x15dedb0) at ../../../kontact/src/mainwindow.cpp:247
#12 0x00007fd18f04dd78 in Kontact::MainWindow::MainWindow (this=0x15dedb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:154
#13 0x0000000000404084 in KontactApp::newInstance (this=0x7fff3795be60) at ../../../kontact/src/main.cpp:135
#14 0x00007fd18ec0edea in KUniqueApplicationAdaptor::newInstance (this=0x15a4330, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#15 0x00007fd18ec0ee65 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x15a4330, _id=_id@entry=0, _a=_a@entry=0x7fff3795b450, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#16 0x00007fd18ec0f083 in qt_static_metacall (_a=0x7fff3795b450, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x15a4330) at ./kuniqueapplication_p.moc:100
#17 KUniqueApplicationAdaptor::qt_metacall (this=0x15a4330, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff3795b450) at ./kuniqueapplication_p.moc:101
#18 0x00007fd18c12b1f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x145d6d0, object=object@entry=0x15a4330, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#19 0x00007fd18c12c2f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x145d6d0, object=0x15a4330, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#20 0x00007fd18c12cddd in QDBusConnectionPrivate::activateObject (this=0x145d6d0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#21 0x00007fd18c12ceab in QDBusActivateObjectEvent::placeMetaCall (this=0x163c150) at qdbusintegrator.cpp:1541
#22 0x00007fd18d522c1e in QObject::event (this=this@entry=0x7fff3795be60, e=e@entry=0x163c150) at kernel/qobject.cpp:1194
#23 0x00007fd18d50ecfc in QCoreApplication::event (this=this@entry=0x7fff3795be60, e=e@entry=0x163c150) at kernel/qcoreapplication.cpp:1765
#24 0x00007fd18df01ed3 in QApplication::event (this=0x7fff3795be60, e=0x163c150) at kernel/qapplication.cpp:2549
#25 0x00007fd18defce2c in QApplicationPrivate::notify_helper (this=this@entry=0x147afd0, receiver=receiver@entry=0x7fff3795be60, e=e@entry=0x163c150) at kernel/qapplication.cpp:4567
#26 0x00007fd18df034a0 in QApplication::notify (this=this@entry=0x7fff3795be60, receiver=receiver@entry=0x7fff3795be60, e=e@entry=0x163c150) at kernel/qapplication.cpp:4353
#27 0x00007fd18ec07b9a in KApplication::notify (this=0x7fff3795be60, receiver=0x7fff3795be60, event=0x163c150) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fd18d50a4dd in QCoreApplication::notifyInternal (this=0x7fff3795be60, receiver=receiver@entry=0x7fff3795be60, event=event@entry=0x163c150) at kernel/qcoreapplication.cpp:953
#29 0x00007fd18d50db3d in sendEvent (event=0x163c150, receiver=0x7fff3795be60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x143b1d0) at kernel/qcoreapplication.cpp:1577
#31 0x00007fd18d50dfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#32 0x00007fd18d537f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1483110) at kernel/qeventdispatcher_glib.cpp:287
#34 0x00007fd18682ce04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fd18682d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fd18682d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fd18d5377a1 in QEventDispatcherGlib::processEvents (this=0x143c6b0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#38 0x00007fd18df9ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fd18d5090af in QEventLoop::processEvents (this=this@entry=0x7fff3795bd60, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fd18d5093a5 in QEventLoop::exec (this=this@entry=0x7fff3795bd60, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fd18d50eb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#42 0x00007fd18defb37c in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x0000000000403660 in main (argc=1, argv=0x7fff3795bfa8) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 232851.

Reported using DrKonqi
Comment 1 Paul L. 2014-03-20 04:40:47 UTC
Kontact alone crashes. KMail, KOrganizer, KAdressBook, when launched separately work fine.
Comment 2 ray-ven 2014-03-20 08:23:02 UTC
Created attachment 85642 [details]
New crash information added by DrKonqi

kontact (4.12.3) on KDE Platform 4.12.90 using Qt 4.8.6

- What I was doing when the application crashed:

I started Kontact (after restart, nothing else started)

-- Backtrace (Reduced):
#6  0x00007faa79467992 in QObject::connect (sender=0x7faa13df46f8 <vtable for KMailPlugin+24>, signal=signal@entry=0x7faa7b3cd44e "2destroyed()", receiver=receiver@entry=0x2472a30, method=method@entry=0x7faa7b3cd43d "1partDestroyed()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2546
#7  0x00007faa7b3cadc6 in connect (atype=Qt::AutoConnection, amember=0x7faa7b3cd43d "1partDestroyed()", asignal=0x7faa7b3cd44e "2destroyed()", asender=<optimized out>, this=0x2472a30) at /usr/include/qt4/QtCore/qobject.h:339
#8  KontactInterface::Plugin::part (this=0x2472a30) at ../../kontactinterface/plugin.cpp:195
#9  0x00007faa7af923a1 in Kontact::MainWindow::selectPlugin (this=0x21a3ec0, plugin=0x2472a30) at ../../../kontact/src/mainwindow.cpp:815
#10 0x00007faa7af9000c in Kontact::MainWindow::loadSettings (this=this@entry=0x21a3ec0) at ../../../kontact/src/mainwindow.cpp:984
Comment 3 axel 2014-03-20 11:03:01 UTC
Created attachment 85644 [details]
New crash information added by DrKonqi

kontact (4.12.3) on KDE Platform 4.12.90 using Qt 4.8.6

Kontact crashs on launch

-- Backtrace (Reduced):
#8  0xb6493244 in QObject::connect (sender=0xaca45b6c <vtable for KMailPlugin+12>, signal=signal@entry=0xb77b6dc6 "2destroyed()", receiver=receiver@entry=0x93bede8, method=method@entry=0xb77b6db5 "1partDestroyed()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2546
#9  0xb77b4255 in connect (atype=Qt::AutoConnection, amember=0xb77b6db5 "1partDestroyed()", asignal=0xb77b6dc6 "2destroyed()", asender=<optimized out>, this=0x93bede8) at /usr/include/qt4/QtCore/qobject.h:339
#10 KontactInterface::Plugin::part (this=0x93bede8) at ../../kontactinterface/plugin.cpp:195
#11 0xb777c589 in Kontact::MainWindow::selectPlugin (this=0x91d6eb0, plugin=0x93bede8) at ../../../kontact/src/mainwindow.cpp:815
#12 0xb7779eac in Kontact::MainWindow::loadSettings (this=this@entry=0x91d6eb0) at ../../../kontact/src/mainwindow.cpp:984
Comment 4 Dirk Sarpe 2014-03-20 12:49:41 UTC
Created attachment 85646 [details]
New crash information added by DrKonqi

kontact (4.12.3) on KDE Platform 4.12.90 using Qt 4.8.6

- What I was doing when the application crashed:

Launching Kontact (tried via konsole, KMenu and krunner).

-- Backtrace (Reduced):
#6  0x00007fefe43a3992 in QObject::connect (sender=0x7fef7f4f76f8 <vtable for KMailPlugin+24>, signal=signal@entry=0x7fefe630944e "2destroyed()", receiver=receiver@entry=0x23752b0, method=method@entry=0x7fefe630943d "1partDestroyed()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2546
#7  0x00007fefe6306dc6 in connect (atype=Qt::AutoConnection, amember=0x7fefe630943d "1partDestroyed()", asignal=0x7fefe630944e "2destroyed()", asender=<optimized out>, this=0x23752b0) at /usr/include/qt4/QtCore/qobject.h:339
#8  KontactInterface::Plugin::part (this=0x23752b0) at ../../kontactinterface/plugin.cpp:195
#9  0x00007fefe5ece3a1 in Kontact::MainWindow::selectPlugin (this=0x1f71930, plugin=0x23752b0) at ../../../kontact/src/mainwindow.cpp:815
#10 0x00007fefe5ecc00c in Kontact::MainWindow::loadSettings (this=this@entry=0x1f71930) at ../../../kontact/src/mainwindow.cpp:984
Comment 5 Laurent Montel 2014-03-20 16:49:10 UTC
*** Bug 332359 has been marked as a duplicate of this bug. ***
Comment 6 Dirk Sarpe 2014-03-20 20:12:18 UTC
Just got a package update and know it works. There were several packages related to pim that got updated to 4:4.12.90-0ubuntu1, e.g. libkdepim4 ad libpimcommon4. So it might have been a downstream issue or something along the line of incomplete packages. Sorry for the noise here.
Comment 7 Paul L. 2014-03-22 07:24:12 UTC
Resolved after package updates of 20-March-2014.
Comment 8 Pali Rohár 2015-02-28 13:19:15 UTC

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