Bug 241985

Summary: KMAil crashes if IMAP acount info is alterd
Product: [Unmaintained] kmail Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 1.13.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace.log

Description Toralf Förster 2010-06-17 13:20:01 UTC
Application: kmail (1.13.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.34 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
CLick at Settings -> Configure KMail -> Accounts -> Receiving -> Select a "Disconnected IMAP" account -> Modify -> IMAP Settings , then click at the icon to the right of the text box of "Personal"

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0xb6c7ddd8 in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb6c7e74f in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb6c8251a in ?? () from /usr/lib/libkmailprivate.so.4
#9  0xb53c1d2a in QMetaObject::metacall (object=0x9457b40, cl=151711008, idx=97, argv=0xbfb9ba88) at kernel/qmetaobject.cpp:237
#10 0xb53d0537 in QMetaObject::activate (sender=0x9207c40, m=0xb520f8a4, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3285
#11 0xb5003d1a in QAbstractButton::clicked (this=0x9207c40, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#12 0xb4ce3a3a in QAbstractButtonPrivate::emitClicked (this=0x9831e08) at widgets/qabstractbutton.cpp:546
#13 0xb4ce48b5 in QAbstractButtonPrivate::click (this=0x9831e08) at widgets/qabstractbutton.cpp:539
#14 0xb4ce4b7e in QAbstractButton::mouseReleaseEvent (this=0x9207c40, e=0xbfb9c2b4) at widgets/qabstractbutton.cpp:1121
#15 0xb4dc820d in QToolButton::mouseReleaseEvent (this=0x9207c40, e=0xbfb9c2b4) at widgets/qtoolbutton.cpp:721
#16 0xb49463c0 in QWidget::event (this=0x9207c40, event=0xbfb9c2b4) at kernel/qwidget.cpp:7998
#17 0xb4ce38cf in QAbstractButton::event (this=0x9207c40, e=0xffffffff) at widgets/qabstractbutton.cpp:1080
#18 0xb4dcad9b in QToolButton::event (this=0x9207c40, event=0xbfb9c2b4) at widgets/qtoolbutton.cpp:1163
#19 0xb48e8154 in QApplicationPrivate::notify_helper (this=0x8976c98, receiver=0x9207c40, e=0xbfb9c2b4) at kernel/qapplication.cpp:4300
#20 0xb48ef8c3 in QApplication::notify (this=0xbfb9e0c0, receiver=0x9207c40, e=0xbfb9c2b4) at kernel/qapplication.cpp:3865
#21 0xb7555c0b in KApplication::notify (this=0xbfb9e0c0, receiver=0x9207c40, event=0xbfb9c2b4) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#22 0xb53bcac2 in QCoreApplication::notifyInternal (this=0xbfb9e0c0, receiver=0x9207c40, event=0xbfb9c2b4) at kernel/qcoreapplication.cpp:704
#23 0xb48ee608 in QCoreApplication::sendEvent (receiver=0x9207c40, event=0xbfb9c2b4, alienWidget=0x9207c40, nativeWidget=0x9457b40, buttonDown=0xb5218018, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x9207c40, event=0xbfb9c2b4, alienWidget=0x9207c40, nativeWidget=0x9457b40, buttonDown=0xb5218018, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#25 0xb49793ac in QETWidget::translateMouseEvent (this=0x9457b40, event=0xbfb9c700) at kernel/qapplication_x11.cpp:4368
#26 0xb497890b in QApplication::x11ProcessEvent (this=0xbfb9e0c0, event=0xbfb9c700) at kernel/qapplication_x11.cpp:3379
#27 0xb49a56aa in x11EventSourceDispatch (s=0x8979a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0xb2f4c98a in g_main_dispatch (context=0x8978c20) at gmain.c:1960
#29 IA__g_main_context_dispatch (context=0x8978c20) at gmain.c:2513
#30 0xb2f503d0 in g_main_context_iterate (context=0x8978c20, block=<value optimized out>, dispatch=1, self=0x8973bb8) at gmain.c:2591
#31 0xb2f50500 in IA__g_main_context_iteration (context=0x8978c20, may_block=1) at gmain.c:2654
#32 0xb53e8a06 in QEventDispatcherGlib::processEvents (this=0x8973e08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0xb49a5206 in QGuiEventDispatcherGlib::processEvents (this=0x8973e08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb53bb09a in QEventLoop::processEvents (this=0xbfb9c9f0, flags=) at kernel/qeventloop.cpp:149
#35 0xb53bb4fa in QEventLoop::exec (this=0xbfb9c9f0, flags=...) at kernel/qeventloop.cpp:201
#36 0xb4e18354 in QDialog::exec (this=0x9457b40) at dialogs/qdialog.cpp:546
#37 0xb6a89318 in ?? () from /usr/lib/libkmailprivate.so.4
#38 0xb6aa8ac4 in ?? () from /usr/lib/libkmailprivate.so.4
#39 0xb53c1d2a in QMetaObject::metacall (object=0x92923b0, cl=151711008, idx=32, argv=0xbfb9cc34) at kernel/qmetaobject.cpp:237
#40 0xb53d0537 in QMetaObject::activate (sender=0x95847d8, m=0xb520a56c, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3285
#41 0xb4efa70a in QTreeWidget::itemDoubleClicked (this=0x95847d8, _t1=0x931f6c8, _t2=0) at .moc/release-shared/moc_qtreewidget.cpp:214
#42 0xb4efce92 in QTreeWidgetPrivate::_q_emitItemDoubleClicked (this=0x932e9f8, index=...) at itemviews/qtreewidget.cpp:2242
#43 0xb4f03b4e in QTreeWidget::qt_metacall (this=0x95847d8, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xbfb9cdb8) at .moc/release-shared/moc_qtreewidget.cpp:151
#44 0xb6a3ef94 in ?? () from /usr/lib/libkmailprivate.so.4
#45 0xb53c1d2a in QMetaObject::metacall (object=0x95847d8, cl=151711008, idx=105, argv=0xbfb9cdb8) at kernel/qmetaobject.cpp:237
#46 0xb53d0537 in QMetaObject::activate (sender=0x95847d8, m=0xb52091c4, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3285
#47 0xb4e72744 in QAbstractItemView::doubleClicked (this=0x95847d8, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:338
#48 0xb4ec9527 in QTreeView::mouseDoubleClickEvent (this=0x95847d8, event=0xbfb9d834) at itemviews/qtreeview.cpp:1853
#49 0xb4946246 in QWidget::event (this=0x95847d8, event=0xbfb9d834) at kernel/qwidget.cpp:8002
#50 0xb4d33e64 in QFrame::event (this=0x95847d8, e=0xbfb9d834) at widgets/qframe.cpp:557
#51 0xb4dce5a3 in QAbstractScrollArea::viewportEvent (this=0x90aed20, e=0xffffffff) at widgets/qabstractscrollarea.cpp:1036
#52 0xb4e8356f in QAbstractItemView::viewportEvent (this=0x95847d8, event=0xbfb9d834) at itemviews/qabstractitemview.cpp:1610
#53 0xb4ec319d in QTreeView::viewportEvent (this=0x95847d8, event=0xbfb9d834) at itemviews/qtreeview.cpp:1248
#54 0xb4dd0eb5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x92924a0, o=0x9217af0, e=0xbfb9d834) at widgets/qabstractscrollarea_p.h:100
#55 QAbstractScrollAreaFilter::eventFilter (this=0x92924a0, o=0x9217af0, e=0xbfb9d834) at widgets/qabstractscrollarea_p.h:116
#56 0xb53bbd10 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8976c98, receiver=0x9217af0, event=0xbfb9d834) at kernel/qcoreapplication.cpp:819
#57 0xb48e812f in QApplicationPrivate::notify_helper (this=0x8976c98, receiver=0x9217af0, e=0xbfb9d834) at kernel/qapplication.cpp:4296
#58 0xb48ef8c3 in QApplication::notify (this=0xbfb9e0c0, receiver=0x9217af0, e=0xbfb9d834) at kernel/qapplication.cpp:3865
#59 0xb7555c0b in KApplication::notify (this=0xbfb9e0c0, receiver=0x9217af0, event=0xbfb9d834) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#60 0xb53bcac2 in QCoreApplication::notifyInternal (this=0xbfb9e0c0, receiver=0x9217af0, event=0xbfb9d834) at kernel/qcoreapplication.cpp:704
#61 0xb48ee608 in QCoreApplication::sendEvent (receiver=0x9217af0, event=0xbfb9d834, alienWidget=0x9217af0, nativeWidget=0x92923b0, buttonDown=0xb5218018, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#62 QApplicationPrivate::sendMouseEvent (receiver=0x9217af0, event=0xbfb9d834, alienWidget=0x9217af0, nativeWidget=0x92923b0, buttonDown=0xb5218018, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#63 0xb49793ac in QETWidget::translateMouseEvent (this=0x92923b0, event=0xbfb9dc80) at kernel/qapplication_x11.cpp:4368
#64 0xb497890b in QApplication::x11ProcessEvent (this=0xbfb9e0c0, event=0xbfb9dc80) at kernel/qapplication_x11.cpp:3379
#65 0xb49a56aa in x11EventSourceDispatch (s=0x8979a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0xb2f4c98a in g_main_dispatch (context=0x8978c20) at gmain.c:1960
#67 IA__g_main_context_dispatch (context=0x8978c20) at gmain.c:2513
#68 0xb2f503d0 in g_main_context_iterate (context=0x8978c20, block=<value optimized out>, dispatch=1, self=0x8973bb8) at gmain.c:2591
#69 0xb2f50500 in IA__g_main_context_iteration (context=0x8978c20, may_block=1) at gmain.c:2654
#70 0xb53e8a06 in QEventDispatcherGlib::processEvents (this=0x8973e08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#71 0xb49a5206 in QGuiEventDispatcherGlib::processEvents (this=0x8973e08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0xb53bb09a in QEventLoop::processEvents (this=0xbfb9df74, flags=) at kernel/qeventloop.cpp:149
#73 0xb53bb4fa in QEventLoop::exec (this=0xbfb9df74, flags=...) at kernel/qeventloop.cpp:201
#74 0xb53bf711 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#75 0xb48e81f8 in QApplication::exec () at kernel/qapplication.cpp:3579
#76 0x0804af1e in _start ()

Possible duplicates by query: bug 241680, bug 241404, bug 240898, bug 240662, bug 240442.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-17 14:54:07 UTC
[KCrash Handler]
#6  0xb6c7ddd8 in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb6c7e74f in ?? () from /usr/lib/libkmailprivate.so.4
#8  0xb6c8251a in ?? () from /usr/lib/libkmailprivate.so.4

Please install kdepim debug packages and paste a new crash log
Comment 2 Toralf Förster 2010-06-17 15:26:34 UTC
Created attachment 48075 [details]
backtrace.log

This I got at the console (where I started kmail from) :

kmail(590)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kmail(590)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kmail(590) KMail::AccountComboBox::slotRefreshAccounts: ("IMAP")
kmail(590) AccountsPageReceivingTab::slotModifySelectedAccount: slotModifySelectedAccount - connect
kmail(590) KMail::ImapAccountBase::getNamespaces: getNamespaces - wait for connection
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
sock_file=/home/tfoerste/.kde4/socket-n22/kdeinit4__0
Comment 3 Christophe Marin 2011-02-14 13:02:37 UTC

*** This bug has been marked as a duplicate of bug 235644 ***
Comment 4 Toralf Förster 2011-02-14 14:16:24 UTC
Did no longer crash with 4.4.10