Bug 296094

Summary: kmail2 the second time you move a folder for root to subfolder it crash
Product: [Applications] kontact Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: em+bugskde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Bruno Friedmann 2012-03-15 18:52:21 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 481"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I've successfully (on imap accounts) move one folder from root to my archiving/blabla move to this folder.
Then I'm trying to move a second folder (selected in the left panel ) right click move to recent folder and reselect the previously used.
The crash happen immediately

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff08ffd6760 (LWP 11683))]

Thread 3 (Thread 0x7ff077810700 (LWP 11684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff08c800c12 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff08d19f1a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007ff08c800c49 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007ff087e6df05 in start_thread (arg=0x7ff077810700) at pthread_create.c:301
#4  0x00007ff08d4f210d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7ff076f0f700 (LWP 11685)):
#0  0x00007ff08d4e8ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff08795ea98 in g_main_context_poll (n_fds=1, fds=0x7ff0700013e0, timeout=8469, context=0x7ff0700009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7ff0700009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007ff08795ef59 in g_main_context_iteration (context=0x7ff0700009a0, may_block=1) at gmain.c:3136
#4  0x00007ff08dc5f956 in QEventDispatcherGlib::processEvents (this=0x7ff0700008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff08dc2f682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff08dc2f8d7 in QEventLoop::exec (this=0x7ff076f0ee20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff08db30537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff08db3355b in QThreadPrivate::start (arg=0x63cad0) at thread/qthread_unix.cpp:298
#9  0x00007ff087e6df05 in start_thread (arg=0x7ff076f0f700) at pthread_create.c:301
#10 0x00007ff08d4f210d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ff08ffd6760 (LWP 11683)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fffbb8b8bc0) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xbdbdd0, child=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007ff08f343f8a in parent (this=0x7fffbb8b8c10) at /usr/include/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0xde58c0, child=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007ff08f343f8a in parent (this=0x7fffbb8b8c70) at /usr/include/QtCore/qabstractitemmodel.h:393
#11 KIdentityProxyModel::parent (this=0xde21d0, child=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007ff08add2b82 in sibling (acolumn=1, arow=0, this=0x3da2e430) at /usr/include/QtCore/qabstractitemmodel.h:396
#13 KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0xddcae0) at /usr/src/debug/kdepim-4.8.1/libkdepim/statisticsproxymodel.cpp:214
#14 0x00007ff08dc44761 in QMetaObject::activate (sender=0xde21d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#15 0x00007ff08f345993 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0xde2360) at /usr/src/debug/kdelibs-4.8.1/kdeui/itemviews/kidentityproxymodel.cpp:588
#16 0x00007ff08dc44761 in QMetaObject::activate (sender=0xde58c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#17 0x00007ff08f345993 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0x93ea90) at /usr/src/debug/kdelibs-4.8.1/kdeui/itemviews/kidentityproxymodel.cpp:588
#18 0x00007ff08dc44761 in QMetaObject::activate (sender=0xbdbdd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#19 0x00007ff08ebeef81 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0xd31270) at itemviews/qsortfilterproxymodel.cpp:1240
#20 0x00007ff08dc44761 in QMetaObject::activate (sender=0xc140f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#21 0x00007ff08dc2a5cc in QAbstractItemModel::beginMoveRows (this=0xc140f0, sourceParent=..., sourceFirst=1, sourceLast=1, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#22 0x00007ff08a31b41f in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0xd2e920, collection=..., sourceCollection=..., destCollection=...) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/entitytreemodel_p.cpp:917
#23 0x00007ff08dc44761 in QMetaObject::activate (sender=0xbca420, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbb8b9720) at kernel/qobject.cpp:3556
#24 0x00007ff08a29c7cf in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/build/akonadi/monitor.moc:252
#25 0x00007ff08a2d5fd3 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0xcf2af0, msg=..., col=<optimized out>, par=<optimized out>, dest=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/monitor_p.cpp:612
#26 0x00007ff08a2dde0a in Akonadi::MonitorPrivate::emitNotification (this=0xcf2af0, msg=...) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/monitor_p.cpp:285
#27 0x00007ff08a36e631 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xcf2af0, msg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/changerecorder_p.h:60
#28 0x00007ff08a321d36 in Akonadi::MonitorPrivate::flushPipeline (this=0xcf2af0) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/monitor_p.cpp:429
#29 0x00007ff08a321dc9 in Akonadi::MonitorPrivate::dataAvailable (this=0xcf2af0) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/monitor_p.cpp:438
#30 0x00007ff08dc44761 in QMetaObject::activate (sender=0xd2fa30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#31 0x00007ff08a36622d in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0xd2fa30, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.1/akonadi/entitycache_p.h:192
#32 0x00007ff08dc44761 in QMetaObject::activate (sender=0x27d3f4c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbb8b9e00) at kernel/qobject.cpp:3556
#33 0x00007ff08e0c5522 in KJob::result (this=<optimized out>, _t1=0x27d3f4c0) at /usr/src/debug/kdelibs-4.8.1/build/kdecore/kjob.moc:208
#34 0x00007ff08e0c5560 in KJob::emitResult (this=0x27d3f4c0) at /usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#35 0x00007ff08dc49926 in QObject::event (this=0x27d3f4c0, e=<optimized out>) at kernel/qobject.cpp:1204
#36 0x00007ff08e643e84 in notify_helper (e=0x3daf5a20, receiver=0x27d3f4c0, this=0x64e440) at kernel/qapplication.cpp:4550
#37 QApplicationPrivate::notify_helper (this=0x64e440, receiver=0x27d3f4c0, e=0x3daf5a20) at kernel/qapplication.cpp:4522
#38 0x00007ff08e648d03 in QApplication::notify (this=0x7fffbb8ba7c0, receiver=0x27d3f4c0, e=0x3daf5a20) at kernel/qapplication.cpp:4411
#39 0x00007ff08f388656 in KApplication::notify (this=0x7fffbb8ba7c0, receiver=0x27d3f4c0, event=0x3daf5a20) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#40 0x00007ff08dc3089c in QCoreApplication::notifyInternal (this=0x7fffbb8ba7c0, receiver=0x27d3f4c0, event=0x3daf5a20) at kernel/qcoreapplication.cpp:876
#41 0x00007ff08dc3413a in sendEvent (event=0x3daf5a20, receiver=0x27d3f4c0) at kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60da60) at kernel/qcoreapplication.cpp:1500
#43 0x00007ff08dc5f4c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007ff08795e58d in g_main_dispatch (context=0x645c00) at gmain.c:2425
#46 g_main_context_dispatch (context=0x645c00) at gmain.c:2995
#47 0x00007ff08795ed88 in g_main_context_iterate (context=0x645c00, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#48 0x00007ff08795ef59 in g_main_context_iteration (context=0x645c00, may_block=1) at gmain.c:3136
#49 0x00007ff08dc5f8ef in QEventDispatcherGlib::processEvents (this=0x60d320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007ff08e6e72de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007ff08dc2f682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007ff08dc2f8d7 in QEventLoop::exec (this=0x7fffbb8ba750, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007ff08dc34435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#54 0x0000000000403919 in main (argc=1, argv=0x7fffbb8bade8) at /usr/src/debug/kdepim-4.8.1/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 290361, bug 281878.

Possible duplicates by query: bug 290361, bug 289143, bug 287251, bug 286656, bug 285236.

Reported using DrKonqi
Comment 1 em+bugskde 2012-03-20 10:15:06 UTC
Created attachment 69756 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

I just moved a bunch of IMAP Mails to a Subfolder.

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=0x7fff4ad2f030) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x13ea480, child=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f58166e1f6a in parent (this=0x7fff4ad2f080) at /usr/include/qt4/QtCore/qabstractitemmodel.h:389
#9  KIdentityProxyModel::parent (this=0x1656b90, child=<optimized out>) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007f58166e1f6a in parent (this=0x7fff4ad2f0e0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:389
Comment 2 Christophe Marin 2012-03-30 14:28:00 UTC

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