Bug 251876 - kmail is crashing when setting a standard Templates
Summary: kmail is crashing when setting a standard Templates
Status: RESOLVED DUPLICATE of bug 261645
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 02:53 UTC by Balcaen John
Modified: 2011-04-17 23:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.04 KB, text/plain)
2010-10-02 23:18 UTC, Anssi Hannula
Details
Crash log of kmail crash when switching from short folder list to long folder list (15.75 KB, text/plain)
2010-12-18 12:19 UTC, Balcaen John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balcaen John 2010-09-21 02:53:12 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.68 (4.6 >= 20100912)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
- What I was doing when the application crashed:
I was doing some change in my Standard Templates « Reply to Sender » & after clicking on the Apply button kmail crashed.
Only one change was added in Standard Templates

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fc873299720 (LWP 17564))]

Thread 2 (Thread 0x7fc857154710 (LWP 17570)):
#0  0x00007fc86ebf90bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc8663428d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc86ebf4a5d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fc8705a215d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc873299720 (LWP 17564)):
[KCrash Handler]
#6  0x00007fc8704f8925 in raise () from /lib64/libc.so.6
#7  0x00007fc8704f9f40 in abort () from /lib64/libc.so.6
#8  0x00007fc870db95d4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007fc870db979d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fc870f09d88 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff3a35eb10)
    at global/qglobal.cpp:2305
#10 0x00007fc870db9935 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x00007fc86c616c9c in MessageList::Core::ModelPrivate::applyFilterToSubtree (this=0xe440d0, item=0x8a8c1f0, parentIndex=...)
    at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/model.cpp:370
#12 0x00007fc86c61770f in MessageList::Core::Model::setFilter (this=0xe9ed10, filter=<value optimized out>) at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/model.cpp:360
#13 0x00007fc86c640aa4 in MessageList::Core::Widget::statusSelected (this=<value optimized out>, index=<value optimized out>)
    at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/widgetbase.cpp:1048
#14 0x00007fc86c603a10 in MessageList::Core::Widget::qt_metacall (this=0xeb6030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a35ee80)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widgetbase.cpp:128
#15 0x00007fc86c603cf0 in MessageList::Widget::qt_metacall (this=0xeb6030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a35ee80)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widget.cpp:77
#16 0x00007fc870ebefbf in QMetaObject::activate (sender=0xeb0550, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3a35ee80) at kernel/qobject.cpp:3272
#17 0x00007fc871760061 in QComboBox::currentIndexChanged (this=<value optimized out>, _t1=0) at .moc/release-shared/moc_qcombobox.cpp:302
#18 0x00007fc8717600cc in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0xe77a40, index=...) at widgets/qcombobox.cpp:1264
#19 0x00007fc87176022f in QComboBoxPrivate::setCurrentIndex (this=0xe77a40, mi=<value optimized out>) at widgets/qcombobox.cpp:2022
#20 0x00007fc87176035c in QComboBox::setCurrentIndex (this=<value optimized out>, index=0) at widgets/qcombobox.cpp:2005
#21 0x00007fc871764429 in QComboBox::qt_metacall (this=0xeb0550, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fff3a35f0e0) at .moc/release-shared/moc_qcombobox.cpp:199
#22 0x00007fc872cf6795 in KComboBox::qt_metacall (this=0xeb0550, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a35f0e0)
    at /usr/src/debug/kdelibs-4.5.68svn1174542/build/kdeui/kcombobox.moc:106
#23 0x00007fc870ebefbf in QMetaObject::activate (sender=0xe98e60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3a35f0e0) at kernel/qobject.cpp:3272
#24 0x00007fc870f06c34 in QAbstractItemModel::rowsInserted (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#25 0x00007fc870ea56aa in QAbstractItemModel::endInsertRows (this=0xe98e60) at kernel/qabstractitemmodel.cpp:2413
#26 0x00007fc87192de33 in QStandardItemModelPrivate::rowsInserted (this=0xe97370, parent=<value optimized out>, row=<value optimized out>, count=1) at itemviews/qstandarditemmodel.cpp:558
#27 0x00007fc87192f014 in QStandardItemPrivate::insertRows (this=0xec2370, row=0, count=1, items=...) at itemviews/qstandarditemmodel.cpp:433
#28 0x00007fc87176347c in insertRow (this=<value optimized out>, index=0, icon=..., text=<value optimized out>, userData=...) at ../../src/gui/itemviews/qstandarditemmodel.h:438
#29 QComboBox::insertItem (this=<value optimized out>, index=0, icon=..., text=<value optimized out>, userData=...) at widgets/qcombobox.cpp:2115
#30 0x00007fc86c640f0b in MessageList::Core::Widget::populateStatusFilterCombo (this=0xeb6030) at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/widgetbase.cpp:232
#31 0x00007fc86c603927 in MessageList::Core::Widget::qt_metacall (this=0xeb6030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a35fa90)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widgetbase.cpp:118
#32 0x00007fc86c603cf0 in MessageList::Widget::qt_metacall (this=0xeb6030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a35fa90)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widget.cpp:77
#33 0x00007fc870ebefbf in QMetaObject::activate (sender=0xe9c250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#34 0x00007fc86cbceddf in MessageCore::TagListMonitor::triggerUpdate () at /usr/src/debug/kdepim-4.5.68svn1174542/messagecore/taglistmonitor.cpp:39
#35 0x00007fc871f487e7 in AppearancePageMessageTagTab::save (this=0x3854e20) at /usr/src/debug/kdepim-4.5.68svn1174542/kmail/configuredialog.cpp:2006
#36 0x00007fc871f57e79 in ConfigModuleWithTabs::save (this=0xd63c90) at /usr/src/debug/kdepim-4.5.68svn1174542/kmail/configuredialog_p.cpp:73
#37 0x00007fc86b5d6dcd in KCModuleProxy::save (this=0x6613810) at /usr/src/debug/kdelibs-4.5.68svn1174542/kutils/kcmoduleproxy.cpp:279
#38 0x00007fc86b5d49e0 in KCMultiDialogPrivate::apply (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.68svn1174542/kutils/kcmultidialog.cpp:311
#39 0x00007fc871f3bb29 in ConfigureDialog::slotApply (this=0x9f8270) at /usr/src/debug/kdepim-4.5.68svn1174542/kmail/configuredialog.cpp:246
#40 0x00007fc871f3bb8c in ConfigureDialog::qt_metacall (this=0x9f8270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/kmail/configuredialog.moc:78
#41 0x00007fc870ebefbf in QMetaObject::activate (sender=0x9f8270, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#42 0x00007fc872bcb3a9 in KDialog::slotButtonClicked (this=0x9f8270, button=8) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/dialogs/kdialog.cpp:875
#43 0x00007fc872bcba07 in KDialog::qt_metacall (this=0x9f8270, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff3a360050) at /usr/src/debug/kdelibs-4.5.68svn1174542/build/kdeui/kdialog.moc:190
#44 0x00007fc872c8c1f0 in KPageDialog::qt_metacall (this=0x9f8270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a360050)
    at /usr/src/debug/kdelibs-4.5.68svn1174542/build/kdeui/kpagedialog.moc:70
#45 0x00007fc86b5d4ca5 in KCMultiDialog::qt_metacall (this=0x9f8270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a360050)
    at /usr/src/debug/kdelibs-4.5.68svn1174542/build/kutils/kcmultidialog.moc:86
#46 0x00007fc871f3bb58 in ConfigureDialog::qt_metacall (this=0x9f8270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/kmail/configuredialog.moc:72
#47 0x00007fc870ebefbf in QMetaObject::activate (sender=0x2a71848, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3a360050) at kernel/qobject.cpp:3272
#48 0x00007fc870ec3a3e in QSignalMapper::mapped (this=<value optimized out>, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#49 0x00007fc870ec3b46 in QSignalMapper::map (this=0x2a71848, sender=0x3835930) at kernel/qsignalmapper.cpp:266
#50 0x00007fc870ec4280 in QSignalMapper::qt_metacall (this=0x2a71848, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff3a3601b0) at .moc/release-shared/moc_qsignalmapper.cpp:87
#51 0x00007fc870ebefbf in QMetaObject::activate (sender=0x3835930, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3a3601b0) at kernel/qobject.cpp:3272
#52 0x00007fc8719fe642 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#53 0x00007fc87174614b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#54 0x00007fc87174771b in QAbstractButtonPrivate::click (this=0x9f9480) at widgets/qabstractbutton.cpp:539
#55 0x00007fc87174798c in QAbstractButton::mouseReleaseEvent (this=0x3835930, e=0x7fff3a360b50) at widgets/qabstractbutton.cpp:1121
#56 0x00007fc8713e5202 in QWidget::event (this=0x3835930, event=0x7fff3a360b50) at kernel/qwidget.cpp:8158
#57 0x00007fc8713936e4 in QApplicationPrivate::notify_helper (this=0x9fd110, receiver=0x3835930, e=0x7fff3a360b50) at kernel/qapplication.cpp:4396
#58 0x00007fc8713989da in QApplication::notify (this=<value optimized out>, receiver=0x3835930, e=0x7fff3a360b50) at kernel/qapplication.cpp:3959
#59 0x00007fc872c5e766 in KApplication::notify (this=0x7fff3a361910, receiver=0x3835930, event=0x7fff3a360b50) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/kernel/kapplication.cpp:310
#60 0x00007fc870eaa73c in QCoreApplication::notifyInternal (this=0x7fff3a361910, receiver=0x3835930, event=0x7fff3a360b50) at kernel/qcoreapplication.cpp:732
#61 0x00007fc8713946e5 in sendEvent (receiver=0x3835930, event=0x7fff3a360b50, alienWidget=0x3835930, nativeWidget=0xc321c90, buttonDown=0x7fc871e65ed8, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#62 QApplicationPrivate::sendMouseEvent (receiver=0x3835930, event=0x7fff3a360b50, alienWidget=0x3835930, nativeWidget=0xc321c90, buttonDown=0x7fc871e65ed8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3058
#63 0x00007fc871411eb8 in QETWidget::translateMouseEvent (this=0xc321c90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#64 0x00007fc871410609 in QApplication::x11ProcessEvent (this=0x7fff3a361910, event=0x7fff3a3614a0) at kernel/qapplication_x11.cpp:3536
#65 0x00007fc871437ab2 in x11EventSourceDispatch (s=0xa00ca0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0x00007fc868f1f193 in g_main_dispatch (context=0x9ff920) at gmain.c:2149
#67 g_main_context_dispatch (context=0x9ff920) at gmain.c:2702
#68 0x00007fc868f1f970 in g_main_context_iterate (context=0x9ff920, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#69 0x00007fc868f1fc0d in g_main_context_iteration (context=0x9ff920, may_block=1) at gmain.c:2843
#70 0x00007fc870ed585f in QEventDispatcherGlib::processEvents (this=0x9ba4e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#71 0x00007fc87143774e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007fc870ea9ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007fc870ea9d1c in QEventLoop::exec (this=0x7fff3a3617b0, flags=...) at kernel/qeventloop.cpp:201
#74 0x00007fc870eae19b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#75 0x0000000000402e66 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.5.68svn1174542/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Anssi Hannula 2010-10-02 23:18:02 UTC
Created attachment 52178 [details]
New crash information added by DrKonqi

kmail (2.0.89) on KDE Platform 4.5.68 (4.6 >= 20100912) using Qt 4.7.0

- What I was doing when the application crashed:

I changed a setting ('long' folder list to a 'compact' one, or something like that), and it crashed after ok'ing the new settings. Messages were being fetched in the background at the same time, which I guess somehow caused the crash.

-- Backtrace (Reduced):
#11 0x00007ff1af32dc9c in MessageList::Core::ModelPrivate::applyFilterToSubtree (this=0x1658400, item=0x197cfef0, parentIndex=...)
    at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/model.cpp:370
#12 0x00007ff1af32e70f in MessageList::Core::Model::setFilter (this=0x15a3610, filter=<value optimized out>) at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/model.cpp:360
#13 0x00007ff1af357aa4 in MessageList::Core::Widget::statusSelected (this=<value optimized out>, index=<value optimized out>)
    at /usr/src/debug/kdepim-4.5.68svn1174542/messagelist/core/widgetbase.cpp:1048
#14 0x00007ff1af31aa10 in MessageList::Core::Widget::qt_metacall (this=0x1671f00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffadf1a370)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widgetbase.cpp:128
#15 0x00007ff1af31acf0 in MessageList::Widget::qt_metacall (this=0x1671f00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffadf1a370)
    at /usr/src/debug/kdepim-4.5.68svn1174542/build/messagelist/moc_widget.cpp:77
Comment 2 Tobias Koenig 2010-12-11 23:24:43 UTC
Hej,

can you still reproduce it with a current version (4.6beta)?
Can you give further information about the state of kmail at the point when it crashed? Is any folder selected? Is any message selected? Is any filter in the message list active?

Ciao,
Tobias
Comment 3 Balcaen John 2010-12-18 12:19:58 UTC
Created attachment 55041 [details]
Crash log of kmail crash when switching from short folder list to long folder list

I can't reproduce it anymore here with kdepim 4.6 beta2 using the initial crash method aka  change in standard template but it's possible to reproduce it with  anssi's method:

switching from short folder list to long folder list,

I've got an imap folder selected,there's no message selected, there's no filter active (the filtering is done directly on the server via gmail's rule for this imap account).
I reproduced also this crash even when no folder was selected by simply changing directly the layout after kmail start
Switching from long folder list to short does not cause crash here (with a folder selected or not )


The crash is attached again (just in case)
Comment 4 Sergio Martins 2011-04-17 23:35:52 UTC

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