Bug 298396

Summary: Kontact segfaults after receiving Sieve password
Product: [Applications] kontact Reporter: Dennis Schridde <heri+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Schridde 2012-04-19 08:26:08 UTC
Application: kontact (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.3.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
I have setup Kontact/KMail/Akonadi to support Sieve. Kontact starts after logging in and I do not open accept the request to open KWallet by entering my password, because I am AFK. When I later come back, Kontact will have opened a window asking me for my Sieve password (and username, but that is already filled in) and the KWallet dialogue is still open. I enter my KWallet password in one dialogue and as soon as I enter the Sieve password into the other, Kontact will segfault.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fbce6bf9700 (LWP 5484)):
#0  0x00000033c280bb04 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x000000364496e464 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x000000364496e589 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00000033c2807d7b in start_thread () from /lib64/libpthread.so.0
#4  0x00000033c20e673d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbce62e0700 (LWP 5491)):
#0  0x00007fff94fb88de in ?? ()
#1  0x00000033c3c0402b in clock_gettime () from /lib64/librt.so.1
#2  0x000000363b8d0cd4 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x000000363b9a580d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000363b9a5b23 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x000000363b9a464c in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x000000363b9a46ed in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x000000363b4469ed in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x000000363b4471bb in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x000000363b4473a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x000000363b9a50b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x000000363b975a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x000000363b975ce7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x000000363b87880f in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x000000363b87b77b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00000033c2807d7b in start_thread () from /lib64/libpthread.so.0
#16 0x00000033c20e673d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbceb5ab7a0 (LWP 5470)):
[KCrash Handler]
#6  0x000000363b9312a1 in QUrl::setUserName(QString const&) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x0000003650406904 in KManageSieve::Session::saslInteract (this=0x1020df0, in=0x1014b80) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/libksieve/kmanagesieve/session.cpp:448
#8  0x0000003650407694 in KManageSieve::Session::startAuthentication (this=0x1020df0) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/libksieve/kmanagesieve/session.cpp:375
#9  0x00000036504087d1 in KManageSieve::Session::processResponse (this=0x1020df0, response=..., data=...) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/libksieve/kmanagesieve/session.cpp:190
#10 0x00000036504099f5 in KManageSieve::Session::dataReceived (this=0x1020df0) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/libksieve/kmanagesieve/session.cpp:134
#11 0x000000363b98a581 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x000000363e9c92fa in reemitReadyRead (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdecore/network/ktcpsocket.cpp:352
#13 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2_build/kdecore/ktcpsocket.moc:92
#14 KTcpSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2_build/kdecore/ktcpsocket.moc:74
#15 0x000000363b98a581 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x000000363d8f0a40 in QSslSocketBackendPrivate::transmit() () from /usr/lib64/qt4/libQtNetwork.so.4
#17 0x000000363d8eaf11 in QSslSocket::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt4/libQtNetwork.so.4
#18 0x000000363b98a581 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x000000363d8cac57 in QAbstractSocketPrivate::canReadNotification() () from /usr/lib64/qt4/libQtNetwork.so.4
#20 0x000000363d8d2671 in QReadNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtNetwork.so.4
#21 0x000000363bfc8bd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x000000363bfcd973 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x000000363f050626 in KApplication::notify (this=0x7fff94ee27a0, receiver=0xed4620, event=0x7fff94ee2510) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#24 0x000000363b976c83 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x000000363b9a475f in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x000000363b446f41 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x000000363b4472f5 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x000000363b4473a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x000000363b9a505b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x000000363c069c4e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x000000363b975a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x000000363b975ce7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x000000363b97a745 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x0000000000403709 in main (argc=3, argv=0x7fff94ee2dc8) at /var/tmp/portage/kde-base/kontact-4.8.2/work/kontact-4.8.2/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2012-04-20 12:18:38 UTC

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