Bug 338965 - KMail crashed after restarting server while viewing SSL certificate approval dialogue
Summary: KMail crashed after restarting server while viewing SSL certificate approval ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: sieve (show other bugs)
Version: 4.13.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 07:33 UTC by Dennis Schridde
Modified: 2017-01-07 22:02 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 2014-09-10 07:33:23 UTC
Again DrKonqi was unable to properly login into KDE Bugzilla (see e.g. bug #338868,  "Error sending the crash report: /Received unexpected error code 410 from bugzilla. Error message was: You must login before using this part of KDE Bugtracking System../"), thus I paste the kcrash report below. The report does not contain the KDE product and component, which DrKonqi identified, so I guessed instead.

Application: kmail (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-35-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

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

KMail was showing me the certificate approval dialogue (because the server used a self-signed certificate). While leaving the dialogue open, I changed the server certificate and restarted it. Then I closed (cancelled) the certificate approval dialogue and KMail crashed.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3d2d66e800 (LWP 11154))]

Thread 5 (Thread 0x7f3d04f7e700 (LWP 11165)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d1ef6c81d in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3d1ef6c859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3d28292182 in start_thread (arg=0x7f3d04f7e700) at pthread_create.c:312
#4  0x00007f3d2a9d0fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3cc3dec700 (LWP 11166)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d1ecad20d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3d1ef9bfd6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3d28292182 in start_thread (arg=0x7f3cc3dec700) at pthread_create.c:312
#4  0x00007f3d2a9d0fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3cc2f2d700 (LWP 11169)):
#0  0x00007f3d22a9062a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3d22a90989 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3d22a4ebc6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3d22a4f048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3d22a4f0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3d2b3607be in QEventDispatcherGlib::processEvents (this=0x7f3cb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f3d2b3320af in QEventLoop::processEvents (this=this@entry=0x7f3cc2f2cde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3d2b3323a5 in QEventLoop::exec (this=this@entry=0x7f3cc2f2cde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3d2b22ec5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f3d2b23132f in QThreadPrivate::start (arg=0x21e5d70) at thread/qthread_unix.cpp:349
#10 0x00007f3d28292182 in start_thread (arg=0x7f3cc2f2d700) at pthread_create.c:312
#11 0x00007f3d2a9d0fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3cb3198700 (LWP 11171)):
#0  0x00007f3d22a9062d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3d22a909b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3d22a4ea59 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3d22a4ef7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3d22a4f0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3d2b3607be in QEventDispatcherGlib::processEvents (this=0x7f3cac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f3d2b3320af in QEventLoop::processEvents (this=this@entry=0x7f3cb3197da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3d2b3323a5 in QEventLoop::exec (this=this@entry=0x7f3cb3197da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3d2b22ec5f in QThread::exec (this=this@entry=0x282f100) at thread/qthread.cpp:537
#9  0x00007f3d2b313823 in QInotifyFileSystemWatcherEngine::run (this=0x282f100) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f3d2b23132f in QThreadPrivate::start (arg=0x282f100) at thread/qthread_unix.cpp:349
#11 0x00007f3d28292182 in start_thread (arg=0x7f3cb3198700) at pthread_create.c:312
#12 0x00007f3d2a9d0fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3d2d66e800 (LWP 11154)):
[KCrash Handler]
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2467
#8  d_func (this=0x0) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:168
#9  QIODevice::write (this=0x0, data=0x2a62758 "LOGOUT", maxSize=6) at io/qiodevice.cpp:1311
#10 0x00007f3d1c46a817 in write (data=..., this=<optimized out>) at /usr/include/qt4/QtCore/qiodevice.h:127
#11 KManageSieve::Session::sendData (this=this@entry=0x267c2d0, data=...) at ../../../libksieve/kmanagesieve/session.cpp:381
#12 0x00007f3d1c46a96a in KManageSieve::Session::disconnectFromHost (this=this@entry=0x267c2d0, sendLogout=sendLogout@entry=true) at ../../../libksieve/kmanagesieve/session.cpp:95
#13 0x00007f3d1c46acbd in KManageSieve::Session::sslResult (this=0x267c2d0, encrypted=<optimized out>) at ../../../libksieve/kmanagesieve/session.cpp:347
#14 0x00007f3d2b34787a in QMetaObject::activate (sender=0x26a5c60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#15 0x00007f3d2cb672dd in KTcpSocket::qt_static_metacall (_o=0x0, _id=44443480, _a=0x6, _c=<optimized out>) at ./ktcpsocket.moc:86
#16 0x00007f3d2b34787a in QMetaObject::activate (sender=sender@entry=0x266d8a0, m=m@entry=0x7f3d29c50a20 <QSslSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#17 0x00007f3d299ea980 in QSslSocket::encrypted (this=this@entry=0x266d8a0) at .moc/release-shared/moc_qsslsocket.cpp:148
#18 0x00007f3d299f4c6d in QSslSocketBackendPrivate::startHandshake (this=this@entry=0x26757b0) at ssl/qsslsocket_openssl.cpp:1444
#19 0x00007f3d299f62ab in QSslSocketBackendPrivate::transmit (this=0x26757b0) at ssl/qsslsocket_openssl.cpp:1111
#20 0x00007f3d299efeb9 in QSslSocket::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qsslsocket.cpp:97
#21 0x00007f3d2b34787a in QMetaObject::activate (sender=sender@entry=0x22fd9e0, m=m@entry=0x7f3d2b696540 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#22 0x00007f3d2b390720 in QIODevice::readyRead (this=this@entry=0x22fd9e0) at .moc/release-shared/moc_qiodevice.cpp:104
#23 0x00007f3d299d0ccd in QAbstractSocketPrivate::canReadNotification (this=0x26b2740) at socket/qabstractsocket.cpp:654
#24 0x00007f3d299d9cfd in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#25 0x00007f3d2b864e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1ac6de0, receiver=receiver@entry=0x24aca10, e=e@entry=0x7fffebc76d50) at kernel/qapplication.cpp:4567
#26 0x00007f3d2b86b4a0 in QApplication::notify (this=this@entry=0x7fffebc77340, receiver=receiver@entry=0x24aca10, e=e@entry=0x7fffebc76d50) at kernel/qapplication.cpp:4353
#27 0x00007f3d2d0a0d1a in KApplication::notify (this=0x7fffebc77340, receiver=0x24aca10, event=0x7fffebc76d50) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f3d2b3334dd in QCoreApplication::notifyInternal (this=0x7fffebc77340, receiver=0x24aca10, event=event@entry=0x7fffebc76d50) at kernel/qcoreapplication.cpp:953
#29 0x00007f3d2b3614a8 in sendEvent (event=0x7fffebc76d50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 socketNotifierSourceDispatch (source=0x1ac0f70) at kernel/qeventdispatcher_glib.cpp:117
#31 0x00007f3d22a4ee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f3d22a4f048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f3d22a4f0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f3d2b3607a1 in QEventDispatcherGlib::processEvents (this=0x1a4cb20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#35 0x00007f3d2b906bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f3d2b3320af in QEventLoop::processEvents (this=this@entry=0x7fffebc76f90, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f3d2b3323a5 in QEventLoop::exec (this=this@entry=0x7fffebc76f90, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f3d2b337b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#39 0x00007f3d2b86337c in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

Possible duplicates by query: bug 325024.

Reproducible: Always
Comment 1 Denis Kurz 2016-09-24 17:55:32 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:02:39 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.