Application that crashed: kmail Version of the application: 1.12.90 KDE Version: 4.3.61 (KDE 4.3.61 (KDE 4.4 >= 20090717)) Qt Version: 4.5.2 Operating System: Linux 2.6.27.25-0.1-pae i686 Distribution: "openSUSE 11.1 (i586)" What I was doing when the application crashed: While testing bug 138445 On a new testuser I start kmail, create a new mailfolder with type "mbox". Stopping kmail and changing the permission of the mbox file to read-only. Restarting kmail and clicking on that mbox-folder crashes kmail. -- Backtrace: Application: KMail (kmail), signal: Aborted [KCrash Handler] #5 0xffffe430 in __kernel_vsyscall () #6 0xb5df1990 in raise () from /lib/libc.so.6 #7 0xb5df32c8 in abort () from /lib/libc.so.6 #8 0xb6b9d2b5 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4 #9 0xb6b9d3a1 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #10 0xb6b9d485 in qt_assert(char const*, char const*, int) () from /usr/lib/libQtCore.so.4 #11 0xb77d0e5e in KMFolderIndex::addToSerialCache (this=0x81d6f18) at /home/KDE4/source/kdepim/kmail/kmfolderindex_common.cpp:201 #12 0xb78d4c34 in StorageModel (this=0x854ead8, folder=0x81d7c40, parent=0x0) at /home/KDE4/source/kdepim/kmail/messagelistview/storagemodel.cpp:70 #13 0xb78d9745 in KMail::MessageListView::Widget::setFolder (this=0x81eef18, fld=0x81d7c40, icon=@0xbf81da08, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected) at /home/KDE4/source/kdepim/kmail/messagelistview/widget.cpp:114 #14 0xb78d1605 in KMail::MessageListView::Pane::setCurrentFolder (this=0x81ec598, fld=0x81d7c40, preferEmptyTab=false, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected, overrideLabel=@0xbf81da50) at /home/KDE4/source/kdepim/kmail/messagelistview/pane.cpp:227 #15 0xb77bf3f3 in KMMainWidget::folderSelected (this=0x81ebf00, aFolder=0x81d7c40, forceJumpToUnread=false, preferNewTabForOpening=6) at /home/KDE4/source/kdepim/kmail/kmmainwidget.cpp:3032 #16 0xb77bf514 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x81ebf00, fld=0x81d7c40, middleClick=<value optimized out>) at /home/KDE4/source/kdepim/kmail/kmmainwidget.cpp:2848 #17 0xb77cb7d6 in KMMainWidget::qt_metacall (this=0x81ebf00, _c=QMetaObject::InvokeMetaMethod, _id=161, _a=0xbf81db88) at /home/KDE4/build/kdepim/kmail/kmmainwidget.moc:509 #18 0xb6caf788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #19 0xb6cb0412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #20 0xb75adcaf in KMail::FolderViewManager::folderActivated (this=0x8112068, _t1=0x81d7c40, _t2=false) at /home/KDE4/build/kdepim/kmail/folderview.moc:89 #21 0xb75b0894 in KMail::FolderViewManager::viewFolderActivated (this=0x8112068, view=0x82362a0, fld=0x81d7c40, middleButton=<value optimized out>) at /home/KDE4/source/kdepim/kmail/folderview.cpp:149 #22 0xb75b5536 in KMail::FolderView::activateItemInternal (this=0x82362a0, fvi=0x84dd020, keepSelection=false, notifyManager=true, middleButton=<value optimized out>) at /home/KDE4/source/kdepim/kmail/folderview.cpp:1007 #23 0xb75ad833 in KMail::FolderView::activateItem (this=0x82362a0, fvi=0x84dd020, keepSelection=<value optimized out>, middleButton=<value optimized out>) at /home/KDE4/source/kdepim/kmail/folderview.cpp:984 #24 0xb75b10ca in KMail::FolderView::slotItemClicked (this=0x82362a0, item=0x84dd028, column=0) at /home/KDE4/source/kdepim/kmail/folderview.cpp:527 #25 0xb75b899b in KMail::FolderView::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf81dd88) at /home/KDE4/build/kdepim/kmail/folderview.moc:207 #26 0xb75be6aa in KMail::MainFolderView::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=141, _a=0xbf81dd88) at /home/KDE4/build/kdepim/kmail/mainfolderview.moc:64 #27 0xb6caf788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #28 0xb6cb0412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #29 0xb6718259 in QTreeWidget::itemClicked(QTreeWidgetItem*, int) () from /usr/lib/libQtGui.so.4 #30 0xb671c5b5 in ?? () from /usr/lib/libQtGui.so.4 #31 0xb6725941 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4 #32 0xb73ba8ea in KPIM::TreeWidget::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf81df7c) at /media/disk/KDE4/build/kdepim/libkdepim/moc_treewidget.cpp:68 #33 0xb74154fa in KPIM::FolderTreeWidget::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf81df7c) at /media/disk/KDE4/build/kdepim/libkdepim/foldertreewidget.moc:68 #34 0xb75b883a in KMail::FolderView::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf81df7c) at /home/KDE4/build/kdepim/kmail/folderview.moc:188 #35 0xb75be6aa in KMail::MainFolderView::qt_metacall (this=0x82362a0, _c=QMetaObject::InvokeMetaMethod, _id=111, _a=0xbf81df7c) at /home/KDE4/build/kdepim/kmail/mainfolderview.moc:64 #36 0xb6caf788 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4 #37 0xb6cb0412 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #38 0xb6699f53 in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4 #39 0xb66a7865 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #40 0xb66ea96c in QTreeView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #41 0xb75b5651 in KMail::FolderView::mouseReleaseEvent (this=0x82362a0, e=0xbf81e8c8) at /home/KDE4/source/kdepim/kmail/folderview.cpp:927 #42 0xb61c63d3 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #43 0xb6557aa3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #44 0xb65f7d5f in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #45 0xb66aa4f7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #46 0xb66e5136 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #47 0xb65fa365 in ?? () from /usr/lib/libQtGui.so.4 #48 0xb6c9937a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #49 0xb616f7da in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #50 0xb6178461 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #51 0xb7ee50b1 in KApplication::notify (this=0xbf8202b8, receiver=0x84a4688, event=0xbf81e8c8) at /media/disk/KDE4/source/kdelibs/kdeui/kernel/kapplication.cpp:302 #52 0xb6c9a16b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #53 0xb61774ce in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4 #54 0xb61e76e6 in ?? () from /usr/lib/libQtGui.so.4 #55 0xb61e6ab5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #56 0xb62105ca in ?? () from /usr/lib/libQtGui.so.4 #57 0xb43b49c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #58 0xb43b8083 in ?? () from /usr/lib/libglib-2.0.so.0 #59 0xb43b8241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #60 0xb6cc58d8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #61 0xb620fcc5 in ?? () from /usr/lib/libQtGui.so.4 #62 0xb6c9878a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #63 0xb6c98bd2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #64 0xb6c9b079 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #65 0xb616f677 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #66 0x0804ab1a in main (argc=) at /home/KDE4/source/kdepim/kmail/main.cpp:146 Reported using DrKonqi
Effectively it's an assert: ASSERT: "mOpenCount > 0" in file /home/KDE4/source/kdepim/kmail/kmfolderindex_common.cpp, line 201
kmail1 unmaintained