Bug 237188

Summary: KMail crashed after adding new IMAP account
Product: [Unmaintained] kmail Reporter: Sven Bothe <sven>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern, kenneth-no.spam-023, toralf.foerster
Priority: NOR    
Version: 1.13.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Sven Bothe 2010-05-11 01:45:19 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
After I added new IMAP account and SMTP account I closed the configuration window. KMail opened KWallet, then it crashed.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb787c780 (LWP 1602))]

Thread 2 (Thread 0xb3290b70 (LWP 1631)):
#0  0x00841422 in __kernel_vsyscall ()
#1  0x08c98b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x023974eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0238a0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0238a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x06c2260f in QEventDispatcherGlib::processEvents (this=0x952a0a8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x06bf5059 in QEventLoop::processEvents (this=0xb3290220, flags=) at kernel/qeventloop.cpp:149
#7  0x06bf54aa in QEventLoop::exec (this=0xb3290220, flags=...) at kernel/qeventloop.cpp:201
#8  0x06af15a8 in QThread::exec (this=0x91904b8) at thread/qthread.cpp:487
#9  0x06bd4c1b in QInotifyFileSystemWatcherEngine::run (this=0x91904b8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x06af432e in QThreadPrivate::start (arg=0x91904b8) at thread/qthread_unix.cpp:248
#11 0x00a9096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x08ca6a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb787c780 (LWP 1602)):
[KCrash Handler]
#6  0x051d9934 in MailTransport::AddTransportDialog::accept (this=0x9880838) at ../../mailtransport/addtransportdialog.cpp:139
#7  0x002e6443 in KDialog::slotButtonClicked (this=0x9880838, button=4) at ../../kdeui/dialogs/kdialog.cpp:863
#8  0x002e8559 in KDialog::qt_metacall (this=0x9880838, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbffe90c8) at ./kdialog.moc:190
#9  0x051d976a in MailTransport::AddTransportDialog::qt_metacall (this=0x9880838, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbffe90c8) at ./addtransportdialog.moc:68
#10 0x06bfbc9a in QMetaObject::metacall (object=0x9880838, cl=QMetaObject::ReadProperty, idx=69, argv=0xbffe90c8) at kernel/qmetaobject.cpp:237
#11 0x06c0a3d5 in QMetaObject::activate (sender=0x9b167f0, m=0x6d090f8, local_signal_index=0, argv=0xbffe90c8) at kernel/qobject.cpp:3293
#12 0x06c0fb13 in QSignalMapper::mapped (this=0x9b167f0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#13 0x06c10d8d in QSignalMapper::map (this=0x9b167f0, sender=0x96ea710) at kernel/qsignalmapper.cpp:266
#14 0x06c10f6e in QSignalMapper::map (this=0x9b167f0) at kernel/qsignalmapper.cpp:257
#15 0x06c1103b in QSignalMapper::qt_metacall (this=0x9b167f0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbffe9268) at .moc/release-shared/moc_qsignalmapper.cpp:87
#16 0x06bfbc9a in QMetaObject::metacall (object=0x9b167f0, cl=QMetaObject::ReadProperty, idx=8, argv=0xbffe9268) at kernel/qmetaobject.cpp:237
#17 0x06c0a3d5 in QMetaObject::activate (sender=0x96ea710, m=0x31958c4, local_signal_index=2, argv=0xbffe9268) at kernel/qobject.cpp:3293
#18 0x02f85479 in QAbstractButton::clicked (this=0x96ea710, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#19 0x02c64ea9 in QAbstractButtonPrivate::emitClicked (this=0x9ba44a0) at widgets/qabstractbutton.cpp:546
#20 0x02c65cf4 in QAbstractButtonPrivate::click (this=0x9ba44a0) at widgets/qabstractbutton.cpp:539
#21 0x02c65fae in QAbstractButton::mouseReleaseEvent (this=0x96ea710, e=0xbffe99a0) at widgets/qabstractbutton.cpp:1121
#22 0x028b87f8 in QWidget::event (this=0x96ea710, event=0xbffe99a0) at kernel/qwidget.cpp:7998
#23 0x02c64d4e in QAbstractButton::event (this=0x96ea710, e=0x6d0b9b0) at widgets/qabstractbutton.cpp:1080
#24 0x02d0f1f2 in QPushButton::event (this=0x96ea710, e=0xbffe99a0) at widgets/qpushbutton.cpp:679
#25 0x0285a4dc in QApplicationPrivate::notify_helper (this=0x8ec57d0, receiver=0x96ea710, e=0xbffe99a0) at kernel/qapplication.cpp:4300
#26 0x028619f7 in QApplication::notify (this=0xbffeb480, receiver=0x96ea710, e=0xbffe99a0) at kernel/qapplication.cpp:3865
#27 0x00384f2a in KApplication::notify (this=0xbffeb480, receiver=0x96ea710, event=0xbffe99a0) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x06bf6a3b in QCoreApplication::notifyInternal (this=0xbffeb480, receiver=0x96ea710, event=0xbffe99a0) at kernel/qcoreapplication.cpp:704
#29 0x02860952 in QCoreApplication::sendEvent (receiver=0x96ea710, event=0xbffe99a0, alienWidget=0x96ea710, nativeWidget=0x9880838, buttonDown=0x319e058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QApplicationPrivate::sendMouseEvent (receiver=0x96ea710, event=0xbffe99a0, alienWidget=0x96ea710, nativeWidget=0x9880838, buttonDown=0x319e058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#31 0x028ec088 in QETWidget::translateMouseEvent (this=0x9880838, event=0xbffe9ebc) at kernel/qapplication_x11.cpp:4368
#32 0x028eb511 in QApplication::x11ProcessEvent (this=0xbffeb480, event=0xbffe9ebc) at kernel/qapplication_x11.cpp:3379
#33 0x0291a60a in x11EventSourceDispatch (s=0x8eb68e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x023865e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x0238a2d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x0238a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x06c225d5 in QEventDispatcherGlib::processEvents (this=0x8e8b278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x0291a135 in QGuiEventDispatcherGlib::processEvents (this=0x8e8b278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x06bf5059 in QEventLoop::processEvents (this=0xbffea1b0, flags=) at kernel/qeventloop.cpp:149
#40 0x06bf54aa in QEventLoop::exec (this=0xbffea1b0, flags=...) at kernel/qeventloop.cpp:201
#41 0x02d994f3 in QDialog::exec (this=0x9880838) at dialogs/qdialog.cpp:546
#42 0x051d2ae3 in MailTransport::TransportManager::showTransportCreationDialog (this=0x8fc4c98, parent=0x96d2a90, showCondition=MailTransport::TransportManager::Always)
    at ../../mailtransport/transportmanager.cpp:273
#43 0x051d7ff6 in MailTransport::TransportManagementWidget::Private::addClicked (this=0x96dfb80) at ../../mailtransport/transportmanagementwidget.cpp:99
#44 0x051d821e in MailTransport::TransportManagementWidget::qt_metacall (this=0x96d2a90, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbffea3e8) at ./transportmanagementwidget.moc:84
#45 0x06bfbc9a in QMetaObject::metacall (object=0x96d2a90, cl=QMetaObject::ReadProperty, idx=31, argv=0xbffea3e8) at kernel/qmetaobject.cpp:237
#46 0x06c0a3d5 in QMetaObject::activate (sender=0x96dff88, m=0x31958c4, local_signal_index=2, argv=0xbffea3e8) at kernel/qobject.cpp:3293
#47 0x02f85479 in QAbstractButton::clicked (this=0x96dff88, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#48 0x02c64ea9 in QAbstractButtonPrivate::emitClicked (this=0x96e8c80) at widgets/qabstractbutton.cpp:546
#49 0x02c65cf4 in QAbstractButtonPrivate::click (this=0x96e8c80) at widgets/qabstractbutton.cpp:539
#50 0x02c65fae in QAbstractButton::mouseReleaseEvent (this=0x96dff88, e=0xbffeab20) at widgets/qabstractbutton.cpp:1121
#51 0x028b87f8 in QWidget::event (this=0x96dff88, event=0xbffeab20) at kernel/qwidget.cpp:7998
#52 0x02c64d4e in QAbstractButton::event (this=0x96dff88, e=0x6d0b9b0) at widgets/qabstractbutton.cpp:1080
#53 0x02d0f1f2 in QPushButton::event (this=0x96dff88, e=0xbffeab20) at widgets/qpushbutton.cpp:679
#54 0x0285a4dc in QApplicationPrivate::notify_helper (this=0x8ec57d0, receiver=0x96dff88, e=0xbffeab20) at kernel/qapplication.cpp:4300
#55 0x028619f7 in QApplication::notify (this=0xbffeb480, receiver=0x96dff88, e=0xbffeab20) at kernel/qapplication.cpp:3865
#56 0x00384f2a in KApplication::notify (this=0xbffeb480, receiver=0x96dff88, event=0xbffeab20) at ../../kdeui/kernel/kapplication.cpp:302
#57 0x06bf6a3b in QCoreApplication::notifyInternal (this=0xbffeb480, receiver=0x96dff88, event=0xbffeab20) at kernel/qcoreapplication.cpp:704
#58 0x02860952 in QCoreApplication::sendEvent (receiver=0x96dff88, event=0xbffeab20, alienWidget=0x96dff88, nativeWidget=0x96df708, buttonDown=0x319e058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QApplicationPrivate::sendMouseEvent (receiver=0x96dff88, event=0xbffeab20, alienWidget=0x96dff88, nativeWidget=0x96df708, buttonDown=0x319e058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#60 0x028ec088 in QETWidget::translateMouseEvent (this=0x96df708, event=0xbffeb03c) at kernel/qapplication_x11.cpp:4368
#61 0x028eb511 in QApplication::x11ProcessEvent (this=0xbffeb480, event=0xbffeb03c) at kernel/qapplication_x11.cpp:3379
#62 0x0291a60a in x11EventSourceDispatch (s=0x8eb68e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x023865e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0x0238a2d8 in ?? () from /lib/libglib-2.0.so.0
#65 0x0238a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0x06c225d5 in QEventDispatcherGlib::processEvents (this=0x8e8b278, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#67 0x0291a135 in QGuiEventDispatcherGlib::processEvents (this=0x8e8b278, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x06bf5059 in QEventLoop::processEvents (this=0xbffeb334, flags=) at kernel/qeventloop.cpp:149
#69 0x06bf54aa in QEventLoop::exec (this=0xbffeb334, flags=...) at kernel/qeventloop.cpp:201
#70 0x06bf969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#71 0x0285a577 in QApplication::exec () at kernel/qapplication.cpp:3579
#72 0x0804ab0e in main (argc=3, argv=0xbffeb644) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 234264.

Possible duplicates by query: bug 234583, bug 234518, bug 234264.

Reported using DrKonqi
Comment 1 Kenneth Voort 2010-05-11 17:56:56 UTC
*** Bug 237267 has been marked as a duplicate of this bug. ***
Comment 2 Kenneth Voort 2010-05-11 17:58:50 UTC
I can confirm the same behaviour. I added a second IMAP account and an SMTP account. KMail now segfaults on startup when I provide credentials for the newly added IMAP account.
Comment 3 Kenneth Voort 2010-05-15 06:49:24 UTC
After the last round of bugfix updates this morning, this problem seems to have disappeared. Just started Kmail with both accounts and everything worked normally.

Kinda ironic that the problem is with the email account cc'ed on this thread.;..
Comment 4 Toralf Förster 2010-06-17 11:53:59 UTC
Created attachment 48073 [details]
New crash information added by DrKonqi

I tried to add some fields of an IMAP account
Comment 5 Björn Ruberg 2010-08-09 00:40:37 UTC

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