Bug 291997 - had filtered a folder, then removed the filter -> crash
Summary: had filtered a folder, then removed the filter -> crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 280775 290752 297823 299999 300800 302242 302913 303047 303235 303788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-19 22:12 UTC by m.wege
Modified: 2017-01-07 22:47 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2012-01-19 22:12:58 UTC
Application: kmail (4.8 rc2)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-9-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: had filtered a folder via folder filter bar. Then I  removed the filter and Kmail crashed

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f434a5177a0 (LWP 7227))]

Thread 4 (Thread 0x7f4342d87700 (LWP 10039)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003e40786c2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3e4113d220) at wtf/FastMalloc.cpp:2495
#2  0x0000003e40786d59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00000030c2407efc in start_thread (arg=0x7f4342d87700) at pthread_create.c:304
#4  0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4342486700 (LWP 10040)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c5044f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003e36997f3e in QEventDispatcherGlib::processEvents (this=0x12e7ae0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003e3696bef7 in QEventLoop::exec (this=0x7f4342485de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003e3688327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003e36885d05 in QThreadPrivate::start (arg=0x12e72a0) at thread/qthread_unix.cpp:331
#8  0x00000030c2407efc in start_thread (arg=0x7f4342486700) at pthread_create.c:304
#9  0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f42f90bd700 (LWP 12149)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c5044f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003e36997f3e in QEventDispatcherGlib::processEvents (this=0x2953d90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003e3696bef7 in QEventLoop::exec (this=0x7f42f90bcdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003e3688327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003e3694ecbf in QInotifyFileSystemWatcherEngine::run (this=0x2939890) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003e36885d05 in QThreadPrivate::start (arg=0x2939890) at thread/qthread_unix.cpp:331
#9  0x00000030c2407efc in start_thread (arg=0x7f42f90bd700) at pthread_create.c:304
#10 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f434a5177a0 (LWP 7227)):
[KCrash Handler]
#6  at (this=0x0, i=63) at /usr/include/qt4/QtCore/qlist.h:96
#7  at (i=63, this=0x0) at /usr/include/qt4/QtCore/qlist.h:457
#8  MessageList::Core::ModelInvariantRowMapperPrivate::indexDead (this=0x1098950, invariant=0x5d411d0) at ../../messagelist/core/modelinvariantrowmapper.cpp:135
#9  0x00007f434af34a7b in MessageList::Core::ModelInvariantIndex::~ModelInvariantIndex (this=0x5d411d0, __in_chrg=<optimized out>) at ../../messagelist/core/modelinvariantindex.cpp:37
#10 0x00007f434af1d267 in MessageList::Core::MessageItem::~MessageItem (this=0x5d411c0, __in_chrg=<optimized out>) at ../../messagelist/core/messageitem.cpp:266
#11 0x00007f434af1d309 in MessageList::Core::MessageItem::~MessageItem (this=0x5d411c0, __in_chrg=<optimized out>) at ../../messagelist/core/messageitem.cpp:268
#12 0x00007f434af12b1b in MessageList::Core::Item::killAllChildItems (this=0x10e9e50) at ../../messagelist/core/item.cpp:400
#13 0x00007f434af2cf5f in MessageList::Core::Model::setStorageModel (this=0x10f24d0, storageModel=0xd9724d0, preSelectionMode=MessageList::Core::PreSelectLastSelected) at ../../messagelist/core/model.cpp:709
#14 0x00007f434af49095 in MessageList::Core::View::setStorageModel (this=0x10bfa90, storageModel=<optimized out>, preSelectionMode=<optimized out>) at ../../messagelist/core/view.cpp:220
#15 0x00007f434af57f95 in MessageList::Core::Widget::setStorageModel (this=0x10cc930, storageModel=0xd9724d0, preSelectionMode=MessageList::Core::PreSelectLastSelected) at ../../messagelist/core/widgetbase.cpp:408
#16 0x00007f434af692fa in MessageList::Pane::setCurrentFolder (this=0x1109b10, preSelectionMode=MessageList::Core::PreSelectLastSelected, overrideLabel=...) at ../../messagelist/pane.cpp:604
#17 0x00007f434b59e6e9 in KMMainWidget::slotShowSelectedFolderInPane (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:597
#18 0x00007f434b5c036d in KMMainWidget::qt_metacall (this=0x10784f0, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0x7f42e48ac320) at ./kmmainwidget.moc:405
#19 0x0000003e36983a5e in QObject::event (this=0x10784f0, e=<optimized out>) at kernel/qobject.cpp:1217
#20 0x0000003e37e4c73b in QWidget::event (this=0x10784f0, event=0x7f42e48aebe0) at kernel/qwidget.cpp:8754
#21 0x0000003e37dfc474 in notify_helper (e=0x7f42e48aebe0, receiver=0x10784f0, this=0xc64440) at kernel/qapplication.cpp:4486
#22 QApplicationPrivate::notify_helper (this=0xc64440, receiver=0x10784f0, e=0x7f42e48aebe0) at kernel/qapplication.cpp:4458
#23 0x0000003e37e012e1 in QApplication::notify (this=0x7fffc1249d90, receiver=0x10784f0, e=0x7f42e48aebe0) at kernel/qapplication.cpp:4365
#24 0x0000003e38c31ae6 in KApplication::notify (this=0x7fffc1249d90, receiver=0x10784f0, event=0x7f42e48aebe0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x0000003e3696cafc in QCoreApplication::notifyInternal (this=0x7fffc1249d90, receiver=0x10784f0, event=0x7f42e48aebe0) at kernel/qcoreapplication.cpp:787
#26 0x0000003e3697051f in sendEvent (event=0x7f42e48aebe0, receiver=0x10784f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xab8460) at kernel/qcoreapplication.cpp:1428
#28 0x0000003e36997a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00000030c5044a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00000030c5045258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x0000003e36997ed6 in QEventDispatcherGlib::processEvents (this=0xab9f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x0000003e37ea410e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x0000003e3696bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003e3696bef7 in QEventLoop::exec (this=0x7fffc1249c70, flags=...) at kernel/qeventloop.cpp:201
#37 0x0000003e36970789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Allen Winter 2012-02-03 16:01:17 UTC
adding Szymon.  he's the expert on this code.
Comment 2 Christophe Marin 2012-04-10 08:10:03 UTC
from bug 297823

-- Information about the crash:
- What I was doing when the application crashed:
tried to navigate to "next unread mail" via keyboard shortcut

The crash can be reproduced some of the time.
Comment 3 Christophe Marin 2012-04-10 08:10:12 UTC
*** Bug 297823 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2012-07-02 17:56:48 UTC
*** Bug 299999 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2012-07-02 17:57:49 UTC
*** Bug 302913 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-07-03 09:55:06 UTC
*** Bug 300800 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2012-07-03 13:15:58 UTC
*** Bug 302242 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2012-07-03 15:57:38 UTC
*** Bug 280775 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2012-07-05 08:46:44 UTC
*** Bug 303047 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2012-07-09 14:12:08 UTC
*** Bug 303235 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2012-07-19 18:26:13 UTC
*** Bug 303788 has been marked as a duplicate of this bug. ***
Comment 12 Sebastien Renard 2012-08-18 11:24:16 UTC
*** Bug 290752 has been marked as a duplicate of this bug. ***
Comment 13 Denis Kurz 2016-09-24 18:22:49 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 14 Denis Kurz 2017-01-07 22:47:08 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.