Bug 169236 - Crash after creating new dIMAP account
Summary: Crash after creating new dIMAP account
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: disconnected IMAP (show other bugs)
Version: 1.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 14:04 UTC by Oliver Putz
Modified: 2012-08-19 10:55 UTC (History)
1 user (show)

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 Oliver Putz 2008-08-16 14:04:19 UTC
Version:           1.10.0 (using 4.1.00 (KDE 4.1.0), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.25-gentoo-r7

I just tried to create a new dIMAP account in Kontact and after setting it up, it crashed with the backtrace below. I *think* right after I created the account I was asked for a password which I only entered after having closed the window for the account setup. Anyway, the backtrace was:

Application: Kontact (kontact), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4d5e720 (LWP 21462)]
[KCrash handler]
#6  0x0000000b in ?? ()
#7  0xb1f847c9 in KMail::ImapAccountBase::makeConnection (this=0x87d20a0)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp:336
#8  0xb1e35efe in AccountUpdater::update (this=0x8a69ee8)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/configuredialog.cpp:5416
#9  0xb1e61ba2 in AccountsPageReceivingTab::save (this=0x88ff8a0)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/configuredialog.cpp:1212
#10 0xb1e7a1ab in ConfigModuleWithTabs::save (this=0x88ca428)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/configuredialog_p.cpp:422
#11 0xb565be29 in KCModuleProxy::save (this=0x88fcd38)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kutils/kcmoduleproxy.cpp:276
#12 0xb56579a1 in KCMultiDialogPrivate::apply (this=0x8896128)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kutils/kcmultidialog.cpp:192
#13 0xb5657c54 in KCMultiDialog::slotApplyClicked (this=0x8889868)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kutils/kcmultidialog.cpp:219
#14 0xb5659552 in KCMultiDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb47bd8)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kutils/kcmultidialog.moc:86
#15 0xb1e69bf0 in ConfigureDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=77, _a=0xbfb47bd8)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/configuredialog.moc:67
#16 0xb6ae3530 in QMetaObject::activate (sender=0x8889868, 
    from_signal_index=<value optimized out>, to_signal_index=42, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#17 0xb6ae3c92 in QMetaObject::activate (sender=0x8889868, m=0xb727c824, 
    local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3071
#18 0xb70a0431 in KDialog::applyClicked (this=0x8889868)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kdeui/kdialog.moc:235
#19 0xb70a1862 in KDialog::slotButtonClicked (this=0x8889868, button=8)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/dialogs/kdialog.cpp:848
#20 0xb70a388c in KDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfb47dec)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kdeui/kdialog.moc:181
#21 0xb7158de0 in KPageDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfb47dec)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kdeui/kpagedialog.moc:63
#22 0xb56594da in KCMultiDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfb47dec)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kutils/kcmultidialog.moc:77
#23 0xb1e69bf0 in ConfigureDialog::qt_metacall (this=0x8889868, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfb47dec)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/configuredialog.moc:67
#24 0xb6ae3530 in QMetaObject::activate (sender=0x8896178, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#25 0xb6ae3c92 in QMetaObject::activate (sender=0x8896178, m=0xb6bb88d0, 
    local_signal_index=0, argv=0xbfb47dec) at kernel/qobject.cpp:3071
#26 0xb6ae94e7 in QSignalMapper::mapped (this=0x8896178, _t1=8)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#27 0xb6ae9a97 in QSignalMapper::map (this=0x8896178, sender=0x88ab8b0)
    at kernel/qsignalmapper.cpp:277
#28 0xb6ae9cc0 in QSignalMapper::map (this=0x8896178)
    at kernel/qsignalmapper.cpp:268
#29 0xb6ae9f31 in QSignalMapper::qt_metacall (this=0x8896178, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb47f5c)
    at .moc/debug-shared/moc_qsignalmapper.cpp:80
#30 0xb6ae3530 in QMetaObject::activate (sender=0x88ab8b0, 
    from_signal_index=<value optimized out>, to_signal_index=30, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#31 0xb6ae3a4a in QMetaObject::activate (sender=0x88ab8b0, m=0xb5fe6e84, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfb47f5c)
    at kernel/qobject.cpp:3091
#32 0xb5e14783 in QAbstractButton::clicked (this=0x88ab8b0, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#33 0xb5b639eb in QAbstractButtonPrivate::emitClicked (this=0x88f12e8)
    at widgets/qabstractbutton.cpp:543
#34 0xb5b654c4 in QAbstractButtonPrivate::click (this=0x88f12e8)
    at widgets/qabstractbutton.cpp:536
#35 0xb5b656d9 in QAbstractButton::mouseReleaseEvent (this=0x88ab8b0, 
    e=0xbfb48650) at widgets/qabstractbutton.cpp:1112
#36 0xb585fdc2 in QWidget::event (this=0x88ab8b0, event=0xbfb48650)
    at kernel/qwidget.cpp:6927
#37 0xb5b6413f in QAbstractButton::event (this=0x88ab8b0, e=0xbfb48650)
    at widgets/qabstractbutton.cpp:1074
#38 0xb5c0cde7 in QPushButton::event (this=0x88ab8b0, e=0xbfb48650)
    at widgets/qpushbutton.cpp:658
#39 0xb58068a4 in QApplicationPrivate::notify_helper (this=0x805f160, 
    receiver=0x88ab8b0, e=0xbfb48650) at kernel/qapplication.cpp:3772
#40 0xb580ab60 in QApplication::notify (this=0xbfb48c18, receiver=0x88ab8b0, 
    e=0xbfb48650) at kernel/qapplication.cpp:3501
#41 0xb712c6c3 in KApplication::notify (this=0xbfb48c18, receiver=0x88ab8b0, 
    event=0xbfb48650)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#42 0xb6acdd59 in QCoreApplication::notifyInternal (this=0xbfb48c18, 
    receiver=0x88ab8b0, event=0xbfb48650) at kernel/qcoreapplication.cpp:587
#43 0xb580c67f in QApplicationPrivate::sendMouseEvent (receiver=0x88ab8b0, 
    event=0xbfb48650, alienWidget=0x88ab8b0, nativeWidget=0x8889868, 
    buttonDown=0xb5fedc40, lastMouseReceiver=@0xb5fedc44)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 0xb587191e in QETWidget::translateMouseEvent (this=0x8889868, 
    event=0xbfb48a48) at kernel/qapplication_x11.cpp:4133
#45 0xb587048d in QApplication::x11ProcessEvent (this=0xbfb48c18, 
    event=0xbfb48a48) at kernel/qapplication_x11.cpp:3133
#46 0xb5896ed8 in QEventDispatcherX11::processEvents (this=0x805e788, 
    flags=@0xbfb48b38) at kernel/qeventdispatcher_x11.cpp:134
#47 0xb6acd0d3 in QEventLoop::processEvents (this=0xbfb48bb0, 
    flags=@0xbfb48b78) at kernel/qeventloop.cpp:149
#48 0xb6acd246 in QEventLoop::exec (this=0xbfb48bb0, flags=@0xbfb48bb8)
    at kernel/qeventloop.cpp:200
#49 0xb6acf401 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#50 0xb580623f in QApplication::exec () at kernel/qapplication.cpp:3304
#51 0x0804b901 in main (argc=1, argv=0xbfb48dd4)
    at /var/tmp/portage/kde-base/kontact-4.1.0/work/kontact-4.1.0/kontact/src/main.cpp:218
#0  0xffffe424 in __kernel_vsyscall ()
Comment 1 Ruchir Brahmbhatt 2009-04-11 09:11:15 UTC
Can not reproduce while running kmail stand alone or within kontact. I'm asked for password after account creation. I can enter password and save it also. But no crashes. I'm on kmail 1.11.2(kde 4.2.2). Feel free to reopen if you can still reproduce it.
Comment 2 Oliver Putz 2009-06-02 22:30:14 UTC
I think I saw this one surface once again... Still haven't found a reliable way to reproduce it though...

What I did:

1) Set up the personal account and mailserver (IMAP)
2) Checked mail via CTRL+L
3) Entered password
4) Kontact (kmail) from KDE-4.2.3 crashed with the backtrace below

[Thread debugging using libthread_db enabled]
[New Thread 0x7fec52255750 (LWP 10087)]
[New Thread 0x426e5950 (LWP 10114)]
[KCrash handler]
#5  0x0000000001498640 in ?? ()
#6  0x00007fec3dbccf2a in KMail::ImapAccountBase::makeConnection (
    this=0x14d6a80)
    at /var/tmp/portage/kde-base/kmail-4.2.3-r1/work/kmail-4.2.3/kmail/imapaccountbase.cpp:336
#7  0x00007fec3db08569 in AccountsPageReceivingTab::save (
    this=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.2.3-r1/work/kmail-4.2.3/kmail/configuredialog.cpp:1196
#8  0x00007fec3db16eb7 in ConfigModuleWithTabs::save (this=0x14a1910)
    at /var/tmp/portage/kde-base/kmail-4.2.3-r1/work/kmail-4.2.3/kmail/configuredialog_p.cpp:323
#9  0x00007fec49739ef0 in KCModuleProxy::save (this=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kutils/kcmoduleproxy.cpp:276
#10 0x00007fec4973702c in KCMultiDialogPrivate::apply (
    this=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kutils/kcmultidialog.cpp:192
#11 0x00007fec49738629 in KCMultiDialog::qt_metacall (this=0x146e1c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5a2a4140)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3_build/kutils/kcmultidialog.moc:86
#12 0x00007fec3db0e77a in ConfigureDialog::qt_metacall (this=0x14d6a80, 
    _c=1512717520, _id=0, _a=0x7fff5a2a3ba0)
    at /var/tmp/portage/kde-base/kmail-4.2.3-r1/work/kmail-4.2.3_build/kmail/configuredialog.moc:67
#13 0x00007fec4caa0900 in QMetaObject::activate (sender=0x146e1c0, 
    from_signal_index=<value optimized out>, to_signal_index=42, 
    argv=0x7fff5a2a3ba0) at kernel/qobject.cpp:3025
#14 0x00007fec4e6fc601 in KDialog::slotButtonClicked (this=0x146e1c0, 
    button=8)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/dialogs/kdialog.cpp:847
#15 0x00007fec4e6fde50 in KDialog::qt_metacall (this=0x146e1c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5a2a4370)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3_build/kdeui/kdialog.moc:181
#16 0x00007fec4e7778b2 in KPageDialog::qt_metacall (this=0x14d6a80, 
    _c=1512717520, _id=0, _a=0x7fff5a2a3ba0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3_build/kdeui/kpagedialog.moc:63
#17 0x00007fec497385c6 in KCMultiDialog::qt_metacall (this=0x14d6a80, 
    _c=1512717520, _id=0, _a=0x7fff5a2a3ba0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3_build/kutils/kcmultidialog.moc:77
#18 0x00007fec3db0e77a in ConfigureDialog::qt_metacall (this=0x14d6a80, 
    _c=1512717520, _id=0, _a=0x7fff5a2a3ba0)
    at /var/tmp/portage/kde-base/kmail-4.2.3-r1/work/kmail-4.2.3_build/kmail/configuredialog.moc:67
#19 0x00007fec4caa0900 in QMetaObject::activate (sender=0x1471308, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0x7fff5a2a3ba0) at kernel/qobject.cpp:3025
#20 0x00007fec4caa415e in QSignalMapper::mapped (this=0x14d6a80, _t1=8)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#21 0x00007fec4caa4200 in QSignalMapper::map (this=0x1471308, 
    sender=0x147f9b0) at kernel/qsignalmapper.cpp:277
#22 0x00007fec4caa55c0 in QSignalMapper::qt_metacall (this=0x1471308, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5a2a44f0) at .moc/debug-shared/moc_qsignalmapper.cpp:80
#23 0x00007fec4caa0900 in QMetaObject::activate (sender=0x147f9b0, 
    from_signal_index=<value optimized out>, to_signal_index=30, 
    argv=0x7fff5a2a3ba0) at kernel/qobject.cpp:3025
#24 0x00007fec4da809e7 in QAbstractButton::clicked (this=0x14d6a80, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#25 0x00007fec4d8245eb in QAbstractButtonPrivate::emitClicked (this=0x147ddd0)
    at widgets/qabstractbutton.cpp:544
#26 0x00007fec4d825f82 in QAbstractButtonPrivate::click (this=0x147ddd0)
    at widgets/qabstractbutton.cpp:537
#27 0x00007fec4d8261b5 in QAbstractButton::mouseReleaseEvent (this=0x147f9b0, 
    e=0x7fff5a2a4e10) at widgets/qabstractbutton.cpp:1116
#28 0x00007fec4d582674 in QWidget::event (this=0x147f9b0, 
    event=0x7fff5a2a4e10) at kernel/qwidget.cpp:7169
#29 0x00007fec4d52fa2d in QApplicationPrivate::notify_helper (this=0x62ea80, 
    receiver=0x147f9b0, e=0x7fff5a2a4e10) at kernel/qapplication.cpp:3809
#30 0x00007fec4d5375e5 in QApplication::notify (this=<value optimized out>, 
    receiver=0x147f9b0, e=0x7fff5a2a4e10) at kernel/qapplication.cpp:3534
#31 0x00007fec4e75bf84 in KApplication::notify (this=0x7fff5a2a5a70, 
    receiver=0x147f9b0, event=0x7fff5a2a4e10)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307
#32 0x00007fec4ca8bbe0 in QCoreApplication::notifyInternal (
    this=0x7fff5a2a5a70, receiver=0x147f9b0, event=0x7fff5a2a4e10)
    at kernel/qcoreapplication.cpp:589
#33 0x00007fec4d536962 in QApplicationPrivate::sendMouseEvent (
    receiver=0x147f9b0, event=0x7fff5a2a4e10, alienWidget=0x147f9b0, 
    nativeWidget=0x146e1c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fec4de19730)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 0x00007fec4d5939dc in QETWidget::translateMouseEvent (this=0x146e1c0, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4050
#35 0x00007fec4d59260b in QApplication::x11ProcessEvent (this=0x8b, 
    event=0x7fff5a2a56e0) at kernel/qapplication_x11.cpp:3168
#36 0x00007fec4d5b65c4 in x11EventSourceDispatch (s=0x62ab70, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#37 0x00007fec48145614 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#38 0x00007fec481474d7 in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#39 0x00007fec481475bd in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#40 0x00007fec4cab2b1f in QEventDispatcherGlib::processEvents (this=0x62dd00, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#41 0x00007fec4d5b5e1f in QGuiEventDispatcherGlib::processEvents (
    this=0x14d6a80, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fec4ca8a812 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = 1512724896})
    at kernel/qeventloop.cpp:149
#43 0x00007fec4ca8a9a5 in QEventLoop::exec (this=0x7fff5a2a59e0, flags=
      {i = 1512724976}) at kernel/qeventloop.cpp:196
#44 0x00007fec4ca8f747 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:851
#45 0x00000000004040a9 in main (argc=1, argv=0x7fff5a2a5f88)
    at /var/tmp/portage/kde-base/kontact-4.2.3/work/kontact-4.2.3/kontact/src/main.cpp:218
Comment 3 Myriam Schweingruber 2012-08-19 10:55:30 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding