kmail crashes in MessageListView::StorageModel::msgBase() searching an invalid folder

Bug #332996 reported by jfjellstad
2
Affects Status Importance Assigned to Milestone
KDE PIM
Unknown
High
kdepim (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: kmail

Description: Ubuntu 8.10
Release: 8.10
Kmail: 4:4.2.0-0ubuntu1~intrepid2 (from backports)

Running kmail against a local imap.

Created a search folder, searched, then changed the criteria for search for the search folder. Every time I went into that particular search folder, Kontact (kmail) would crash. No other folders (search or otherwise) had problems. Was unable to delete the search folder, since just selecting it would crash kontact.

Fixed it by going into ~/.kde/share/apps/search and deleting everything to do with that search folder (unfortunately, I didn't back up the folder itself for submission).

Attaching the core dump

Revision history for this message
In , Mschiff-j (mschiff-j) wrote :
Download full text (6.5 KiB)

Version: 4.1.96 (using Devel)
OS: Linux
Installed from: Compiled sources

I had a crash with 4.2.RC1 when switching from mail to calendar.

This is the BT:
Anwendung: Kontact (kontact), Signal SIGABRT

Thread 1 (Thread 0xb49fc6c0 (LWP 19426)):
[KCrash Handler]
#6 0xb7f3d430 in __kernel_vsyscall ()
#7 0xb58a6880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb58a8248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb5b4c795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5b4c872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5b4c915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb139af3d in KMail::MessageListView::Core::View::selectionAsMessageItemList (this=0x8c70c80, includeCollapsedChildren=true) at /build/buildd/kdepim-4.1.96/kmail/messagelistview/core/view.cpp:809
#13 0xb1341d14 in KMail::MessageListView::Widget::selectionAsMessageItemList (this=0x8c5ef58, includeCollapsedChildren=<value optimized out>)
    at /build/buildd/kdepim-4.1.96/kmail/messagelistview/widget.cpp:334
#14 0xb134401d in KMail::MessageListView::Widget::getSelectionStats (this=0x8c5ef58, selectedSernums=@0xbfa3d3f8, selectedVisibleSernums=@0xbfa3d3f4, allSelectedBelongToSameThread=0xbfa3d3ff,
    includeCollapsedChildren=<value optimized out>) at /build/buildd/kdepim-4.1.96/kmail/messagelistview/widget.cpp:568
#15 0xb133a586 in KMail::MessageListView::Pane::getSelectionStats (this=0x8c633a0, selectedSernums=@0xbfa3d3f8, selectedVisibleSernums=@0xbfa3d3f4, allSelectedBelongToSameThread=0xbfa3d3ff,
    includeCollapsedChildren=<value optimized out>) at /build/buildd/kdepim-4.1.96/kmail/messagelistview/pane.cpp:582
#16 0xb11df447 in KMMainWidget::updateMessageActions (this=0x8c5c410) at /build/buildd/kdepim-4.1.96/kmail/kmmainwidget.cpp:4326
#17 0xb11e09eb in KMMainWidget::initializeFilterActions (this=0x8c5c410) at /build/buildd/kdepim-4.1.96/kmail/kmmainwidget.cpp:4848
#18 0xb161e7c6 in KMailPart::guiActivateEvent (this=0x831f7b0, e=0xbfa3d958) at /build/buildd/kdepim-4.1.96/kmail/kmail_part.cpp:181
#19 0xb707de04 in KParts::Part::customEvent (this=0x831f7b0, ev=0xbfa3d958) at /build/buildd/kde4libs-4.1.96/kparts/part.cpp:321
#20 0xb5c547d7 in QObject::event () from /usr/lib/libQtCore.so.4
#21 0xb610c8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0xb611472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0xb6c2d04d in KApplication::notify (this=0xbfa3f078, receiver=0x831f7b0, event=0xbfa3d958) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#24 0xb5c44e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0xb708a20a in KParts::MainWindow::createGUI (this=0x8095808, part=0x8e2be70) at /usr/include/qt4/QtCore/qcoreapplication.h:209
#26 0xb77cae2e in Kontact::MainWindow::selectPlugin (this=0x8095808, plugin=0x8391040) at /build/buildd/kdepim-4.1.96/kontact/src/mainwindow.cpp:822
#27 0xb77cf464 in Kontact::MainWindow::qt_metacall (this=0x8095808, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa3dc9c)
    at /build/buildd/kdepim-4.1.96/obj-i486-linux-gnu/kontact/src/mainwindow.moc:106
#28 0xb5c59a60 in QMetaObject::activate () from /usr/...

Read more...

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 182159 has been marked as a duplicate of this bug. ***

Revision history for this message
jfjellstad (john-ubuntu-fjellstad) wrote :
Changed in kdepim:
importance: Undecided → Low
status: New → Confirmed
Changed in kdepim:
status: Unknown → New
Revision history for this message
In , Jtamate (jtamate) wrote :

Do you use Aggregate mode "Activity by Date, Flat"? Just to know if it is
related to bug 186940.

Revision history for this message
In , Rodney-baker (rodney-baker) wrote :

I use "Standard Mailing List" for mailing list folders (where my crash reported on bug 182159 occured) and "Flat Date View" otherwise.

Revision history for this message
In , Rodney-baker (rodney-baker) wrote :

Incidentally, I'm confused. How is this bug related to 182159 (a bug I submitted that was then marked as a duplicate of this one)? 182159 occurred when deleting a non-contiguous block of messages from an IMAP folder. I didn't even have Kontact running at the time - just KMail...

Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 185544 has been marked as a duplicate of this bug. ***

summary: - kmail crashes with invalid search folder
+ kmail crashes in MessageListView::StorageModel::msgBase() searching an
+ invalid folder
Changed in kdepim (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Cgiboudeaux (cgiboudeaux) wrote :

*** Bug 230079 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Björn Ruberg (bjoern-ruberg-wegener) wrote :

*** Bug 184615 has been marked as a duplicate of this bug. ***

Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of KDE bug report, please refer there for updates. Thanks.

Changed in kdepim (Ubuntu):
status: Triaged → Invalid
Changed in kdepim:
importance: Unknown → High
Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

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

Changed in kdepim:
status: New → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.