Bug 312665

Summary: kMail ends during mail account set up
Product: [Applications] kmail2 Reporter: Martin Quandt <quandt>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Quandt 2013-01-05 10:59:26 UTC
Application: kmail (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-35-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
At first I imported thunderbird mail folder of about 4GB succesful.
When I set up my gmx account the program finished suddenly. Kmail was quite slow just before.

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

Thread 4 (Thread 0xb3065b40 (LWP 1732)):
#0  0x00f81416 in __kernel_vsyscall ()
#1  0x00f6a96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x050a864c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb702b263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb702b37f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x00f66d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x0509ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb273cb40 (LWP 1743)):
#0  0x021813f6 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x02141b76 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x02142042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02142201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0843a8e7 in QEventDispatcherGlib::processEvents (this=0xb1e00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0840650d in QEventLoop::processEvents (this=0xb273c270, flags=...) at kernel/qeventloop.cpp:149
#6  0x084067a9 in QEventLoop::exec (this=0xb273c270, flags=...) at kernel/qeventloop.cpp:204
#7  0x082ef94c in QThread::exec (this=0x9fa2010) at thread/qthread.cpp:501
#8  0x082efa3b in QThread::run (this=0x9fa2010) at thread/qthread.cpp:568
#9  0x082f2de0 in QThreadPrivate::start (arg=0x9fa2010) at thread/qthread_unix.cpp:298
#10 0x00f66d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x0509ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0c49b40 (LWP 1793)):
#0  0x02181403 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x02141865 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x02141faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02142201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0843a8e7 in QEventDispatcherGlib::processEvents (this=0xb1e02548, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0840650d in QEventLoop::processEvents (this=0xb0c49240, flags=...) at kernel/qeventloop.cpp:149
#6  0x084067a9 in QEventLoop::exec (this=0xb0c49240, flags=...) at kernel/qeventloop.cpp:204
#7  0x082ef94c in QThread::exec (this=0xa41de50) at thread/qthread.cpp:501
#8  0x083e3b5d in QInotifyFileSystemWatcherEngine::run (this=0xa41de50) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x082f2de0 in QThreadPrivate::start (arg=0xa41de50) at thread/qthread_unix.cpp:298
#10 0x00f66d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x0509ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5df8a00 (LWP 1721)):
[KCrash Handler]
#7  QByteArray (a=..., this=0xbfebf8a4) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:439
#8  QBitArray (other=..., this=0xbfebf8a4) at ../../include/QtCore/../../src/corelib/tools/qbitarray.h:64
#9  v_construct<QBitArray> (copy=<optimized out>, x=<optimized out>) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:117
#10 construct (x=0xbfebf8a4, copy=0x4) at kernel/qvariant.cpp:111
#11 0x010fb6c6 in construct (x=0xbfebf8a4, copy=0x4) at kernel/qguivariant.cpp:182
#12 0x0842b0ef in QVariant::create (this=0xbfebf8a4, type=10, copy=0x4) at kernel/qvariant.cpp:1383
#13 0x0842b428 in QVariant::QVariant (this=0xbfebf8a4, typeOrUserType=10, copy=0x4, flags=0) at kernel/qvariant.cpp:1674
#14 0x00748861 in qVariantFromValue<QString> (t=...) at /usr/include/qt4/QtCore/qvariant.h:453
#15 fromValue<QString> (value=...) at /usr/include/qt4/QtCore/qvariant.h:337
#16 writePassword (appid=..., value=..., key=..., folder=..., handle=229967796, this=0xafc46a0) at ./kwallet_interface.h:316
#17 KWallet::Wallet::writePassword (this=0xaed9b40, key=..., value=...) at ../../kdeui/util/kwallet.cpp:1406
#18 0x095b174e in MailTransport::Transport::usrWriteConfig (this=0xb12cef8) at ../../mailtransport/transport.cpp:245
#19 0x008e9b15 in KCoreConfigSkeleton::writeConfig (this=0xb12cef8) at ../../kdecore/config/kcoreconfigskeleton.cpp:1082
#20 0x095be768 in MailTransport::TransportConfigWidget::apply (this=0x9d19e30) at ../../mailtransport/transportconfigwidget.cpp:78
#21 0x095d7ecf in MailTransport::SMTPConfigWidget::apply (this=0x9d19e30) at ../../mailtransport/smtpconfigwidget.cpp:267
#22 0x095b64af in MailTransport::TransportManager::configureTransport (this=0x9be24d8, transport=0xae39a38, parent=0xa62fad8) at ../../mailtransport/transportmanager.cpp:319
#23 0x095e01fc in MailTransport::TransportManagementWidget::Private::editClicked (this=0xa622518) at ../../mailtransport/transportmanagementwidget.cpp:110
#24 0x095e046d in MailTransport::TransportManagementWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./transportmanagementwidget.moc:60
#25 0x0841e6b1 in QMetaObject::activate (sender=0xa626338, m=0x1a487c8, local_signal_index=2, argv=0xbfebfcc8) at kernel/qobject.cpp:3547
#26 0x017f497d in QAbstractButton::clicked (this=0xa626338, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#27 0x014e862d in QAbstractButtonPrivate::emitClicked (this=0xa63e4c0) at widgets/qabstractbutton.cpp:548
#28 0x014e9c9b in QAbstractButtonPrivate::click (this=0xa63e4c0) at widgets/qabstractbutton.cpp:541
#29 0x014e9f56 in QAbstractButton::mouseReleaseEvent (this=0xa626338, e=0xbfec0394) at widgets/qabstractbutton.cpp:1123
#30 0x011171ac in QWidget::event (this=0xa626338, event=0xbfec0394) at kernel/qwidget.cpp:8362
#31 0x014e91f9 in QAbstractButton::event (this=0xa626338, e=0xbfec0394) at widgets/qabstractbutton.cpp:1082
#32 0x0158c768 in QPushButton::event (this=0xa626338, e=0xbfec0394) at widgets/qpushbutton.cpp:683
#33 0x010bced4 in notify_helper (e=0xbfec0394, receiver=0xa626338, this=0x9be8ac8) at kernel/qapplication.cpp:4559
#34 QApplicationPrivate::notify_helper (this=0x9be8ac8, receiver=0xa626338, e=0xbfec0394) at kernel/qapplication.cpp:4531
#35 0x010c3024 in QApplication::notify (this=0x9be8ac8, receiver=0xa626338, e=0xbfec0394) at kernel/qapplication.cpp:4102
#36 0x00602e01 in KApplication::notify (this=0xbfec0c1c, receiver=0xa626338, event=0xbfec0394) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x0840797e in QCoreApplication::notifyInternal (this=0xbfec0c1c, receiver=0xa626338, event=0xbfec0394) at kernel/qcoreapplication.cpp:876
#38 0x010bde95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=0xa626338, event=0xbfec0394, alienWidget=0x0, nativeWidget=0xa626338, buttonDown=0x1a51cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#40 0x0114a074 in QETWidget::translateMouseEvent (this=0xa626338, event=0xbfec084c) at kernel/qapplication_x11.cpp:4617
#41 0x01148c0d in QApplication::x11ProcessEvent (this=0xbfec0c1c, event=0xbfec084c) at kernel/qapplication_x11.cpp:3732
#42 0x01175eac in x11EventSourceDispatch (s=0x9beb0a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x02141d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x02142125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x02142201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x0843a887 in QEventDispatcherGlib::processEvents (this=0x9ba6ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x01175aaa in QGuiEventDispatcherGlib::processEvents (this=0x9ba6ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x0840650d in QEventLoop::processEvents (this=0xbfec0b44, flags=...) at kernel/qeventloop.cpp:149
#49 0x084067a9 in QEventLoop::exec (this=0xbfec0b44, flags=...) at kernel/qeventloop.cpp:204
#50 0x0840beba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#51 0x010baa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#52 0x0804a266 in ?? ()
#53 0x04fc54d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#54 0x0804a6e9 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:09:22 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:47:45 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.