Bug 304324 - Kmail & Kontact crash when moving an mbox via drag'n drop
Summary: Kmail & Kontact crash when moving an mbox via drag'n drop
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 295461 310179 310409 313591 314420 330953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-31 10:58 UTC by carlo.tognetti
Modified: 2014-02-09 17:31 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carlo.tognetti 2012-07-31 10:58:28 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I imported an Evolution mbox tree into Kmail and everything was OK.
When moving some subfoldders folders from the imported sent subfolder to the default sent folder, Kmail and Kontact sometimes crash.
I had multiple subfolders in the imported sent folder, sometimes moving them goes on, sometimes not. I've already been able to move some sent subfolders containing more than  2000 messages, that previously caused the crash. 


- Unusual behavior I noticed:
Just a few seconds before the crash, I've often seen the icons in the tray bar (Volume, Screen, Clipboard, Devices, Network interfaces etc.) flickering fast, and coming back stable just after the crash.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7114df17c0 (LWP 3293))]

Thread 4 (Thread 0x7f70f8312700 (LWP 3294)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f71115e7dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f71115e7f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f710caabe9a in start_thread (arg=0x7f70f8312700) at pthread_create.c:308
#4  0x00007f71123194bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f70f79f9700 (LWP 3295)):
#0  0x00007f711230db03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f710c5df036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f710c5df164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7112a8e426 in QEventDispatcherGlib::processEvents (this=0x7f70f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7112a5dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7112a5ded7 in QEventLoop::exec (this=0x7f70f79f8dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f711295cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f711295ffcb in QThreadPrivate::start (arg=0xf3eba0) at thread/qthread_unix.cpp:298
#8  0x00007f710caabe9a in start_thread (arg=0x7f70f79f9700) at pthread_create.c:308
#9  0x00007f71123194bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f70a27a3700 (LWP 3318)):
#0  0x00007f710caadf69 in __pthread_mutex_lock (mutex=0x7f709c000a60) at pthread_mutex_lock.c:92
#1  0x00007f710c61a5a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f710c5de851 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f710c5def5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f710c5df164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7112a8e426 in QEventDispatcherGlib::processEvents (this=0x7f709c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f7112a5dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7112a5ded7 in QEventLoop::exec (this=0x7f70a27a2d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f711295cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f7112a3d9ff in QInotifyFileSystemWatcherEngine::run (this=0x144a9d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f711295ffcb in QThreadPrivate::start (arg=0x144a9d0) at thread/qthread_unix.cpp:298
#11 0x00007f710caabe9a in start_thread (arg=0x7f70a27a3700) at pthread_create.c:308
#12 0x00007f71123194bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7114df17c0 (LWP 3293)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff36dc4f10) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x1289790, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f711414f13a in parent (this=0x7fff36dc4f60) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0xfdc880, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007f711414f13a in parent (this=0x7fff36dc4fc0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#11 KIdentityProxyModel::parent (this=0x139eb30, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007f710f9769d2 in sibling (acolumn=1, arow=0, this=0x315f5e0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:396
#13 KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0xfc8a50) at ../../libkdepim/statisticsproxymodel.cpp:214
#14 0x00007f7112a73281 in QMetaObject::activate (sender=0x139eb30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007f7114150b43 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x139ecc0) at ../../kdeui/itemviews/kidentityproxymodel.cpp:588
#16 0x00007f7112a73281 in QMetaObject::activate (sender=0xfdc880, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#17 0x00007f7114150b43 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x1399280) at ../../kdeui/itemviews/kidentityproxymodel.cpp:588
#18 0x00007f7112a73281 in QMetaObject::activate (sender=0x1289790, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x00007f7113a08f61 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1240
#20 0x00007f7112a73281 in QMetaObject::activate (sender=0x127c4f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007f7112a58bcc in QAbstractItemModel::beginMoveRows (this=0x127c4f0, sourceParent=..., sourceFirst=0, sourceLast=0, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#22 0x00007f710ee6bb0e in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x131bc50, collection=..., sourceCollection=..., destCollection=...) at ../../akonadi/entitytreemodel_p.cpp:917
#23 0x00007f7112a73281 in QMetaObject::activate (sender=0x1300030, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff36dc5a60) at kernel/qobject.cpp:3547
#24 0x00007f710eea2c4f in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=..., _t2=..., _t3=...) at ./monitor.moc:252
#25 0x00007f710eea698b in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x12f2930, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:612
#26 0x00007f710eea862a in Akonadi::MonitorPrivate::emitNotification (this=0x12f2930, msg=...) at ../../akonadi/monitor_p.cpp:285
#27 0x00007f710ee06b31 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x12f2930, msg=...) at ../../akonadi/changerecorder_p.h:60
#28 0x00007f710eea8356 in Akonadi::MonitorPrivate::flushPipeline (this=0x12f2930) at ../../akonadi/monitor_p.cpp:429
#29 0x00007f710eea8829 in Akonadi::MonitorPrivate::dataAvailable (this=0x12f2930) at ../../akonadi/monitor_p.cpp:438
#30 0x00007f7112a73281 in QMetaObject::activate (sender=0x1319350, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#31 0x00007f710ee0d64d in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x1319350, job=<optimized out>) at ../../akonadi/entitycache_p.h:192
#32 0x00007f7112a73281 in QMetaObject::activate (sender=0x412f5c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff36dc6120) at kernel/qobject.cpp:3547
#33 0x00007f7112ee9182 in KJob::result (this=<optimized out>, _t1=0x412f5c0) at ./kjob.moc:208
#34 0x00007f7112ee91c0 in KJob::emitResult (this=0x412f5c0) at ../../kdecore/jobs/kjob.cpp:318
#35 0x00007f7112a78446 in QObject::event (this=0x412f5c0, e=<optimized out>) at kernel/qobject.cpp:1195
#36 0x00007f7113459894 in notify_helper (e=0x196fc70, receiver=0x412f5c0, this=0xd9b260) at kernel/qapplication.cpp:4559
#37 QApplicationPrivate::notify_helper (this=0xd9b260, receiver=0x412f5c0, e=0x196fc70) at kernel/qapplication.cpp:4531
#38 0x00007f711345e713 in QApplication::notify (this=0x7fff36dc6ab0, receiver=0x412f5c0, e=0x196fc70) at kernel/qapplication.cpp:4420
#39 0x00007f71141939e6 in KApplication::notify (this=0x7fff36dc6ab0, receiver=0x412f5c0, event=0x196fc70) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f7112a5ee9c in QCoreApplication::notifyInternal (this=0x7fff36dc6ab0, receiver=0x412f5c0, event=0x196fc70) at kernel/qcoreapplication.cpp:876
#41 0x00007f7112a62c6a in sendEvent (event=0x196fc70, receiver=0x412f5c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd63380) at kernel/qcoreapplication.cpp:1500
#43 0x00007f7112a8df93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007f710c5ded53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f710c5df0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f710c5df164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f7112a8e3bf in QEventDispatcherGlib::processEvents (this=0xd64c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007f7113501d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f7112a5dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f7112a5ded7 in QEventLoop::exec (this=0x7fff36dc6a40, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f7112a62f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#53 0x0000000000403629 in main (argc=1, argv=0x7fff36dc70d8) at ../../../kontact/src/main.cpp:218

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

Possible duplicates by query: bug 304126, bug 304073, bug 303885, bug 301108, bug 301052.

Reported using DrKonqi
Comment 1 carlo.tognetti 2012-07-31 11:03:20 UTC
Re-opening the aplication, the folder resulted as successfully moved.
Comment 2 Laurent Montel 2012-07-31 11:21:39 UTC
fixed in 4.9/4.8.5
Comment 3 Jekyll Wu 2012-08-19 17:17:23 UTC
*** Bug 295461 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2014-02-09 17:29:11 UTC
*** Bug 313591 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2014-02-09 17:29:23 UTC
*** Bug 314420 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2014-02-09 17:29:28 UTC
*** Bug 310179 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2014-02-09 17:29:54 UTC
*** Bug 330953 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2014-02-09 17:31:28 UTC
*** Bug 310409 has been marked as a duplicate of this bug. ***