Bug 166523 - Activating external editor in the config crashes
Summary: Activating external editor in the config crashes
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 167714 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-14 14:34 UTC by mps
Modified: 2009-01-18 17:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mps 2008-07-14 14:34:04 UTC
Kmail's configuration dialogue seems to be pretty buggy. In this case I am 
trying to set kmail to use kate as an external editor. I click on the 'Use 
external editor instead of composer check box' and on clicking either Ok or 
Apply kmail crashes. Two backtraces - the first I get when I click 'OK' and the 
second if I click 'Apply'. If I click Ok, the option is NOT set when I restart, 
but if I click Apply, it is set.

I also get a crash on changing other settings. The third backtrace below is 
trying to set the "Check mail on startup" parameter and occurs whenI click 
Apply. Looks pretty similar to the crash when trying to set the external 
editor. The fourth backtrace below (also looks similar is on trying to change 
the 'Prefer HTML mail' option.

Please let me know how I can provide more information.

Thanks
M.

First backtrace - changing the 'Use external editor' setting and clicking OK.

Application: KMail (kmail), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208584496 (LWP 1192)]
[New Thread -1278411888 (LWP 1239)]
[KCrash handler]
#6  0x00110402 in __kernel_vsyscall ()
#7  0x019d5690 in raise () from /lib/libc.so.6
#8  0x019d6f91 in abort () from /lib/libc.so.6
#9  0x019ce93e in __assert_fail () from /lib/libc.so.6
#10 0x00b89180 in AppearancePageHeadersTab::save (this=0x9fca4d8)
    at /home/kde-devel/kde/src/kdepim/kmail/configuredialog.cpp:1990
#11 0x00bb1a83 in ConfigModuleWithTabs::save (this=0xa002a58)
    at /home/kde-devel/kde/src/kdepim/kmail/configuredialog_p.cpp:422
#12 0x069bff2b in KCModuleProxy::save (this=0xa0ede58)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmoduleproxy.cpp:276
#13 0x069bb39e in KCMultiDialogPrivate::apply (this=0x9ddf4e0)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:192
#14 0x069bb646 in KCMultiDialog::slotOkClicked (this=0xa0a8818)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:227
#15 0x069bd0d7 in KCMultiDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfbc3544)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:87
#16 0x00b9badc in ConfigureDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=78, _a=0xbfbc3544)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#17 0x0026ae61 in QMetaObject::activate (sender=0xa0a8818, 
    from_signal_index=44, to_signal_index=44, argv=0x0)
    at kernel/qobject.cpp:3007
#18 0x0026b2e3 in QMetaObject::activate (sender=0xa0a8818, m=0x684b3c4, 
    local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3080
#19 0x0662f681 in KDialog::okClicked (this=0xa0a8818)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:247
#20 0x06630d99 in KDialog::slotButtonClicked (this=0xa0a8818, button=4)
    at /home/kde-devel/kde/src/kdelibs/kdeui/dialogs/kdialog.cpp:844
#21 0x066333d3 in KDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfbc379c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:181
#22 0x066fa726 in KPageDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfbc379c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kpagedialog.moc:63
#23 0x069bd03d in KCMultiDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfbc379c)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:77
#24 0x00b9badc in ConfigureDialog::qt_metacall (this=0xa0a8818, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfbc379c)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#25 0x0026ae61 in QMetaObject::activate (sender=0x9ddf530, 
    from_signal_index=4, to_signal_index=4, argv=0xbfbc379c)
    at kernel/qobject.cpp:3007
#26 0x0026b2e3 in QMetaObject::activate (sender=0x9ddf530, m=0x304ad8, 
    local_signal_index=0, argv=0xbfbc379c) at kernel/qobject.cpp:3080
#27 0x0027210c in QSignalMapper::mapped (this=0x9ddf530, _t1=4)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#28 0x002721ef in QSignalMapper::map (this=0x9ddf530, sender=0xa15e1a0)
    at kernel/qsignalmapper.cpp:277
#29 0x002722f0 in QSignalMapper::map (this=0x9ddf530)
    at kernel/qsignalmapper.cpp:268
#30 0x00272453 in QSignalMapper::qt_metacall (this=0x9ddf530, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfbc390c)
    at .moc/debug-shared/moc_qsignalmapper.cpp:80
#31 0x0026ae61 in QMetaObject::activate (sender=0xa15e1a0, 
    from_signal_index=29, to_signal_index=30, argv=0xbfbc390c)
    at kernel/qobject.cpp:3007
#32 0x0026b06a in QMetaObject::activate (sender=0xa15e1a0, m=0x3dd5624, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfbc390c)
    at kernel/qobject.cpp:3100
#33 0x03cf6960 in QAbstractButton::clicked (this=0xa15e1a0, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#34 0x03a43908 in QAbstractButtonPrivate::emitClicked (this=0xa0ab850)
    at widgets/qabstractbutton.cpp:543
#35 0x03a44b27 in QAbstractButtonPrivate::click (this=0xa0ab850)
    at widgets/qabstractbutton.cpp:536
#36 0x03a44dcc in QAbstractButton::mouseReleaseEvent (this=0xa15e1a0, 
    e=0xbfbc4134) at widgets/qabstractbutton.cpp:1112
#37 0x03720a43 in QWidget::event (this=0xa15e1a0, event=0xbfbc4134)
    at kernel/qwidget.cpp:6927
#38 0x03a438a2 in QAbstractButton::event (this=0xa15e1a0, e=0xbfbc4134)
    at widgets/qabstractbutton.cpp:1074
#39 0x03af8161 in QPushButton::event (this=0xa15e1a0, e=0xbfbc4134)
    at widgets/qpushbutton.cpp:658
#40 0x036c0d07 in QApplicationPrivate::notify_helper (this=0x971d258, 
    receiver=0xa15e1a0, e=0xbfbc4134) at kernel/qapplication.cpp:3772
#41 0x036c188c in QApplication::notify (this=0xbfbc499c, receiver=0xa15e1a0, 
    e=0xbfbc4134) at kernel/qapplication.cpp:3501
#42 0x066ca639 in KApplication::notify (this=0xbfbc499c, receiver=0xa15e1a0, 
    event=0xbfbc4134)
    at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#43 0x00256bb2 in QCoreApplication::notifyInternal (this=0xbfbc499c, 
    receiver=0xa15e1a0, event=0xbfbc4134) at kernel/qcoreapplication.cpp:583
#44 0x036cd165 in QCoreApplication::sendSpontaneousEvent (receiver=0xa15e1a0, 
    event=0xbfbc4134)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#45 0x036c7cb6 in QApplicationPrivate::sendMouseEvent (receiver=0xa15e1a0, 
    event=0xbfbc4134, alienWidget=0xa15e1a0, nativeWidget=0xa0a8818, 
    buttonDown=0x3de3280, lastMouseReceiver=@0x3de3284)
    at kernel/qapplication.cpp:2766
#46 0x0373cabe in QETWidget::translateMouseEvent (this=0xa0a8818, 
    event=0xbfbc4650) at kernel/qapplication_x11.cpp:4133
#47 0x0373a512 in QApplication::x11ProcessEvent (this=0xbfbc499c, 
    event=0xbfbc4650) at kernel/qapplication_x11.cpp:3133
#48 0x03769560 in x11EventSourceDispatch (s=0x971ffd0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#49 0x01b321ac in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x01b355ef in ?? () from /lib/libglib-2.0.so.0
#51 0x01b35b55 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00285be4 in QEventDispatcherGlib::processEvents (this=0x9719e60, 
    flags=@0xbfbc47f8) at kernel/qeventdispatcher_glib.cpp:325
#53 0x03768db4 in QGuiEventDispatcherGlib::processEvents (this=0x9719e60, 
    flags=@0xbfbc4828) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x0025370e in QEventLoop::processEvents (this=0xbfbc48a0, 
    flags=@0xbfbc4864) at kernel/qeventloop.cpp:149
#55 0x0025394d in QEventLoop::exec (this=0xbfbc48a0, flags=@0xbfbc48a8)
    at kernel/qeventloop.cpp:196
#56 0x0025739b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#57 0x036c0a04 in QApplication::exec () at kernel/qapplication.cpp:3304
#58 0x0804b05c in main (argc=3, argv=0xbfbc4a74)
    at /home/kde-devel/kde/src/kdepim/kmail/main.cpp:146
#0  0x00110402 in __kernel_vsyscall ()



First backtrace - changing the 'Use external editor' setting and clicking Apply.

Application: KMail (kmail), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208973616 (LWP 1593)]
[KCrash handler]
#6  0x00110402 in __kernel_vsyscall ()
#7  0x02128690 in raise () from /lib/libc.so.6
#8  0x02129f91 in abort () from /lib/libc.so.6
#9  0x0015bbc9 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfe04500 "ASSERT failure in QVector<T>::at: \"index out of range\", 
file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 323")
    at global/qglobal.cpp:2058
#10 0x0015bc2d in qFatal (
    msg=0x2ac3bc "ASSERT failure in %s: \"%s\", file %s, line %d")
    at global/qglobal.cpp:2260
#11 0x0015bc72 in qt_assert_x (where=0x5e6bf6a "QVector<T>::at", 
    what=0x5e6bf57 "index out of range", 
    file=0x5e6bf20 "../../include/QtCore/../../src/corelib/tools/qvector.h", 
    line=323) at global/qglobal.cpp:1836
#12 0x05d2f9f7 in QVector<QTreeViewItem>::at (this=0x98add48, i=1)
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:323
#13 0x05d21f41 in QTreeViewPrivate::rowsRemoved (this=0x98adaf0, 
    parent=@0xbfe068d4, start=1, end=1, after=false)
    at itemviews/qtreeview.cpp:3649
#14 0x05d24ee6 in QTreeView::rowsAboutToBeRemoved (this=0x98176e8, 
    parent=@0xbfe068d4, start=1, end=1) at itemviews/qtreeview.cpp:2425
#15 0x05ceecdd in QAbstractItemView::qt_metacall (this=0x98176e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfe06864)
    at .moc/debug-shared/moc_qabstractitemview.cpp:225
#16 0x05d2d3bc in QTreeView::qt_metacall (this=0x98176e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe06864)
    at .moc/debug-shared/moc_qtreeview.cpp:121
#17 0x05d637a0 in QTreeWidget::qt_metacall (this=0x98176e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe06864)
    at .moc/debug-shared/moc_qtreewidget.cpp:123
#18 0x05068a7a in KPIM::TreeWidget::qt_metacall (this=0x98176e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe06864)
    at /home/kde-devel/kde/build/kdepim/libkdepim/moc_treewidget.cpp:63
#19 0x00dc81f2 in KMMimePartTree::qt_metacall (this=0x98176e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe06864)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmimeparttree.moc:78
#20 0x0026ae61 in QMetaObject::activate (sender=0x98374d8, 
    from_signal_index=10, to_signal_index=10, argv=0xbfe06864)
    at kernel/qobject.cpp:3007
#21 0x0026b2e3 in QMetaObject::activate (sender=0x98374d8, m=0x305758, 
    local_signal_index=6, argv=0xbfe06864) at kernel/qobject.cpp:3080
#22 0x002aa50c in QAbstractItemModel::rowsAboutToBeRemoved (this=0x98374d8, 
    _t1=@0xbfe068d4, _t2=1, _t3=1)
    at .moc/debug-shared/moc_qabstractitemmodel.cpp:164
#23 0x0024c4a4 in QAbstractItemModel::beginRemoveRows (this=0x98374d8, 
    parent=@0xbfe068d4, first=1, last=1) at kernel/qabstractitemmodel.cpp:2121
#24 0x05d5e4a5 in QTreeModel::beginRemoveItems (this=0x98374d8, 
    parent=0x9f65e50, row=1, count=1) at itemviews/qtreewidget.cpp:815
#25 0x05d60e6b in QTreeWidgetItem::takeChild (this=0x9f65e50, index=1)
    at itemviews/qtreewidget.cpp:1923
#26 0x00dc5e09 in KMMimePartTreeItem (this=0x9bdc060, parent=0x9f65e50, 
    node=0x97ec460, description=@0xbfe069e8, mimetype=@0xbfe069e4, 
    encoding=@0xbfe069e0, size=5365, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmimeparttree.cpp:393
#27 0x00dffcf1 in partNode::fillMimePartTree (this=0x97ec460, 
    parentItem=0x9f65e50, mimePartTree=0x0, labelDescr=@0xbfe06b4c, 
    labelCntType=@0xbfe06b48, labelEncoding=@0xbfe06b44, size=0, 
    revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:505
#28 0x00dffe53 in partNode::fillMimePartTree (this=0x97ec3d8, parentItem=0x0, 
    mimePartTree=0x98176e8, labelDescr=@0xbfe06c98, labelCntType=@0xbfe06ce0, 
    labelEncoding=@0xbfe06c94, size=44075, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:517
#29 0x00c76fb6 in KMReaderWin::parseMsg (this=0x9833818, aMsg=0x9ccdf10)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1528
#30 0x00c6b1f8 in KMReaderWin::displayMessage (this=0x9833818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1484
#31 0x00c6b358 in KMReaderWin::updateReaderWin (this=0x9833818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1424
#32 0x00c6baa8 in KMReaderWin::setMsg (this=0x9833818, aMsg=0x9ccdf10, 
    force=true) at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1226
#33 0x00c6390f in KMReaderWin::update (this=0x9833818, force=true)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:2418
#34 0x00c6a9fd in KMReaderWin::setHeaderStyleAndStrategy (this=0x9833818, 
    style=0x99faa50, strategy=0x96ae038)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1079
#35 0x00c6f017 in KMReaderWin::readConfig (this=0x9833818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:942
#36 0x00e50726 in KMMainWidget::readConfig (this=0x9733338)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:607
#37 0x00e2cdc2 in KMMainWidget::slotConfigChanged (this=0x9733338)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:1947
#38 0x00e53e43 in KMMainWidget::qt_metacall (this=0x9733338, 
    _c=QMetaObject::InvokeMetaMethod, _id=145, _a=0xbfe071d4)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmainwidget.moc:464
#39 0x0026ae61 in QMetaObject::activate (sender=0xbfe08960, 
    from_signal_index=5, to_signal_index=5, argv=0x0)
    at kernel/qobject.cpp:3007
#40 0x0026b2e3 in QMetaObject::activate (sender=0xbfe08960, m=0x1114240, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3080
#41 0x00d66d49 in KMKernel::configChanged (this=0xbfe08960)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:246
#42 0x00d6b644 in KMKernel::slotConfigChanged (this=0xbfe08960)
    at /home/kde-devel/kde/src/kdepim/kmail/kmkernel.cpp:1914
#43 0x00d75b11 in KMKernel::qt_metacall (this=0xbfe08960, 
    _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbfe073d4)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:226
#44 0x0026ae61 in QMetaObject::activate (sender=0x9e80d90, 
    from_signal_index=73, to_signal_index=73, argv=0x0)
    at kernel/qobject.cpp:3007
#45 0x0026b2e3 in QMetaObject::activate (sender=0x9e80d90, m=0x177c1bc, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#46 0x01750e71 in KCMultiDialog::configCommitted (this=0x9e80d90)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:101
#47 0x017515fe in KCMultiDialogPrivate::apply (this=0x9e8b480)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:212
#48 0x01751698 in KCMultiDialog::slotApplyClicked (this=0x9e80d90)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:219
#49 0x017530ca in KCMultiDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe075b4)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:86
#50 0x00b9badc in ConfigureDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=77, _a=0xbfe075b4)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#51 0x0026ae61 in QMetaObject::activate (sender=0x9e80d90, 
    from_signal_index=42, to_signal_index=42, argv=0x0)
    at kernel/qobject.cpp:3007
#52 0x0026b2e3 in QMetaObject::activate (sender=0x9e80d90, m=0x1b2b3c4, 
    local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3080
#53 0x0190f6fd in KDialog::applyClicked (this=0x9e80d90)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:235
#54 0x01910dbd in KDialog::slotButtonClicked (this=0x9e80d90, button=8)
    at /home/kde-devel/kde/src/kdelibs/kdeui/dialogs/kdialog.cpp:848
#55 0x019133d3 in KDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfe0780c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:181
#56 0x019da726 in KPageDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfe0780c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kpagedialog.moc:63
#57 0x0175303d in KCMultiDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfe0780c)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:77
#58 0x00b9badc in ConfigureDialog::qt_metacall (this=0x9e80d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfe0780c)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#59 0x0026ae61 in QMetaObject::activate (sender=0x9e8b4d0, 
    from_signal_index=4, to_signal_index=4, argv=0xbfe0780c)
    at kernel/qobject.cpp:3007
#60 0x0026b2e3 in QMetaObject::activate (sender=0x9e8b4d0, m=0x304ad8, 
    local_signal_index=0, argv=0xbfe0780c) at kernel/qobject.cpp:3080
#61 0x0027210c in QSignalMapper::mapped (this=0x9e8b4d0, _t1=8)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#62 0x002721ef in QSignalMapper::map (this=0x9e8b4d0, sender=0x9ea96e0)
    at kernel/qsignalmapper.cpp:277
#63 0x002722f0 in QSignalMapper::map (this=0x9e8b4d0)
    at kernel/qsignalmapper.cpp:268
#64 0x00272453 in QSignalMapper::qt_metacall (this=0x9e8b4d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe0797c)
    at .moc/debug-shared/moc_qsignalmapper.cpp:80
#65 0x0026ae61 in QMetaObject::activate (sender=0x9ea96e0, 
    from_signal_index=29, to_signal_index=30, argv=0xbfe0797c)
    at kernel/qobject.cpp:3007
#66 0x0026b06a in QMetaObject::activate (sender=0x9ea96e0, m=0x5ee9624, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfe0797c)
    at kernel/qobject.cpp:3100
#67 0x05e0a960 in QAbstractButton::clicked (this=0x9ea96e0, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#68 0x05b57908 in QAbstractButtonPrivate::emitClicked (this=0x9f25c70)
    at widgets/qabstractbutton.cpp:543
#69 0x05b58b27 in QAbstractButtonPrivate::click (this=0x9f25c70)
    at widgets/qabstractbutton.cpp:536
#70 0x05b58dcc in QAbstractButton::mouseReleaseEvent (this=0x9ea96e0, 
    e=0xbfe081a4) at widgets/qabstractbutton.cpp:1112
#71 0x05834a43 in QWidget::event (this=0x9ea96e0, event=0xbfe081a4)
    at kernel/qwidget.cpp:6927
#72 0x05b578a2 in QAbstractButton::event (this=0x9ea96e0, e=0xbfe081a4)
    at widgets/qabstractbutton.cpp:1074
#73 0x05c0c161 in QPushButton::event (this=0x9ea96e0, e=0xbfe081a4)
    at widgets/qpushbutton.cpp:658
#74 0x057d4d07 in QApplicationPrivate::notify_helper (this=0x9526258, 
    receiver=0x9ea96e0, e=0xbfe081a4) at kernel/qapplication.cpp:3772
#75 0x057d588c in QApplication::notify (this=0xbfe08a0c, receiver=0x9ea96e0, 
    e=0xbfe081a4) at kernel/qapplication.cpp:3501
#76 0x019aa639 in KApplication::notify (this=0xbfe08a0c, receiver=0x9ea96e0, 
    event=0xbfe081a4)
    at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#77 0x00256bb2 in QCoreApplication::notifyInternal (this=0xbfe08a0c, 
    receiver=0x9ea96e0, event=0xbfe081a4) at kernel/qcoreapplication.cpp:583
#78 0x057e1165 in QCoreApplication::sendSpontaneousEvent (receiver=0x9ea96e0, 
    event=0xbfe081a4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#79 0x057dbcb6 in QApplicationPrivate::sendMouseEvent (receiver=0x9ea96e0, 
    event=0xbfe081a4, alienWidget=0x9ea96e0, nativeWidget=0x9e80d90, 
    buttonDown=0x5ef7280, lastMouseReceiver=@0x5ef7284)
    at kernel/qapplication.cpp:2766
#80 0x05850abe in QETWidget::translateMouseEvent (this=0x9e80d90, 
    event=0xbfe086c0) at kernel/qapplication_x11.cpp:4133
#81 0x0584e512 in QApplication::x11ProcessEvent (this=0xbfe08a0c, 
    event=0xbfe086c0) at kernel/qapplication_x11.cpp:3133
#82 0x0587d560 in x11EventSourceDispatch (s=0x9528fd0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#83 0x022851ac in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#84 0x022885ef in ?? () from /lib/libglib-2.0.so.0
#85 0x02288b55 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#86 0x00285be4 in QEventDispatcherGlib::processEvents (this=0x9522e60, 
    flags=@0xbfe08868) at kernel/qeventdispatcher_glib.cpp:325
#87 0x0587cdb4 in QGuiEventDispatcherGlib::processEvents (this=0x9522e60, 
    flags=@0xbfe08898) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x0025370e in QEventLoop::processEvents (this=0xbfe08910, 
    flags=@0xbfe088d4) at kernel/qeventloop.cpp:149
#89 0x0025394d in QEventLoop::exec (this=0xbfe08910, flags=@0xbfe08918)
    at kernel/qeventloop.cpp:196
#90 0x0025739b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#91 0x057d4a04 in QApplication::exec () at kernel/qapplication.cpp:3304
#92 0x0804b05c in main (argc=3, argv=0xbfe08ae4)
    at /home/kde-devel/kde/src/kdepim/kmail/main.cpp:146
#0  0x00110402 in __kernel_vsyscall ()


Third backtrace - trying to set "Check mail on startup", then clicking Apply:

Application: KMail (kmail), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208850736 (LWP 1744)]
[KCrash handler]
#6  0x00110402 in __kernel_vsyscall ()
#7  0x015bf690 in raise () from /lib/libc.so.6
#8  0x015c0f91 in abort () from /lib/libc.so.6
#9  0x0015bbc9 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfc44340 "ASSERT failure in QVector<T>::at: \"index out of range\", 
file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 323")
    at global/qglobal.cpp:2058
#10 0x0015bc2d in qFatal (
    msg=0x2ac3bc "ASSERT failure in %s: \"%s\", file %s, line %d")
    at global/qglobal.cpp:2260
#11 0x0015bc72 in qt_assert_x (where=0x410af6a "QVector<T>::at", 
    what=0x410af57 "index out of range", 
    file=0x410af20 "../../include/QtCore/../../src/corelib/tools/qvector.h", 
    line=323) at global/qglobal.cpp:1836
#12 0x03fce9f7 in QVector<QTreeViewItem>::at (this=0x9f8f388, i=1)
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:323
#13 0x03fc0f41 in QTreeViewPrivate::rowsRemoved (this=0x9f8f130, 
    parent=@0xbfc46714, start=1, end=1, after=false)
    at itemviews/qtreeview.cpp:3649
#14 0x03fc3ee6 in QTreeView::rowsAboutToBeRemoved (this=0x9f04790, 
    parent=@0xbfc46714, start=1, end=1) at itemviews/qtreeview.cpp:2425
#15 0x03f8dcdd in QAbstractItemView::qt_metacall (this=0x9f04790, 
    _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfc466a4)
    at .moc/debug-shared/moc_qabstractitemview.cpp:225
#16 0x03fcc3bc in QTreeView::qt_metacall (this=0x9f04790, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfc466a4)
    at .moc/debug-shared/moc_qtreeview.cpp:121
#17 0x040027a0 in QTreeWidget::qt_metacall (this=0x9f04790, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfc466a4)
    at .moc/debug-shared/moc_qtreewidget.cpp:123
#18 0x06f9ba7a in KPIM::TreeWidget::qt_metacall (this=0x9f04790, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfc466a4)
    at /home/kde-devel/kde/build/kdepim/libkdepim/moc_treewidget.cpp:63
#19 0x00dc81f2 in KMMimePartTree::qt_metacall (this=0x9f04790, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfc466a4)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmimeparttree.moc:78
#20 0x0026ae61 in QMetaObject::activate (sender=0x9e683a0, 
    from_signal_index=10, to_signal_index=10, argv=0xbfc466a4)
    at kernel/qobject.cpp:3007
#21 0x0026b2e3 in QMetaObject::activate (sender=0x9e683a0, m=0x305758, 
    local_signal_index=6, argv=0xbfc466a4) at kernel/qobject.cpp:3080
#22 0x002aa50c in QAbstractItemModel::rowsAboutToBeRemoved (this=0x9e683a0, 
    _t1=@0xbfc46714, _t2=1, _t3=1)
    at .moc/debug-shared/moc_qabstractitemmodel.cpp:164
#23 0x0024c4a4 in QAbstractItemModel::beginRemoveRows (this=0x9e683a0, 
    parent=@0xbfc46714, first=1, last=1) at kernel/qabstractitemmodel.cpp:2121
#24 0x03ffd4a5 in QTreeModel::beginRemoveItems (this=0x9e683a0, 
    parent=0x9ece0d0, row=1, count=1) at itemviews/qtreewidget.cpp:815
#25 0x03fffe6b in QTreeWidgetItem::takeChild (this=0x9ece0d0, index=1)
    at itemviews/qtreewidget.cpp:1923
#26 0x00dc5e09 in KMMimePartTreeItem (this=0xa5a6d60, parent=0x9ece0d0, 
    node=0xa6b4dc0, description=@0xbfc46828, mimetype=@0xbfc46824, 
    encoding=@0xbfc46820, size=5365, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmimeparttree.cpp:393
#27 0x00dffcf1 in partNode::fillMimePartTree (this=0xa6b4dc0, 
    parentItem=0x9ece0d0, mimePartTree=0x0, labelDescr=@0xbfc4698c, 
    labelCntType=@0xbfc46988, labelEncoding=@0xbfc46984, size=0, 
    revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:505
#28 0x00dffe53 in partNode::fillMimePartTree (this=0xa6ad588, parentItem=0x0, 
    mimePartTree=0x9f04790, labelDescr=@0xbfc46ad8, labelCntType=@0xbfc46b20, 
    labelEncoding=@0xbfc46ad4, size=44075, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:517
#29 0x00c76fb6 in KMReaderWin::parseMsg (this=0x9eedca0, aMsg=0xa3af3b0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1528
#30 0x00c6b1f8 in KMReaderWin::displayMessage (this=0x9eedca0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1484
#31 0x00c6b358 in KMReaderWin::updateReaderWin (this=0x9eedca0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1424
#32 0x00c6baa8 in KMReaderWin::setMsg (this=0x9eedca0, aMsg=0xa3af3b0, 
    force=true) at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1226
#33 0x00c6390f in KMReaderWin::update (this=0x9eedca0, force=true)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:2418
#34 0x00c6a9fd in KMReaderWin::setHeaderStyleAndStrategy (this=0x9eedca0, 
    style=0xa11db90, strategy=0x9ccbcc0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1079
#35 0x00c6f017 in KMReaderWin::readConfig (this=0x9eedca0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:942
#36 0x00e50726 in KMMainWidget::readConfig (this=0x9e14c60)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:607
#37 0x00e2cdc2 in KMMainWidget::slotConfigChanged (this=0x9e14c60)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:1947
#38 0x00e53e43 in KMMainWidget::qt_metacall (this=0x9e14c60, 
    _c=QMetaObject::InvokeMetaMethod, _id=145, _a=0xbfc47014)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmainwidget.moc:464
#39 0x0026ae61 in QMetaObject::activate (sender=0xbfc487a0, 
    from_signal_index=5, to_signal_index=5, argv=0x0)
    at kernel/qobject.cpp:3007
#40 0x0026b2e3 in QMetaObject::activate (sender=0xbfc487a0, m=0x1114240, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3080
#41 0x00d66d49 in KMKernel::configChanged (this=0xbfc487a0)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:246
#42 0x00d6b644 in KMKernel::slotConfigChanged (this=0xbfc487a0)
    at /home/kde-devel/kde/src/kdepim/kmail/kmkernel.cpp:1914
#43 0x00d75b11 in KMKernel::qt_metacall (this=0xbfc487a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbfc47214)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:226
#44 0x0026ae61 in QMetaObject::activate (sender=0xa3bdbf0, 
    from_signal_index=73, to_signal_index=73, argv=0x0)
    at kernel/qobject.cpp:3007
#45 0x0026b2e3 in QMetaObject::activate (sender=0xa3bdbf0, m=0x14431bc, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#46 0x01417e71 in KCMultiDialog::configCommitted (this=0xa3bdbf0)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:101
#47 0x014185fe in KCMultiDialogPrivate::apply (this=0xa2ccb58)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:212
#48 0x01418698 in KCMultiDialog::slotApplyClicked (this=0xa3bdbf0)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:219
#49 0x0141a0ca in KCMultiDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc473f4)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:86
#50 0x00b9badc in ConfigureDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=77, _a=0xbfc473f4)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#51 0x0026ae61 in QMetaObject::activate (sender=0xa3bdbf0, 
    from_signal_index=42, to_signal_index=42, argv=0x0)
    at kernel/qobject.cpp:3007
#52 0x0026b2e3 in QMetaObject::activate (sender=0xa3bdbf0, m=0x300f3c4, 
    local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3080
#53 0x02df36fd in KDialog::applyClicked (this=0xa3bdbf0)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:235
#54 0x02df4dbd in KDialog::slotButtonClicked (this=0xa3bdbf0, button=8)
    at /home/kde-devel/kde/src/kdelibs/kdeui/dialogs/kdialog.cpp:848
#55 0x02df73d3 in KDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfc4764c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:181
#56 0x02ebe726 in KPageDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfc4764c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kpagedialog.moc:63
#57 0x0141a03d in KCMultiDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfc4764c)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:77
#58 0x00b9badc in ConfigureDialog::qt_metacall (this=0xa3bdbf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfc4764c)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#59 0x0026ae61 in QMetaObject::activate (sender=0xa2ccba8, 
    from_signal_index=4, to_signal_index=4, argv=0xbfc4764c)
    at kernel/qobject.cpp:3007
#60 0x0026b2e3 in QMetaObject::activate (sender=0xa2ccba8, m=0x304ad8, 
    local_signal_index=0, argv=0xbfc4764c) at kernel/qobject.cpp:3080
#61 0x0027210c in QSignalMapper::mapped (this=0xa2ccba8, _t1=8)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#62 0x002721ef in QSignalMapper::map (this=0xa2ccba8, sender=0xa292008)
    at kernel/qsignalmapper.cpp:277
#63 0x002722f0 in QSignalMapper::map (this=0xa2ccba8)
    at kernel/qsignalmapper.cpp:268
#64 0x00272453 in QSignalMapper::qt_metacall (this=0xa2ccba8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc477bc)
    at .moc/debug-shared/moc_qsignalmapper.cpp:80
#65 0x0026ae61 in QMetaObject::activate (sender=0xa292008, 
    from_signal_index=29, to_signal_index=30, argv=0xbfc477bc)
    at kernel/qobject.cpp:3007
#66 0x0026b06a in QMetaObject::activate (sender=0xa292008, m=0x4188624, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfc477bc)
    at kernel/qobject.cpp:3100
#67 0x040a9960 in QAbstractButton::clicked (this=0xa292008, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#68 0x03df6908 in QAbstractButtonPrivate::emitClicked (this=0xa6782b0)
    at widgets/qabstractbutton.cpp:543
#69 0x03df7b27 in QAbstractButtonPrivate::click (this=0xa6782b0)
    at widgets/qabstractbutton.cpp:536
#70 0x03df7dcc in QAbstractButton::mouseReleaseEvent (this=0xa292008, 
    e=0xbfc47fe4) at widgets/qabstractbutton.cpp:1112
#71 0x03ad3a43 in QWidget::event (this=0xa292008, event=0xbfc47fe4)
    at kernel/qwidget.cpp:6927
#72 0x03df68a2 in QAbstractButton::event (this=0xa292008, e=0xbfc47fe4)
    at widgets/qabstractbutton.cpp:1074
#73 0x03eab161 in QPushButton::event (this=0xa292008, e=0xbfc47fe4)
    at widgets/qpushbutton.cpp:658
#74 0x03a73d07 in QApplicationPrivate::notify_helper (this=0x9c08258, 
    receiver=0xa292008, e=0xbfc47fe4) at kernel/qapplication.cpp:3772
#75 0x03a7488c in QApplication::notify (this=0xbfc4884c, receiver=0xa292008, 
    e=0xbfc47fe4) at kernel/qapplication.cpp:3501
#76 0x02e8e639 in KApplication::notify (this=0xbfc4884c, receiver=0xa292008, 
    event=0xbfc47fe4)
    at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#77 0x00256bb2 in QCoreApplication::notifyInternal (this=0xbfc4884c, 
    receiver=0xa292008, event=0xbfc47fe4) at kernel/qcoreapplication.cpp:583
#78 0x03a80165 in QCoreApplication::sendSpontaneousEvent (receiver=0xa292008, 
    event=0xbfc47fe4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#79 0x03a7acb6 in QApplicationPrivate::sendMouseEvent (receiver=0xa292008, 
    event=0xbfc47fe4, alienWidget=0xa292008, nativeWidget=0xa3bdbf0, 
    buttonDown=0x4196280, lastMouseReceiver=@0x4196284)
    at kernel/qapplication.cpp:2766
#80 0x03aefabe in QETWidget::translateMouseEvent (this=0xa3bdbf0, 
    event=0xbfc48500) at kernel/qapplication_x11.cpp:4133
#81 0x03aed512 in QApplication::x11ProcessEvent (this=0xbfc4884c, 
    event=0xbfc48500) at kernel/qapplication_x11.cpp:3133
#82 0x03b1c560 in x11EventSourceDispatch (s=0x9c0afd0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#83 0x0171c1ac in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#84 0x0171f5ef in ?? () from /lib/libglib-2.0.so.0
#85 0x0171fb55 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#86 0x00285be4 in QEventDispatcherGlib::processEvents (this=0x9c04e60, 
    flags=@0xbfc486a8) at kernel/qeventdispatcher_glib.cpp:325
#87 0x03b1bdb4 in QGuiEventDispatcherGlib::processEvents (this=0x9c04e60, 
    flags=@0xbfc486d8) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x0025370e in QEventLoop::processEvents (this=0xbfc48750, 
    flags=@0xbfc48714) at kernel/qeventloop.cpp:149
#89 0x0025394d in QEventLoop::exec (this=0xbfc48750, flags=@0xbfc48758)
    at kernel/qeventloop.cpp:196
#90 0x0025739b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#91 0x03a73a04 in QApplication::exec () at kernel/qapplication.cpp:3304
#92 0x0804b05c in main (argc=3, argv=0xbfc48924)
    at /home/kde-devel/kde/src/kdepim/kmail/main.cpp:146
#0  0x00110402 in __kernel_vsyscall ()


Fourth backtrace - trying to set 'Prefer HTML mail' option:
Application: KMail (kmail), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208408368 (LWP 2014)]
[New Thread -1257256048 (LWP 2025)]
[KCrash handler]
#6  0x00110402 in __kernel_vsyscall ()
#7  0x03115690 in raise () from /lib/libc.so.6
#8  0x03116f91 in abort () from /lib/libc.so.6
#9  0x0015bbc9 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfd59320 "ASSERT failure in QVector<T>::at: \"index out of range\", 
file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 323")
    at global/qglobal.cpp:2058
#10 0x0015bc2d in qFatal (
    msg=0x2ac3bc "ASSERT failure in %s: \"%s\", file %s, line %d")
    at global/qglobal.cpp:2260
#11 0x0015bc72 in qt_assert_x (where=0x3d05f6a "QVector<T>::at", 
    what=0x3d05f57 "index out of range", 
    file=0x3d05f20 "../../include/QtCore/../../src/corelib/tools/qvector.h", 
    line=323) at global/qglobal.cpp:1836
#12 0x03bc99f7 in QVector<QTreeViewItem>::at (this=0x84fdd48, i=1)
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:323
#13 0x03bbbf41 in QTreeViewPrivate::rowsRemoved (this=0x84fdaf0, 
    parent=@0xbfd5b6f4, start=1, end=1, after=false)
    at itemviews/qtreeview.cpp:3649
#14 0x03bbeee6 in QTreeView::rowsAboutToBeRemoved (this=0x84676e8, 
    parent=@0xbfd5b6f4, start=1, end=1) at itemviews/qtreeview.cpp:2425
#15 0x03b88cdd in QAbstractItemView::qt_metacall (this=0x84676e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfd5b684)
    at .moc/debug-shared/moc_qabstractitemview.cpp:225
#16 0x03bc73bc in QTreeView::qt_metacall (this=0x84676e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd5b684)
    at .moc/debug-shared/moc_qtreeview.cpp:121
#17 0x03bfd7a0 in QTreeWidget::qt_metacall (this=0x84676e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd5b684)
    at .moc/debug-shared/moc_qtreewidget.cpp:123
#18 0x05a4ea7a in KPIM::TreeWidget::qt_metacall (this=0x84676e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd5b684)
    at /home/kde-devel/kde/build/kdepim/libkdepim/moc_treewidget.cpp:63
#19 0x00dc81f2 in KMMimePartTree::qt_metacall (this=0x84676e8, 
    _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfd5b684)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmimeparttree.moc:78
#20 0x0026ae61 in QMetaObject::activate (sender=0x84874d8, 
    from_signal_index=10, to_signal_index=10, argv=0xbfd5b684)
    at kernel/qobject.cpp:3007
#21 0x0026b2e3 in QMetaObject::activate (sender=0x84874d8, m=0x305758, 
    local_signal_index=6, argv=0xbfd5b684) at kernel/qobject.cpp:3080
#22 0x002aa50c in QAbstractItemModel::rowsAboutToBeRemoved (this=0x84874d8, 
    _t1=@0xbfd5b6f4, _t2=1, _t3=1)
    at .moc/debug-shared/moc_qabstractitemmodel.cpp:164
#23 0x0024c4a4 in QAbstractItemModel::beginRemoveRows (this=0x84874d8, 
    parent=@0xbfd5b6f4, first=1, last=1) at kernel/qabstractitemmodel.cpp:2121
#24 0x03bf84a5 in QTreeModel::beginRemoveItems (this=0x84874d8, 
    parent=0x83d5f70, row=1, count=1) at itemviews/qtreewidget.cpp:815
#25 0x03bfae6b in QTreeWidgetItem::takeChild (this=0x83d5f70, index=1)
    at itemviews/qtreewidget.cpp:1923
#26 0x00dc5e09 in KMMimePartTreeItem (this=0x886c800, parent=0x83d5f70, 
    node=0x8bdfee8, description=@0xbfd5b808, mimetype=@0xbfd5b804, 
    encoding=@0xbfd5b800, size=5365, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmimeparttree.cpp:393
#27 0x00dffcf1 in partNode::fillMimePartTree (this=0x8bdfee8, 
    parentItem=0x83d5f70, mimePartTree=0x0, labelDescr=@0xbfd5b96c, 
    labelCntType=@0xbfd5b968, labelEncoding=@0xbfd5b964, size=0, 
    revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:505
#28 0x00dffe53 in partNode::fillMimePartTree (this=0x8a6a128, parentItem=0x0, 
    mimePartTree=0x84676e8, labelDescr=@0xbfd5bab8, labelCntType=@0xbfd5bb00, 
    labelEncoding=@0xbfd5bab4, size=44075, revertOrder=false)
    at /home/kde-devel/kde/src/kdepim/kmail/partNode.cpp:517
#29 0x00c76fb6 in KMReaderWin::parseMsg (this=0x8483818, aMsg=0x890d078)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1528
#30 0x00c6b1f8 in KMReaderWin::displayMessage (this=0x8483818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1484
#31 0x00c6b358 in KMReaderWin::updateReaderWin (this=0x8483818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1424
#32 0x00c6baa8 in KMReaderWin::setMsg (this=0x8483818, aMsg=0x890d078, 
    force=true) at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1226
#33 0x00c6390f in KMReaderWin::update (this=0x8483818, force=true)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:2418
#34 0x00c6a9fd in KMReaderWin::setHeaderStyleAndStrategy (this=0x8483818, 
    style=0x864aa50, strategy=0x82fe038)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:1079
#35 0x00c6f017 in KMReaderWin::readConfig (this=0x8483818)
    at /home/kde-devel/kde/src/kdepim/kmail/kmreaderwin.cpp:942
#36 0x00e50726 in KMMainWidget::readConfig (this=0x8383338)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:607
#37 0x00e2cdc2 in KMMainWidget::slotConfigChanged (this=0x8383338)
    at /home/kde-devel/kde/src/kdepim/kmail/kmmainwidget.cpp:1947
#38 0x00e53e43 in KMMainWidget::qt_metacall (this=0x8383338, 
    _c=QMetaObject::InvokeMetaMethod, _id=145, _a=0xbfd5bff4)
    at /home/kde-devel/kde/build/kdepim/kmail/kmmainwidget.moc:464
#39 0x0026ae61 in QMetaObject::activate (sender=0xbfd5d780, 
    from_signal_index=5, to_signal_index=5, argv=0x0)
    at kernel/qobject.cpp:3007
#40 0x0026b2e3 in QMetaObject::activate (sender=0xbfd5d780, m=0x1114240, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3080
#41 0x00d66d49 in KMKernel::configChanged (this=0xbfd5d780)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:246
#42 0x00d6b644 in KMKernel::slotConfigChanged (this=0xbfd5d780)
    at /home/kde-devel/kde/src/kdepim/kmail/kmkernel.cpp:1914
#43 0x00d75b11 in KMKernel::qt_metacall (this=0xbfd5d780, 
    _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbfd5c1f4)
    at /home/kde-devel/kde/build/kdepim/kmail/kmkernel.moc:226
#44 0x0026ae61 in QMetaObject::activate (sender=0x8abc200, 
    from_signal_index=73, to_signal_index=73, argv=0x0)
    at kernel/qobject.cpp:3007
#45 0x0026b2e3 in QMetaObject::activate (sender=0x8abc200, m=0x19c41bc, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#46 0x01998e71 in KCMultiDialog::configCommitted (this=0x8abc200)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:101
#47 0x019995fe in KCMultiDialogPrivate::apply (this=0x8b476b0)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:212
#48 0x01999646 in KCMultiDialog::slotOkClicked (this=0x8abc200)
    at /home/kde-devel/kde/src/kdelibs/kutils/kcmultidialog.cpp:227
#49 0x0199b0d7 in KCMultiDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd5c3d4)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:87
#50 0x00b9badc in ConfigureDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=78, _a=0xbfd5c3d4)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#51 0x0026ae61 in QMetaObject::activate (sender=0x8abc200, 
    from_signal_index=44, to_signal_index=44, argv=0x0)
    at kernel/qobject.cpp:3007
#52 0x0026b2e3 in QMetaObject::activate (sender=0x8abc200, m=0x75d53c4, 
    local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3080
#53 0x073b9681 in KDialog::okClicked (this=0x8abc200)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:247
#54 0x073bad99 in KDialog::slotButtonClicked (this=0x8abc200, button=4)
    at /home/kde-devel/kde/src/kdelibs/kdeui/dialogs/kdialog.cpp:844
#55 0x073bd3d3 in KDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfd5c62c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kdialog.moc:181
#56 0x07484726 in KPageDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd5c62c)
    at /home/kde-devel/kde/build/kdelibs/kdeui/kpagedialog.moc:63
#57 0x0199b03d in KCMultiDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd5c62c)
    at /home/kde-devel/kde/build/kdelibs/kutils/kcmultidialog.moc:77
#58 0x00b9badc in ConfigureDialog::qt_metacall (this=0x8abc200, 
    _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbfd5c62c)
    at /home/kde-devel/kde/build/kdepim/kmail/configuredialog.moc:67
#59 0x0026ae61 in QMetaObject::activate (sender=0x8b47700, 
    from_signal_index=4, to_signal_index=4, argv=0xbfd5c62c)
    at kernel/qobject.cpp:3007
#60 0x0026b2e3 in QMetaObject::activate (sender=0x8b47700, m=0x304ad8, 
    local_signal_index=0, argv=0xbfd5c62c) at kernel/qobject.cpp:3080
#61 0x0027210c in QSignalMapper::mapped (this=0x8b47700, _t1=4)
    at .moc/debug-shared/moc_qsignalmapper.cpp:93
#62 0x002721ef in QSignalMapper::map (this=0x8b47700, sender=0x8b1a908)
    at kernel/qsignalmapper.cpp:277
#63 0x002722f0 in QSignalMapper::map (this=0x8b47700)
    at kernel/qsignalmapper.cpp:268
#64 0x00272453 in QSignalMapper::qt_metacall (this=0x8b47700, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd5c79c)
    at .moc/debug-shared/moc_qsignalmapper.cpp:80
#65 0x0026ae61 in QMetaObject::activate (sender=0x8b1a908, 
    from_signal_index=29, to_signal_index=30, argv=0xbfd5c79c)
    at kernel/qobject.cpp:3007
#66 0x0026b06a in QMetaObject::activate (sender=0x8b1a908, m=0x3d83624, 
    from_local_signal_index=2, to_local_signal_index=3, argv=0xbfd5c79c)
    at kernel/qobject.cpp:3100
#67 0x03ca4960 in QAbstractButton::clicked (this=0x8b1a908, _t1=false)
    at .moc/debug-shared/moc_qabstractbutton.cpp:185
#68 0x039f1908 in QAbstractButtonPrivate::emitClicked (this=0x8ab3490)
    at widgets/qabstractbutton.cpp:543
#69 0x039f2b27 in QAbstractButtonPrivate::click (this=0x8ab3490)
    at widgets/qabstractbutton.cpp:536
#70 0x039f2dcc in QAbstractButton::mouseReleaseEvent (this=0x8b1a908, 
    e=0xbfd5cfc4) at widgets/qabstractbutton.cpp:1112
#71 0x036cea43 in QWidget::event (this=0x8b1a908, event=0xbfd5cfc4)
    at kernel/qwidget.cpp:6927
#72 0x039f18a2 in QAbstractButton::event (this=0x8b1a908, e=0xbfd5cfc4)
    at widgets/qabstractbutton.cpp:1074
#73 0x03aa6161 in QPushButton::event (this=0x8b1a908, e=0xbfd5cfc4)
    at widgets/qpushbutton.cpp:658
#74 0x0366ed07 in QApplicationPrivate::notify_helper (this=0x8176258, 
    receiver=0x8b1a908, e=0xbfd5cfc4) at kernel/qapplication.cpp:3772
#75 0x0366f88c in QApplication::notify (this=0xbfd5d82c, receiver=0x8b1a908, 
    e=0xbfd5cfc4) at kernel/qapplication.cpp:3501
#76 0x07454639 in KApplication::notify (this=0xbfd5d82c, receiver=0x8b1a908, 
    event=0xbfd5cfc4)
    at /home/kde-devel/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#77 0x00256bb2 in QCoreApplication::notifyInternal (this=0xbfd5d82c, 
    receiver=0x8b1a908, event=0xbfd5cfc4) at kernel/qcoreapplication.cpp:583
#78 0x0367b165 in QCoreApplication::sendSpontaneousEvent (receiver=0x8b1a908, 
    event=0xbfd5cfc4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#79 0x03675cb6 in QApplicationPrivate::sendMouseEvent (receiver=0x8b1a908, 
    event=0xbfd5cfc4, alienWidget=0x8b1a908, nativeWidget=0x8abc200, 
    buttonDown=0x3d91280, lastMouseReceiver=@0x3d91284)
    at kernel/qapplication.cpp:2766
#80 0x036eaabe in QETWidget::translateMouseEvent (this=0x8abc200, 
    event=0xbfd5d4e0) at kernel/qapplication_x11.cpp:4133
#81 0x036e8512 in QApplication::x11ProcessEvent (this=0xbfd5d82c, 
    event=0xbfd5d4e0) at kernel/qapplication_x11.cpp:3133
#82 0x03717560 in x11EventSourceDispatch (s=0x8178fd0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#83 0x0704b1ac in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#84 0x0704e5ef in ?? () from /lib/libglib-2.0.so.0
#85 0x0704eb55 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#86 0x00285be4 in QEventDispatcherGlib::processEvents (this=0x8172e60, 
    flags=@0xbfd5d688) at kernel/qeventdispatcher_glib.cpp:325
#87 0x03716db4 in QGuiEventDispatcherGlib::processEvents (this=0x8172e60, 
    flags=@0xbfd5d6b8) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x0025370e in QEventLoop::processEvents (this=0xbfd5d730, 
    flags=@0xbfd5d6f4) at kernel/qeventloop.cpp:149
#89 0x0025394d in QEventLoop::exec (this=0xbfd5d730, flags=@0xbfd5d738)
    at kernel/qeventloop.cpp:196
#90 0x0025739b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#91 0x0366ea04 in QApplication::exec () at kernel/qapplication.cpp:3304
#92 0x0804b05c in main (argc=3, argv=0xbfd5d904)
    at /home/kde-devel/kde/src/kdepim/kmail/main.cpp:146
#0  0x00110402 in __kernel_vsyscall ()
Comment 1 Christophe Marin 2008-07-14 15:44:48 UTC
Ican't reproduce this crash using trunk (rev 832282). Did you run kbuildsycoca4 after installing kmail ?
Comment 2 mps 2008-07-14 16:11:37 UTC
Hi, no I didn't.

I compile kde4 following the instructions on 
http://techbase.kde.org/User:Dhaumann/Compiling_KDE4 . (I'm running Fedora 8 
FWIW).

I then log into a kde4 desktop with a desktop session with parameters as 
follows:

Type=XSession
Exec=$HOME/kde/kde4/bin/startkde

At what point (and why) would I run kbuildsyscoca4?

thanks
M.
Comment 3 Christophe Marin 2008-07-14 17:02:25 UTC
According to this page, Kate is not be installed. 

Did you checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk ?


@Thomas : wouldn't it make more sense to replace kate (lives in kdesdk) with kwrite (lives in kdebase) by default ?
Comment 4 Thomas McGuire 2008-07-14 17:11:21 UTC
I can't reproduce the external editor crash with trunk.
All other backtraces seem to be the same problem, it is the same backtrace as in bug 163228.
Comment 5 Thomas McGuire 2008-07-14 17:13:05 UTC
It doesn't matter if Kate is installed or not, for the crash, setting to external editor to something non-existent doesn't change anything for me, still no crash.
And yes, good idea, I'll change the default to kwrite.
Comment 6 Thomas McGuire 2008-07-14 17:28:25 UTC
SVN commit 832399 by tmcguire:

Use kwrite instead of kate for the external editor by default,
it is more likely to be installed by default as kwrite is in kdebase
and kate is in kdesdk

CCBUG: 166523


 M  +1 -1      kmail.kcfg  


WebSVN link: http://websvn.kde.org/?view=rev&revision=832399
Comment 7 Christophe Marin 2008-07-30 11:40:18 UTC
*** Bug 167714 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2009-01-18 17:23:44 UTC
I think this bug is fixed now (it was caused by setUpdatesEnabled()), so closing this.