Bug 320127 - Kontact crashed after it automatically started at boot and I was not there to enter my passwords
Summary: Kontact crashed after it automatically started at boot and I was not there to...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 09:04 UTC by Dennis Schridde
Modified: 2017-01-07 22:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-05-22 09:04:15 UTC
Application: kontact (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.9.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:

Due to some other bug, Kontact is not closed properly, but leaves a process behind when it is closed. Thus it is automatically started by KDE upon next boot. This is what happened this time, too. Since I was not aat my computer to unlock KWallet and the KDE session for several minutes, Kontact started to ask for the Sieve password, after it already had asked for the KWallet to open (which probably timed out). After I entered the KWallet and Sieve passwords, Kontact crashed immediately.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe306f80780 (LWP 3194))]

Thread 3 (Thread 0x7fe3028b7700 (LWP 3491)):
#0  0x0000003a0480b8b4 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003a34336f4b in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003a34337049 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x0000003a04807dff in start_thread () from /lib64/libpthread.so.0
#4  0x0000003a040e701d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe301fb6700 (LWP 3501)):
#0  0x00007fff941ff847 in clock_gettime ()
#1  0x0000003a040f889d in clock_gettime () from /lib64/libc.so.6
#2  0x0000003dc76cf784 in do_gettime (frac=0x7fe301fb5ba8, sec=0x7fe301fb5ba0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003dc77a10ed in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fe2fc002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003dc77a1433 in QTimerInfoList::timerWait (this=0x7fe2fc002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x0000003dc779fedc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe301fb5c94) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003dc779ff7d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x0000003a0604699f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x0000003a0604702b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x0000003a06047224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x0000003dc77a080e in QEventDispatcherGlib::processEvents (this=0x7fe2fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x0000003dc7771cdf in QEventLoop::processEvents (this=this@entry=0x7fe301fb5e70, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003dc7771f60 in QEventLoop::exec (this=this@entry=0x7fe301fb5e70, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003dc7678480 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x0000003dc767b37c in QThreadPrivate::start (arg=0x24a4c10) at thread/qthread_unix.cpp:338
#16 0x0000003a04807dff in start_thread () from /lib64/libpthread.so.0
#17 0x0000003a040e701d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe306f80780 (LWP 3194)):
[KCrash Handler]
#6  lockInline (this=0x3fd55555555555d5) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:187
#7  QMutexLocker (m=0x3fd55555555555d5, this=0x7fff94145aa0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#8  QUrl::setUserName (this=this@entry=0x2da58d0, userName=...) at io/qurl.cpp:4630
#9  0x000000321a4067cc in KManageSieve::Session::saslInteract (this=this@entry=0x2da58c0, in=0x2c9e470) at /var/tmp/portage/kde-base/kmail-4.10.3/work/kmail-4.10.3/libksieve/kmanagesieve/session.cpp:450
#10 0x000000321a407544 in KManageSieve::Session::startAuthentication (this=this@entry=0x2da58c0) at /var/tmp/portage/kde-base/kmail-4.10.3/work/kmail-4.10.3/libksieve/kmanagesieve/session.cpp:379
#11 0x000000321a408261 in KManageSieve::Session::processResponse (this=this@entry=0x2da58c0, response=..., data=...) at /var/tmp/portage/kde-base/kmail-4.10.3/work/kmail-4.10.3/libksieve/kmanagesieve/session.cpp:194
#12 0x000000321a409183 in KManageSieve::Session::dataReceived (this=0x2da58c0) at /var/tmp/portage/kde-base/kmail-4.10.3/work/kmail-4.10.3/libksieve/kmanagesieve/session.cpp:138
#13 0x0000003dc7787e6f in QMetaObject::activate (sender=0x2682f80, m=m@entry=0x3dc7aca480 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0x0000003dc77cf8e0 in QIODevice::readyRead (this=<optimized out>) at .moc/release-shared/moc_qiodevice.cpp:105
#15 0x0000003dc6bb5c7a in reemitReadyRead (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.10.3-r2/work/kdelibs-4.10.3/kdecore/network/ktcpsocket.cpp:370
#16 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.10.3-r2/work/kdelibs-4.10.3_build/kdecore/ktcpsocket.moc:92
#17 KTcpSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.10.3-r2/work/kdelibs-4.10.3_build/kdecore/ktcpsocket.moc:74
#18 0x0000003dc7787e6f in QMetaObject::activate (sender=sender@entry=0x2da5da0, m=m@entry=0x3dc7aca480 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#19 0x0000003dc77cf8e0 in QIODevice::readyRead (this=this@entry=0x2da5da0) at .moc/release-shared/moc_qiodevice.cpp:105
#20 0x0000003dc84e52de in QSslSocketBackendPrivate::transmit (this=0x2dce9e0) at ssl/qsslsocket_openssl.cpp:1149
#21 0x0000003dc84de421 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qsslsocket.cpp:98
#22 QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qsslsocket.cpp:77
#23 0x0000003dc7787e6f in QMetaObject::activate (sender=sender@entry=0x2cfec60, m=m@entry=0x3dc7aca480 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#24 0x0000003dc77cf8e0 in QIODevice::readyRead (this=this@entry=0x2cfec60) at .moc/release-shared/moc_qiodevice.cpp:105
#25 0x0000003dc84c1a4c in QAbstractSocketPrivate::canReadNotification (this=0x2dd7ed0) at socket/qabstractsocket.cpp:654
#26 0x0000003dc84ca08d in event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#27 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1148
#28 0x0000003a325cb66c in QApplicationPrivate::notify_helper (this=this@entry=0x23269c0, receiver=receiver@entry=0x2e94ca0, e=e@entry=0x7fff94147cd0) at kernel/qapplication.cpp:4562
#29 0x0000003a325cfa2a in QApplication::notify (this=this@entry=0x7fff941480c0, receiver=receiver@entry=0x2e94ca0, e=e@entry=0x7fff94147cd0) at kernel/qapplication.cpp:4423
#30 0x0000003a2f4423b6 in KApplication::notify (this=0x7fff941480c0, receiver=0x2e94ca0, event=0x7fff94147cd0) at /var/tmp/portage/kde-base/kdelibs-4.10.3-r2/work/kdelibs-4.10.3/kdeui/kernel/kapplication.cpp:311
#31 0x0000003dc7772f4d in QCoreApplication::notifyInternal (this=0x7fff941480c0, receiver=0x2e94ca0, event=event@entry=0x7fff94147cd0) at kernel/qcoreapplication.cpp:946
#32 0x0000003dc77a0007 in sendEvent (event=0x7fff94147cd0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 socketNotifierSourceDispatch (source=0x2326bc0) at kernel/qeventdispatcher_glib.cpp:110
#34 0x0000003a06046e1c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x0000003a06047174 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x0000003a06047224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x0000003dc77a07f4 in QEventDispatcherGlib::processEvents (this=0x22f4b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x0000003a3266944e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x0000003dc7771cdf in QEventLoop::processEvents (this=this@entry=0x7fff94147f30, flags=...) at kernel/qeventloop.cpp:149
#40 0x0000003dc7771f60 in QEventLoop::exec (this=this@entry=0x7fff94147f30, flags=...) at kernel/qeventloop.cpp:204
#41 0x0000003dc7776ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#42 0x0000003a325c995c in QApplication::exec () at kernel/qapplication.cpp:3823
#43 0x0000000000403459 in main (argc=3, argv=0x7fff94148208) at /var/tmp/portage/kde-base/kontact-4.10.3/work/kontact-4.10.3/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:34:12 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:32:37 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.