Bug 298336

Summary: kmail2: crash while moving folder
Product: [Applications] kmail2 Reporter: Marc Schiffbauer <mschiff>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Schiffbauer 2012-04-18 07:58:57 UTC
Application: kmail (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.3.0-gentoo x86_64
Distribution: "NAME=Gentoo"

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

I was using kmail2 (not kontact) and wanted to move two folders into a subfolder (via DnD). One after another. The first worked. And after dropping the second folder over the destination subfolder, kmail crashed.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe3fd1497a0 (LWP 10613))]

Thread 6 (Thread 0x7fe3dd6f9700 (LWP 10619)):
#0  0x00007fe3f81ccfdc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3eeb63a6c in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fe3eeb63b99 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fe3f81c8e1c in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe3fa3f15ad in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe3dcdf8700 (LWP 10620)):
#0  0x00007fe3f81cc18d in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007fe3f28e52b1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe3f28aa4a8 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe3f28ab294 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe3f28ab4f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fe3fad76b56 in QEventDispatcherGlib::processEvents (this=0x2c40d70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fe3fad46c32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe3fad46e87 in QEventLoop::exec (this=0x7fe3dcdf7de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fe3fac46e97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fe3fac49e9b in QThreadPrivate::start (arg=0x2c406f0) at thread/qthread_unix.cpp:298
#10 0x00007fe3f81c8e1c in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe3fa3f15ad in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe3918b4700 (LWP 11138)):
#0  0x00007fe3fa3e7f43 in poll () from /lib64/libc.so.6
#1  0x00007fe3f28ab3c6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe3f28ab4f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe3fad76b56 in QEventDispatcherGlib::processEvents (this=0x2fc8a70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe3fad46c32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe3fad46e87 in QEventLoop::exec (this=0x7fe3918b3db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe3fac46e97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe3fad26bef in QInotifyFileSystemWatcherEngine::run (this=0x5241ea0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe3fac49e9b in QThreadPrivate::start (arg=0x5241ea0) at thread/qthread_unix.cpp:298
#9  0x00007fe3f81c8e1c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe3fa3f15ad in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe37e9c9700 (LWP 11509)):
#0  0x00007fe3f81cd35b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3fac4a2ff in wait (time=30000, this=0x2cd01e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2cd0188, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe3fac3d79f in QThreadPoolThread::run (this=0x2cf3e00) at concurrent/qthreadpool.cpp:141
#4  0x00007fe3fac49e9b in QThreadPrivate::start (arg=0x2cf3e00) at thread/qthread_unix.cpp:298
#5  0x00007fe3f81c8e1c in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe3fa3f15ad in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe3842d7700 (LWP 11511)):
#0  0x00007fe3f81cd35b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe3fac4a2ff in wait (time=30000, this=0x3569310) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3569288, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe3fac3d79f in QThreadPoolThread::run (this=0x356a2c0) at concurrent/qthreadpool.cpp:141
#4  0x00007fe3fac49e9b in QThreadPrivate::start (arg=0x356a2c0) at thread/qthread_unix.cpp:298
#5  0x00007fe3f81c8e1c in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe3fa3f15ad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe3fd1497a0 (LWP 10613)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff5b3d7870) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x2582ee0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007fe3fca4c689 in QModelIndex::parent (this=<optimized out>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  0x00007fe3fcab8c74 in KIdentityProxyModel::parent (this=0x25d8930, child=...) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007fe3fca4c689 in QModelIndex::parent (this=<optimized out>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#11 0x00007fe3fcab8c74 in KIdentityProxyModel::parent (this=0x2b421c0, child=...) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007fe3f4204937 in QModelIndex::sibling (this=0x69da080, arow=0, acolumn=3) at /usr/include/qt4/QtCore/qabstractitemmodel.h:396
#13 0x00007fe3f42042e7 in KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0x2b77490) at /var/tmp/portage/kde-base/kdepim-common-libs-4.8.49.9999/work/kdepim-common-libs-4.8.49.9999/libkdepim/statisticsproxymodel.cpp:214
#14 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x2b421c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007fe3fcaba5cb in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x2b7b640) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdeui/itemviews/kidentityproxymodel.cpp:588
#16 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x25d8930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007fe3fcaba5cb in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x2b7d630) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdeui/itemviews/kidentityproxymodel.cpp:588
#18 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x2582ee0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007fe3fb8075b1 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x25e0580) at itemviews/qsortfilterproxymodel.cpp:1240
#20 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x255bf60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007fe3fad41bbc in QAbstractItemModel::beginMoveRows (this=0x255bf60, sourceParent=..., sourceFirst=4, sourceLast=4, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#22 0x00007fe3f698c841 in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x25df1e0, collection=..., sourceCollection=..., destCollection=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/entitytreemodel_p.cpp:917
#23 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x25ae630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5b3d8530) at kernel/qobject.cpp:3547
#24 0x00007fe3f69bf66f in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=..., _t2=..., _t3=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999_build/akonadi/monitor.moc:252
#25 0x00007fe3f69c2093 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x25c6c20, msg=..., col=..., par=..., dest=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/monitor_p.cpp:612
#26 0x00007fe3f69c415a in Akonadi::MonitorPrivate::emitNotification (this=0x25c6c20, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/monitor_p.cpp:285
#27 0x00007fe3f6941711 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x25c6c20, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/changerecorder_p.h:60
#28 0x00007fe3f69c3b7d in Akonadi::MonitorPrivate::flushPipeline (this=0x25c6c20) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/monitor_p.cpp:429
#29 0x00007fe3f69c3bd9 in Akonadi::MonitorPrivate::dataAvailable (this=0x25c6c20) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/monitor_p.cpp:438
#30 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x25efc50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#31 0x00007fe3f69469eb in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x25efc50, job=0x2b4c6f0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.49.9999/work/kdepimlibs-4.8.49.9999/akonadi/entitycache_p.h:192
#32 0x00007fe3fad5ba79 in QMetaObject::activate (sender=0x2b4c6f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5b3d8c00) at kernel/qobject.cpp:3547
#33 0x00007fe3fc4e27e2 in KJob::result (this=<optimized out>, _t1=0x2b4c6f0) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999_build/kdecore/kjob.moc:208
#34 0x00007fe3fc4e2825 in KJob::emitResult (this=0x2b4c6f0) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdecore/jobs/kjob.cpp:318
#35 0x00007fe3fad60c46 in QObject::event (this=0x2b4c6f0, e=<optimized out>) at kernel/qobject.cpp:1195
#36 0x00007fe3fb2787c4 in notify_helper (e=0x4cb7300, receiver=0x2b4c6f0, this=0x275d480) at kernel/qapplication.cpp:4554
#37 QApplicationPrivate::notify_helper (this=0x275d480, receiver=0x2b4c6f0, e=0x4cb7300) at kernel/qapplication.cpp:4526
#38 0x00007fe3fb27d591 in QApplication::notify (this=0x7fff5b3d96b0, receiver=0x2b4c6f0, e=0x4cb7300) at kernel/qapplication.cpp:3936
#39 0x00007fe3fcafa0ad in KApplication::notify (this=0x7fff5b3d96b0, receiver=0x2b4c6f0, event=0x4cb7300) at /var/tmp/portage/kde-base/kdelibs-4.8.49.9999/work/kdelibs-4.8.49.9999/kdeui/kernel/kapplication.cpp:311
#40 0x00007fe3fad47e2c in QCoreApplication::notifyInternal (this=0x7fff5b3d96b0, receiver=0x2b4c6f0, event=0x4cb7300) at kernel/qcoreapplication.cpp:876
#41 0x00007fe3fad4b67a in sendEvent (event=0x4cb7300, receiver=0x2b4c6f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x24cb1f0) at kernel/qcoreapplication.cpp:1500
#43 0x00007fe3fad766d3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x25237e0) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007fe3f28ab06a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fe3f28ab430 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007fe3f28ab4f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fe3fad76aef in QEventDispatcherGlib::processEvents (this=0x24ccad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007fe3fb31b8ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fe3fad46c32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fe3fad46e87 in QEventLoop::exec (this=0x7fff5b3d95a0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007fe3fad4b995 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#53 0x0000000000402861 in main (argc=3, argv=0x7fff5b3d9848) at /var/tmp/portage/kde-base/kmail-4.8.49.9999/work/kmail-4.8.49.9999/kmail/main.cpp:145

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

Possible duplicates by query: bug 296832.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-04-18 08:00:10 UTC

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