Bug 308322

Summary: KMail crashed when moving an imported Mailfolder to parent folder
Product: [Applications] kmail2 Reporter: Christian <christian.lange.81>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christian.lange.81
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Christian 2012-10-13 11:43:33 UTC
Application: kmail (4.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- importet my Mails & Folders from Evolution Mail (Ubuntu 10.04) into KMail (Kubuntu 12.04)
- result: folder structure with "local", "imap" and so on. I only needed the folder in "local".
- so I moved theses Folder to the parent folder to get an organized structure
- i marked multiple folders and tried to move them at once
- result => kmail crashed

-- 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 0x7ffbcb0447c0 (LWP 6107))]

Thread 4 (Thread 0x7ffba8972700 (LWP 6114)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffbbd31bdec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ffbbd31bf19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ffbc5e54e9a in start_thread (arg=0x7ffba8972700) at pthread_create.c:308
#4  0x00007ffbc8386dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffba8059700 (LWP 6115)):
#0  0x00007fff5f1968de in ?? ()
#1  0x00007ffbbfca515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ffbc8c3abb4 in do_gettime (frac=0x7ffba8058ba8, sec=0x7ffba8058ba0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ffbc8d12b8d in QTimerInfoList::updateCurrentTime (this=0x7ffba0002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ffbc8d12ec3 in QTimerInfoList::timerWait (this=0x7ffba0002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007ffbc8d1197c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ffba8058c5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ffbc0c27846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffbc0c27f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffbc0c28164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffbc8d12426 in QEventDispatcherGlib::processEvents (this=0x7ffba00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007ffbc8ce1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007ffbc8ce1ed7 in QEventLoop::exec (this=0x7ffba8058dc0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007ffbc8be0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007ffbc8be3fcb in QThreadPrivate::start (arg=0x1c9d2b0) at thread/qthread_unix.cpp:298
#15 0x00007ffbc5e54e9a in start_thread (arg=0x7ffba8059700) at pthread_create.c:308
#16 0x00007ffbc8386dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffba4cc2700 (LWP 6124)):
#0  0x00007fff5f1968de in ?? ()
#1  0x00007ffbbfca515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ffbc8c3abb4 in do_gettime (frac=0x7ffba4cc1b58, sec=0x7ffba4cc1b50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ffbc8d12b8d in QTimerInfoList::updateCurrentTime (this=0x7ffb4c002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ffbc8d12ec3 in QTimerInfoList::timerWait (this=0x7ffb4c002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007ffbc8d1197c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ffba4cc1c2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ffbc8d11a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ffbc0c27846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffbc0c27f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffbc0c28164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffbc8d12426 in QEventDispatcherGlib::processEvents (this=0x7ffb4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007ffbc8ce1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ffbc8ce1ed7 in QEventLoop::exec (this=0x7ffba4cc1d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007ffbc8be0fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007ffbc8cc19ff in QInotifyFileSystemWatcherEngine::run (this=0x2047810) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007ffbc8be3fcb in QThreadPrivate::start (arg=0x2047810) at thread/qthread_unix.cpp:298
#17 0x00007ffbc5e54e9a in start_thread (arg=0x7ffba4cc2700) at pthread_create.c:308
#18 0x00007ffbc8386dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffbcb0447c0 (LWP 6107)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff5f031f90) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x1910e30, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007ffbcaa010fa in parent (this=0x7fff5f031fe0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x1aff650, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:359
#10 0x00007ffbc292b3d9 in parent (this=0x7fff5f032040) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#11 KPIM::StatisticsProxyModel::parent (this=0x1abdf40, child=...) at ../../libkdepim/statisticsproxymodel.cpp:346
#12 0x00007ffbc292c952 in sibling (acolumn=1, arow=0, this=0x2eb8250) at /usr/include/qt4/QtCore/qabstractitemmodel.h:396
#13 KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0x1ac49f0) at ../../libkdepim/statisticsproxymodel.cpp:217
#14 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x1abdf40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007ffbcaa025ac in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x1ab5180) at ../../kdeui/itemviews/kidentityproxymodel.cpp:589
#16 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x1aff650, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007ffbcaa025ac in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x1ac9740) at ../../kdeui/itemviews/kidentityproxymodel.cpp:589
#18 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x1910e30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007ffbc97b4f61 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1240
#20 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x1946ed0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007ffbc8cdcbcc in QAbstractItemModel::beginMoveRows (this=0x1946ed0, sourceParent=..., sourceFirst=1, sourceLast=1, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#22 0x00007ffbc4f72b0e in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x19d6d70, collection=..., sourceCollection=..., destCollection=...) at ../../akonadi/entitytreemodel_p.cpp:917
#23 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x19c20c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5f032af0) at kernel/qobject.cpp:3547
#24 0x00007ffbc4fa9c4f in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=..., _t2=..., _t3=...) at ./monitor.moc:252
#25 0x00007ffbc4fad98b in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x19cd3d0, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:612
#26 0x00007ffbc4faf62a in Akonadi::MonitorPrivate::emitNotification (this=0x19cd3d0, msg=...) at ../../akonadi/monitor_p.cpp:285
#27 0x00007ffbc4f0db31 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x19cd3d0, msg=...) at ../../akonadi/changerecorder_p.h:60
#28 0x00007ffbc4faf356 in Akonadi::MonitorPrivate::flushPipeline (this=0x19cd3d0) at ../../akonadi/monitor_p.cpp:429
#29 0x00007ffbc4faf829 in Akonadi::MonitorPrivate::dataAvailable (this=0x19cd3d0) at ../../akonadi/monitor_p.cpp:438
#30 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x19daaf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#31 0x00007ffbc4f1464d in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x19daaf0, job=<optimized out>) at ../../akonadi/entitycache_p.h:192
#32 0x00007ffbc8cf7281 in QMetaObject::activate (sender=0x2ebfb20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5f0331b0) at kernel/qobject.cpp:3547
#33 0x00007ffbca46a152 in KJob::result (this=<optimized out>, _t1=0x2ebfb20) at ./kjob.moc:208
#34 0x00007ffbca46a190 in KJob::emitResult (this=0x2ebfb20) at ../../kdecore/jobs/kjob.cpp:318
#35 0x00007ffbc8cfc446 in QObject::event (this=0x2ebfb20, e=<optimized out>) at kernel/qobject.cpp:1195
#36 0x00007ffbc9205894 in notify_helper (e=0x2f06d10, receiver=0x2ebfb20, this=0x17383f0) at kernel/qapplication.cpp:4559
#37 QApplicationPrivate::notify_helper (this=0x17383f0, receiver=0x2ebfb20, e=0x2f06d10) at kernel/qapplication.cpp:4531
#38 0x00007ffbc920a713 in QApplication::notify (this=0x7fff5f033bf0, receiver=0x2ebfb20, e=0x2f06d10) at kernel/qapplication.cpp:4420
#39 0x00007ffbcaa453f6 in KApplication::notify (this=0x7fff5f033bf0, receiver=0x2ebfb20, event=0x2f06d10) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007ffbc8ce2e9c in QCoreApplication::notifyInternal (this=0x7fff5f033bf0, receiver=0x2ebfb20, event=0x2f06d10) at kernel/qcoreapplication.cpp:876
#41 0x00007ffbc8ce6c6a in sendEvent (event=0x2f06d10, receiver=0x2ebfb20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x16eb220) at kernel/qcoreapplication.cpp:1500
#43 0x00007ffbc8d11f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007ffbc0c27d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffbc0c280a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffbc0c28164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffbc8d123bf in QEventDispatcherGlib::processEvents (this=0x16ecb00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007ffbc92add5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007ffbc8ce1c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007ffbc8ce1ed7 in QEventLoop::exec (this=0x7fff5f033ad0, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007ffbc8ce6f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#53 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

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

Possible duplicates by query: bug 307631, bug 306974, bug 305280, bug 304155, bug 302301.

Reported using DrKonqi
Comment 1 Christian 2012-10-13 12:00:57 UTC
Created attachment 74515 [details]
New crash information added by DrKonqi

kmail (4.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

i was doing the exactly same same thing again

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fff8c396d50) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x138fdd0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f1cab8650fa in parent (this=0x7fff8c396da0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x142b6c0, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:359
#10 0x00007f1ca378f3d9 in parent (this=0x7fff8c396e00) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
Comment 2 Jekyll Wu 2012-10-13 12:32:55 UTC

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