Bug 284742 - Kmail crashed selecting several folders
Summary: Kmail crashed selecting several folders
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 291034 297678 327014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-22 20:46 UTC by Jerome
Modified: 2015-09-08 20:12 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.56 KB, text/plain)
2011-11-06 19:29 UTC, biberkopf
Details
New crash information added by DrKonqi (6.89 KB, text/plain)
2011-12-01 15:32 UTC, Rafael
Details
New crash information added by DrKonqi (14.06 KB, text/plain)
2013-11-01 23:06 UTC, Thomas Dreibholz
Details
New crash information added by DrKonqi (14.27 KB, text/plain)
2013-11-01 23:13 UTC, Thomas Dreibholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome 2011-10-22 20:46:23 UTC
Application: kmail (4.7.2)
KDE Platform Version: 4.7.1 (4.7.1) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

I was selecting several folder with shift key and the mouse. When I click on the 8th folder to select, kmail just crash. It's always like that, selecting the 8th folder, it justs crash !

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7fecaadf6700 (LWP 3367)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fecbcaf8c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fecbcaf8d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fecc5741efc in start_thread (arg=0x7fecaadf6700) at pthread_create.c:304
#4  0x00007fecc7b9b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fecaa4f5700 (LWP 3368)):
#0  0xffffffffff60015d in ?? ()
#1  0x00007fecaa4f4b50 in ?? ()
#2  0x00007fff3bfff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fec625ed700 (LWP 3369)):
#0  0x00007fecc7b8f773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fecc05e6f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fecc05e7429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fecc850df3e in QEventDispatcherGlib::processEvents (this=0x261de10, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fecc84e1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fecc84e1ef7 in QEventLoop::exec (this=0x7fec625ecdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fecc83f927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fecc84c4cbf in QInotifyFileSystemWatcherEngine::run (this=0x261d100) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fecc83fbd05 in QThreadPrivate::start (arg=0x261d100) at thread/qthread_unix.cpp:331
#9  0x00007fecc5741efc in start_thread (arg=0x7fec625ed700) at pthread_create.c:304
#10 0x00007fecc7b9b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fecca8237a0 (LWP 3361)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff3bfdfe30) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=0x28bd8b0, row=0, column=0) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1596
#8  0x00007fecca21b823 in KSelectionProxyModel::mapToSource (this=0x2746a50, proxyIndex=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2124
#9  0x00007fecca21607f in KSelectionProxyModel::data (this=0x2746a50, index=..., role=35) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2228
#10 0x00007fecc486c5f4 in data (arole=35, this=0x7fff3bfdff80) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#11 Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow (this=<optimized out>, sourceRow=<optimized out>, sourceParent=...) at ../../akonadi/entitymimetypefiltermodel.cpp:106
#12 0x00007fecc8fa48e8 in QSortFilterProxyModelPrivate::create_mapping (this=0x28b9000, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:327
#13 0x00007fecc8fa557f in QSortFilterProxyModel::rowCount (this=<optimized out>, parent=...) at itemviews/qsortfilterproxymodel.cpp:1671
#14 0x00007fecc3dd52fd in rowCount (this=<optimized out>, parent=<optimized out>) at ../../messagelist/storagemodel.cpp:382
#15 MessageList::StorageModel::rowCount (this=<optimized out>, parent=<optimized out>) at ../../messagelist/storagemodel.cpp:379
#16 0x00007fecc3d9801e in MessageList::Core::Model::setStorageModel (this=0x214b020, storageModel=0x28b55b0, preSelectionMode=MessageList::Core::PreSelectLastSelected) at ../../messagelist/core/model.cpp:734
#17 0x00007fecc3db3e25 in MessageList::Core::View::setStorageModel (this=0x2140420, storageModel=<optimized out>, preSelectionMode=<optimized out>) at ../../messagelist/core/view.cpp:220
#18 0x00007fecc3dc2985 in MessageList::Core::Widget::setStorageModel (this=0x2116e80, storageModel=0x28b55b0, preSelectionMode=MessageList::Core::PreSelectLastSelected) at ../../messagelist/core/widgetbase.cpp:410
#19 0x00007fecc3dd2a8a in MessageList::Pane::setCurrentFolder (this=0x20e4340, preSelectionMode=MessageList::Core::PreSelectLastSelected, overrideLabel=...) at ../../messagelist/pane.cpp:466
#20 0x00007fecc960fff9 in KMMainWidget::slotShowSelectedForderInPane (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:580
#21 0x00007fecc963052d in KMMainWidget::qt_metacall (this=0x1f7b010, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x264f2f0) at ./kmmainwidget.moc:397
#22 0x00007fecc84f9a5e in QObject::event (this=0x1f7b010, e=<optimized out>) at kernel/qobject.cpp:1217
#23 0x00007fecc8a636eb in QWidget::event (this=0x1f7b010, event=0x28b5140) at kernel/qwidget.cpp:8754
#24 0x00007fecc8a13424 in notify_helper (e=0x28b5140, receiver=0x1f7b010, this=0x1bfcc60) at kernel/qapplication.cpp:4486
#25 QApplicationPrivate::notify_helper (this=0x1bfcc60, receiver=0x1f7b010, e=0x28b5140) at kernel/qapplication.cpp:4458
#26 0x00007fecc8a18291 in QApplication::notify (this=0x7fff3bfe0f80, receiver=0x1f7b010, e=0x28b5140) at kernel/qapplication.cpp:4365
#27 0x00007fecca2341e6 in KApplication::notify (this=0x7fff3bfe0f80, receiver=0x1f7b010, event=0x28b5140) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fecc84e2afc in QCoreApplication::notifyInternal (this=0x7fff3bfe0f80, receiver=0x1f7b010, event=0x28b5140) at kernel/qcoreapplication.cpp:787
#29 0x00007fecc84e651f in sendEvent (event=0x28b5140, receiver=0x1f7b010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1bb5460) at kernel/qcoreapplication.cpp:1428
#31 0x00007fecc850da73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007fecc05e6a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fecc05e7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fecc05e7429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fecc850ded6 in QEventDispatcherGlib::processEvents (this=0x1bb6f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007fecc8abb07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fecc84e1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007fecc84e1ef7 in QEventLoop::exec (this=0x7fff3bfe0e50, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007fecc84e6789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#41 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 279524, bug 275505, bug 272525, bug 271682.

Reported using DrKonqi
Comment 1 biberkopf 2011-11-06 19:29:55 UTC
Created attachment 65313 [details]
New crash information added by DrKonqi

kmail (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
I selected Emai8l-folder to copy them
- Unusual behavior I noticed:
Starting KDE I received the message Nepomuk is not running corectly.

-- Backtrace (Reduced):
#7  QModelIndex (other=..., this=0xbfe2f700) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#8  KSelectionProxyModelPrivate::mapTopLevelToSource (this=0x91d8a48, row=0, column=0) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1596
#9  0xb756da64 in KSelectionProxyModel::mapToSource (this=0xa69cb88, proxyIndex=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2124
#10 0xb7567caa in KSelectionProxyModel::data (this=0xa69cb88, index=..., role=35) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2228
#11 0xb54f06f1 in Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib/libakonadi-kde.so.4
Comment 2 Rafael 2011-12-01 15:32:07 UTC
Created attachment 66265 [details]
New crash information added by DrKonqi

kmail (4.7.3) on KDE Platform 4.7.3 (4.7.3) "release 10" using Qt 4.7.4

In my case it's kmail 4.7.3 and the crash occurs before selecting the  8th folder

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fff9ce96a90) at /usr/include/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=0xdf14e0, row=0, column=0) at /usr/src/debug/kdelibs-4.7.3/kdeui/itemviews/kselectionproxymodel.cpp:1596
#8  0x00002b5d4e212473 in KSelectionProxyModel::mapToSource (this=0xec7790, proxyIndex=...) at /usr/src/debug/kdelibs-4.7.3/kdeui/itemviews/kselectionproxymodel.cpp:2124
#9  0x00002b5d4e20cccf in KSelectionProxyModel::data (this=0xec7790, index=..., role=35) at /usr/src/debug/kdelibs-4.7.3/kdeui/itemviews/kselectionproxymodel.cpp:2228
#10 0x00002b5d5414aa54 in data (arole=35, this=0x7fff9ce96be0) at /usr/include/QtCore/qabstractitemmodel.h:398
Comment 3 Christophe Marin 2012-01-09 16:08:31 UTC
*** Bug 291034 has been marked as a duplicate of this bug. ***
Comment 4 Laurent Montel 2012-04-14 17:50:47 UTC
*** Bug 297678 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Dreibholz 2013-11-01 22:59:57 UTC
*** Bug 327014 has been marked as a duplicate of this bug. ***
Comment 6 Thomas Dreibholz 2013-11-01 23:06:51 UTC
Created attachment 83272 [details]
New crash information added by DrKonqi

kontact (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

The Kontact crash happened again when I tried to reproduce the problem by marking many folders (ca. 20) of an IMAP account. It does not happen every time, but after several trials I managed to crash Kontact 4.11.2 again.

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fff7e914610) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=this@entry=0x25c9b520, row=0, column=0) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1623
#8  0x00007fae4a33edd1 in KSelectionProxyModel::mapToSource (this=0x10959d10, proxyIndex=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2151
#9  0x00007fae4a33a224 in KSelectionProxyModel::data (this=0x10959d10, index=..., role=34) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2255
#10 0x00007fae474e582a in data (arole=34, this=0x7fff7e9147d0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:402
Comment 7 Thomas Dreibholz 2013-11-01 23:13:12 UTC
Created attachment 83273 [details]
New crash information added by DrKonqi

kontact (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

Another crash of the same type. The IMAP account contains sub-folders with mailing list folders. There are probably > 10,000 mails in this account.

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fff3a8fb8e0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=this@entry=0x28c25e0, row=0, column=0) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1623
#8  0x00007f7f2ea2bdd1 in KSelectionProxyModel::mapToSource (this=0x2bbc460, proxyIndex=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2151
#9  0x00007f7f2ea27224 in KSelectionProxyModel::data (this=0x2bbc460, index=..., role=34) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2255
#10 0x00007f7f2bbd282a in data (arole=34, this=0x7fff3a8fbaa0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:402
Comment 8 Martin Steigerwald 2015-09-08 20:12:04 UTC
Hi Jerome. Thank you for your report. I just tried this with KDEPIM compiled from master yesterday (post 15.08) and I didn´t see a crash. I also heard that it may be fixed. So I am closing. Feel free to reopen if it still happens for your and report version you use. Thanks, Martin