[Bug 188219] New: kmail crash when compact folder, mark all messages as read, then choose a new message

martinrs at softhome.net martinrs at softhome.net
Fri Mar 27 01:37:31 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=188219

           Summary: kmail crash when compact folder, mark all messages as
                    read, then choose a new message
           Product: kmail
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: martinrs at softhome.net


Version:            (using KDE 4.2.1)
Compiler:          gcc 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) 
OS:                Linux
Installed from:    Fedora RPMs

Running Fedora 10 x64 with kde-4.2.1, qt-4.4.3, kmail 1.11.1 from rpm.

In kmail, if I do the following,

  left-click on a mbox folder -> compact folder
  left-click on same folder -> Mark all messages read

none of the new messages are marked as read. If I click on a message in the
list, it crashes with the following bug report below.

I also tried deleting .folder.index, .folder.index.ids and let kmail re-create
it. the same problem.

Kmail also complains about utime(FILEPATH,0) failing at startup. I wonder if it
has anything to do with NFS-mounted Mail directory.

The crash is always consistent with any mbox file, and the smallest mbox file I
tried has only one read and one unread message, total 4kbytes.

Added info: Even if the folder has only one read message, if I do compact
folder, then choose the message, it crashes.

Application: KMail (kmail), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x0000003b7aaa7f50 in __nanosleep_nocancel () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fc06dd3b800 (LWP 32761))]

Thread 1 (Thread 0x7fc06dd3b800 (LWP 32761)):
[KCrash Handler]
#5  KMail::MessageListView::Widget::getSelectionStats (this=0x2f1dfb0,
selectedSernums=@0x7fff75d9ad00, selectedVisibleSernums=@0x7fff75d9acf0,
allSelectedBelongToSameThread=0x7fff75d9ad1f, 
    includeCollapsedChildren=<value optimized out>) at
/usr/src/debug/kdepim-4.2.1/kmail/messagelistview/widget.cpp:579
#6  0x0000003b97d8429e in KMMainWidget::updateMessageActions (this=0x2661470)
at /usr/src/debug/kdepim-4.2.1/kmail/kmmainwidget.cpp:4288
#7  0x0000003b97d9b175 in KMMainWidget::qt_metacall (this=0x2661470,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff75d9ae20)
    at
/usr/src/debug/kdepim-4.2.1/x86_64-redhat-linux-gnu/kmail/kmmainwidget.moc:363
#8  0x0000003b7a556764 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
#9  0x0000003b7a551073 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x0000003b87f828dd in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#11 0x0000003b87f8a68a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#12 0x0000003b89004f3b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#13 0x0000003b7a542391 in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#14 0x0000003b7a56e0d6 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003b7a56a83d in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003b7d23779b in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#17 0x0000003b7d23af6d in ?? () from /lib64/libglib-2.0.so.0
#18 0x0000003b7d23b12b in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#19 0x0000003b7a56a79f in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#20 0x0000003b8801328f in ?? () from /usr/lib64/libQtGui.so.4
#21 0x0000003b7a540cb2 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#22 0x0000003b7a540e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#23 0x0000003b7a5432ed in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#24 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdepim-4.2.1/kmail/main.cpp:146

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list