Bug 319550

Summary: KMail crashed after selecting multiple folders
Product: [Applications] kmail2 Reporter: Rohan Garg <rohan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rohan Garg 2013-05-08 22:05:29 UTC
Application: kmail (4.10.2)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.2+ x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Selecting multiple folders in a subfolder after configuring for Google account 

- Unusual behavior I noticed:
KMail crashed

- Custom settings of the application:
None

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7b5f4cc7c0 (LWP 18870))]

Thread 6 (Thread 0x7f7b3ab3e700 (LWP 18873)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7b50c09585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7b50c095d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7b5a163f8e in start_thread (arg=0x7f7b3ab3e700) at pthread_create.c:311
#4  0x00007f7b5c86be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f7af9b7a700 (LWP 18874)):
#0  __GI___pthread_mutex_lock (mutex=0x7f7af4000a60) at pthread_mutex_lock.c:136
#1  0x00007f7b54af65c1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b54ab6c74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b54ab7175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7b54ab7304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7b5d1fa036 in QEventDispatcherGlib::processEvents (this=0x7f7af40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7b5d1ca38f in QEventLoop::processEvents (this=this@entry=0x7f7af9b79d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7b5d1ca618 in QEventLoop::exec (this=this@entry=0x7f7af9b79d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7b5d0cc410 in QThread::exec (this=this@entry=0x1a71470) at thread/qthread.cpp:542
#9  0x00007f7b5d1abedf in QInotifyFileSystemWatcherEngine::run (this=0x1a71470) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f7b5d0cebec in QThreadPrivate::start (arg=0x1a71470) at thread/qthread_unix.cpp:338
#11 0x00007f7b5a163f8e in start_thread (arg=0x7f7af9b7a700) at pthread_create.c:311
#12 0x00007f7b5c86be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f7af3fff700 (LWP 18875)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7b5094fa09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7b50c37cee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7b5a163f8e in start_thread (arg=0x7f7af3fff700) at pthread_create.c:311
#4  0x00007f7b5c86be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7af35ee700 (LWP 18876)):
#0  0x00007f7b54af635c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7b54af65b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7b54ab6abb in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7b54ab714c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7b54ab7304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7b5d1fa036 in QEventDispatcherGlib::processEvents (this=0x7f7ae40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7b5d1ca38f in QEventLoop::processEvents (this=this@entry=0x7f7af35eddc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7b5d1ca618 in QEventLoop::exec (this=this@entry=0x7f7af35eddc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7b5d0cc410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f7b5d0cebec in QThreadPrivate::start (arg=0x1a2a920) at thread/qthread_unix.cpp:338
#10 0x00007f7b5a163f8e in start_thread (arg=0x7f7af35ee700) at pthread_create.c:311
#11 0x00007f7b5c86be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7ae8813700 (LWP 22622)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f7b5d0cf0a7 in wait (time=30000, this=0x1e86b60) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27810f8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7b5d0c264f in QThreadPoolThread::run (this=0x1ce1da10) at concurrent/qthreadpool.cpp:141
#4  0x00007f7b5d0cebec in QThreadPrivate::start (arg=0x1ce1da10) at thread/qthread_unix.cpp:338
#5  0x00007f7b5a163f8e in start_thread (arg=0x7f7ae8813700) at pthread_create.c:311
#6  0x00007f7b5c86be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7b5f4cc7c0 (LWP 18870)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffee570270) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=this@entry=0xca53f20, row=0, column=0) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1623
#8  0x00007f7b5eeee0a3 in KSelectionProxyModel::mapToSource (this=0x26986e0, proxyIndex=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2151
#9  0x00007f7b5eee911d in KSelectionProxyModel::data (this=0x26986e0, index=..., role=34) at ../../kdeui/itemviews/kselectionproxymodel.cpp:2255
#10 0x00007f7b5928a09b in Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib/libakonadi-kde.so.4
#11 0x00007f7b5dc84450 in QSortFilterProxyModelPrivate::create_mapping (this=this@entry=0x14cc9cb0, source_parent=...) at itemviews/qsortfilterproxymodel.cpp:327
#12 0x00007f7b5dc84e9d in QSortFilterProxyModel::rowCount (this=<optimized out>, parent=...) at itemviews/qsortfilterproxymodel.cpp:1690
#13 0x00007f7b587aa83d in MessageList::StorageModel::rowCount(QModelIndex const&) const () from /usr/lib/libmessagelist.so.4
#14 0x00007f7b5876a191 in MessageList::Core::Model::setStorageModel(MessageList::Core::StorageModel*, MessageList::Core::PreSelectionMode) () from /usr/lib/libmessagelist.so.4
#15 0x00007f7b5876a80e in ?? () from /usr/lib/libmessagelist.so.4
#16 0x00007f7b5d1e00ef in QMetaObject::activate (sender=0x207af10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#17 0x00007f7b5d1e00ef in QMetaObject::activate (sender=sender@entry=0xa88a560, m=m@entry=0x7f7b5d5265e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=13, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007f7b5d22b2f3 in QAbstractItemModel::modelReset (this=this@entry=0xa88a560) at .moc/release-shared/moc_qabstractitemmodel.cpp:251
#19 0x00007f7b5d1c0c36 in QAbstractItemModel::reset (this=0xa88a560) at kernel/qabstractitemmodel.cpp:2913
#20 0x00007f7b5d1e00ef in QMetaObject::activate (sender=sender@entry=0x26986e0, m=m@entry=0x7f7b5d5265e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fffee570bb0) at kernel/qobject.cpp:3539
#21 0x00007f7b5d22b174 in QAbstractItemModel::rowsRemoved (this=this@entry=0x26986e0, _t1=..., _t2=0, _t3=8929) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#22 0x00007f7b5d1c606d in QAbstractItemModel::endRemoveRows (this=this@entry=0x26986e0) at kernel/qabstractitemmodel.cpp:2487
#23 0x00007f7b5eef2acb in KSelectionProxyModelPrivate::removeRangeFromProxy (this=this@entry=0xca53f20, range=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1732
#24 0x00007f7b5eef3405 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=this@entry=0xca53f20, selection=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1637
#25 0x00007f7b5eef3dd3 in KSelectionProxyModelPrivate::selectionChanged (this=0xca53f20, _selected=..., _deselected=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1887
#26 0x00007f7b5d1e00ef in QMetaObject::activate (sender=sender@entry=0x1064e9b0, m=m@entry=0x7f7b5e1b4940 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffee5712a0) at kernel/qobject.cpp:3539
#27 0x00007f7b5dc54547 in QItemSelectionModel::selectionChanged (this=this@entry=0x1064e9b0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#28 0x00007f7b5dc566fd in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1064e9b0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#29 0x00007f7b5dc5868c in QItemSelectionModel::select (this=0x1064e9b0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#30 0x00007f7b587a740b in MessageList::Pane::Private::onSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libmessagelist.so.4
#31 0x00007f7b5d1e00ef in QMetaObject::activate (sender=sender@entry=0xc5e34d0, m=m@entry=0x7f7b5e1b4940 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffee5717a0) at kernel/qobject.cpp:3539
#32 0x00007f7b5dc54547 in QItemSelectionModel::selectionChanged (this=this@entry=0xc5e34d0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#33 0x00007f7b5dc566fd in QItemSelectionModel::emitSelectionChanged (this=this@entry=0xc5e34d0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#34 0x00007f7b5dc5868c in QItemSelectionModel::select (this=0xc5e34d0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#35 0x00007f7b5dc5605b in QItemSelectionModel::select (this=this@entry=0xc5e34d0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#36 0x00007f7b5dc0148e in QAbstractItemView::mouseReleaseEvent (this=0x1cafe10, event=0x7fffee572670) at itemviews/qabstractitemview.cpp:1808
#37 0x00007f7b5d742a89 in QWidget::event (this=this@entry=0x1cafe10, event=event@entry=0x7fffee572670) at kernel/qwidget.cpp:8375
#38 0x00007f7b5daf5316 in QFrame::event (this=0x1cafe10, e=0x7fffee572670) at widgets/qframe.cpp:557
#39 0x00007f7b5dc0b8bb in QAbstractItemView::viewportEvent (this=this@entry=0x1cafe10, event=event@entry=0x7fffee572670) at itemviews/qabstractitemview.cpp:1644
#40 0x00007f7b5dc4b561 in QTreeView::viewportEvent (this=0x1cafe10, event=0x7fffee572670) at itemviews/qtreeview.cpp:1257
#41 0x00007f7b5d1cb7a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x13ae590, receiver=receiver@entry=0x556fac0, event=event@entry=0x7fffee572670) at kernel/qcoreapplication.cpp:1056
#42 0x00007f7b5d6f58bc in QApplicationPrivate::notify_helper (this=this@entry=0x13ae590, receiver=receiver@entry=0x556fac0, e=e@entry=0x7fffee572670) at kernel/qapplication.cpp:4563
#43 0x00007f7b5d6f8a33 in QApplication::notify (this=this@entry=0x7fffee573540, receiver=receiver@entry=0x556fac0, e=e@entry=0x7fffee572670) at kernel/qapplication.cpp:4110
#44 0x00007f7b5ef06af6 in KApplication::notify (this=0x7fffee573540, receiver=0x556fac0, event=0x7fffee572670) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007f7b5d1cb63e in QCoreApplication::notifyInternal (this=0x7fffee573540, receiver=receiver@entry=0x556fac0, event=event@entry=0x7fffee572670) at kernel/qcoreapplication.cpp:946
#46 0x00007f7b5d6fb933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x556fac0, event=event@entry=0x7fffee572670, alienWidget=alienWidget@entry=0x556fac0, nativeWidget=nativeWidget@entry=0x9126290, buttonDown=buttonDown@entry=0x7f7b5e1d3308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#48 0x00007f7b5d770ec4 in QETWidget::translateMouseEvent (this=this@entry=0x9126290, event=event@entry=0x7fffee572df0) at kernel/qapplication_x11.cpp:4631
#49 0x00007f7b5d76fef1 in QApplication::x11ProcessEvent (this=0x7fffee573540, event=event@entry=0x7fffee572df0) at kernel/qapplication_x11.cpp:3746
#50 0x00007f7b5d79b0b2 in x11EventSourceDispatch (s=0x13b3a60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x00007f7b54ab6f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f7b54ab7248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f7b54ab7304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f7b5d1fa016 in QEventDispatcherGlib::processEvents (this=0x1340b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x00007f7b5d79b1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f7b5d1ca38f in QEventLoop::processEvents (this=this@entry=0x7fffee5731c0, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f7b5d1ca618 in QEventLoop::exec (this=this@entry=0x7fffee5731c0, flags=...) at kernel/qeventloop.cpp:204
#58 0x00007f7b5d1cfcf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#59 0x0000000000402c8d in ?? ()
#60 0x00007f7b5c793ea5 in __libc_start_main (main=0x402280, argc=3, ubp_av=0x7fffee573758, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffee573748) at libc-start.c:260
#61 0x0000000000403121 in _start ()

This bug may be a duplicate of or related to bug 284742.

Possible duplicates by query: bug 297678, bug 292762, bug 284742, bug 279524, bug 275505.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-09 05:21:28 UTC

*** This bug has been marked as a duplicate of bug 292762 ***