Bug 194960

Summary: kmail crash when I've tryed to move mails from folder created by search filter to index subfolder
Product: [Unmaintained] kmail Reporter: Nikita Bige <big-nikita>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikita Bige 2009-06-02 10:42:16 UTC
Application that crashed: kmail
Version of the application: 1.11.90
KDE Version: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
Qt Version: 4.5.1
Operating System: Linux 2.6.27.24-170.2.68.fc10.x86_64 x86_64
Distribution: "Fedora release 10 (Cambridge)"

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  KMail::MessageListView::Widget::getSelectionStats (this=0x1453410, selectedSernums=@0x7fff34225170, selectedVisibleSernums=@0x7fff34225160, allSelectedBelongToSameThread=0x7fff3422518f, 
    includeCollapsedChildren=<value optimized out>) at /usr/src/debug/kdepim-4.2.85/kmail/messagelistview/widget.cpp:579
#6  0x0000003f169b96ec in KMMainWidget::updateMessageActions (this=0x198d750) at /usr/src/debug/kdepim-4.2.85/kmail/kmmainwidget.cpp:4283
#7  0x0000003f169d114d in KMMainWidget::qt_metacall (this=0x198d750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff34225290)
    at /usr/src/debug/kdepim-4.2.85/x86_64-redhat-linux-gnu/kmail/kmmainwidget.moc:366
#8  0x0000003c4e159422 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#9  0x0000003c4e153703 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x0000003c4f98f46d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#11 0x0000003c4f9976ea in QApplication::notify () from /usr/lib64/libQtGui.so.4
#12 0x0000003f0e01280b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#13 0x0000003c4e1437dc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#14 0x0000003c4e170a09 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003c4e16d11d in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00000030ce8377bb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x00000030ce83af8d in ?? () from /lib64/libglib-2.0.so.0
#18 0x00000030ce83b14b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x0000003c4e16d07f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#20 0x0000003c4fa2675f in ?? () from /usr/lib64/libQtGui.so.4
#21 0x0000003c4e142082 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#22 0x0000003c4e14244d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#23 0x0000003c4e144714 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#24 0x0000000000402e4b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.85/kmail/main.cpp:146
Comment 1 Dario Andres 2009-06-02 13:10:49 UTC
The backtrace looks related/duplicate to bug 188219 / bug 186940. I don't know if the situations could match. Thanks
Comment 2 Szymon Stefanek 2009-06-11 04:31:17 UTC
SVN commit 980061 by stefanek:

Possibly fix the issues with the folder being closed by
the compaction jobs (and thus various asserts triggering
in the StorageModel code).

Not totally sure that all the bugs I'm closing had exactly
the same cause (though the backtrace is exactly the same).
If you still can reproduce the bug please reopen ONE of
these.

BUG: 186940
BUG: 188219
BUG: 194960
BUG: 195893




 M  +4 -0      folderstorage.h  
 M  +1 -0      kmfolder.cpp  
 M  +4 -0      kmfolder.h  
 M  +1 -0      kmfoldermaildir.cpp  
 M  +3 -1      kmfoldermbox.cpp  
 M  +2 -0      messagelistview/core/model.cpp  
 M  +1 -0      messagelistview/core/view.cpp  
 M  +17 -1     messagelistview/storagemodel.cpp  
 M  +5 -0      messagelistview/storagemodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=980061