Bug 297946 - Kmail2 imap account with 3 panels view, moving a folder by right clic lead to crash
Summary: Kmail2 imap account with 3 panels view, moving a folder by right clic lead to...
Status: RESOLVED DUPLICATE of bug 295622
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 05:44 UTC by Bruno Friedmann
Modified: 2012-04-13 06:20 UTC (History)
1 user (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 Bruno Friedmann 2012-04-12 05:44:39 UTC
Application: kmail (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2) "release 491"
Qt Version: 4.8.1
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:
Once kmail2 open use the 3 panel mode ( folders at left, message list middle, preview at right)
Select a sub,sub folder, (the message list is populated, the preview is shown).
Now right click -> Move to -> pick another destination (operation successfull)
Try to scroll or select another folder, there's a akonadi notification tell this (the moved folder) doesn't exist, and then kmail2 crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd077ea6780 (LWP 9320))]

Thread 5 (Thread 0x7fd059c03700 (LWP 9324)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd0696a9c12 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd06a0481a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007fd0696a9c49 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007fd072ff2f05 in start_thread (arg=0x7fd059c03700) at pthread_create.c:301
#4  0x00007fd0751ec10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fd059302700 (LWP 9325)):
#0  0x00007fd0751e2ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd06d3c5a98 in g_main_context_poll (n_fds=1, fds=0x7fd0540013e0, timeout=4168, context=0x7fd0540009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7fd0540009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007fd06d3c5f59 in g_main_context_iteration (context=0x7fd0540009a0, may_block=1) at gmain.c:3136
#4  0x00007fd0768492e6 in QEventDispatcherGlib::processEvents (this=0x7fd0540008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fd076819012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd076819267 in QEventLoop::exec (this=0x7fd059301e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd076719547 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fd07671c56b in QThreadPrivate::start (arg=0xb72740) at thread/qthread_unix.cpp:298
#9  0x00007fd072ff2f05 in start_thread (arg=0x7fd059302700) at pthread_create.c:301
#10 0x00007fd0751ec10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fd00b97b700 (LWP 29064)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:213
#1  0x00007fd07671c9df in wait (time=30000, this=0xb62b20) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xb62ac8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd07670fdef in QThreadPoolThread::run (this=0xcfbe00) at concurrent/qthreadpool.cpp:141
#4  0x00007fd07671c56b in QThreadPrivate::start (arg=0xcfbe00) at thread/qthread_unix.cpp:298
#5  0x00007fd072ff2f05 in start_thread (arg=0x7fd00b97b700) at pthread_create.c:301
#6  0x00007fd0751ec10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd0137af700 (LWP 29065)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:213
#1  0x00007fd07671c9df in wait (time=30000, this=0x16230d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1691f58, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd07670fdef in QThreadPoolThread::run (this=0x16a2f20) at concurrent/qthreadpool.cpp:141
#4  0x00007fd07671c56b in QThreadPrivate::start (arg=0x16a2f20) at thread/qthread_unix.cpp:298
#5  0x00007fd072ff2f05 in start_thread (arg=0x7fd0137af700) at pthread_create.c:301
#6  0x00007fd0751ec10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd077ea6780 (LWP 9320)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff2da88560) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x965290, child=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007fd077884fea in parent (this=0x7fff2da885b0) at /usr/include/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0xcf04d0, child=<optimized out>) at /usr/src/debug/kdelibs-4.8.2/kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007fd077884fea in parent (this=0x7fff2da88610) at /usr/include/QtCore/qabstractitemmodel.h:393
#11 KIdentityProxyModel::parent (this=0xd05de0, child=<optimized out>) at /usr/src/debug/kdelibs-4.8.2/kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007fd06f28cb82 in sibling (acolumn=1, arow=0, this=0x1ae5630) at /usr/include/QtCore/qabstractitemmodel.h:396
#13 KPIM::StatisticsProxyModel::Private::sourceLayoutAboutToBeChanged (this=0xcf0c70) at /usr/src/debug/kdepim-4.8.2/libkdepim/statisticsproxymodel.cpp:214
#14 0x00007fd07682e0f1 in QMetaObject::activate (sender=0xd05de0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#15 0x00007fd0778869f3 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0xc5d380) at /usr/src/debug/kdelibs-4.8.2/kdeui/itemviews/kidentityproxymodel.cpp:588
#16 0x00007fd07682e0f1 in QMetaObject::activate (sender=0xcf04d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#17 0x00007fd0778869f3 in KIdentityProxyModelPrivate::_k_sourceLayoutAboutToBeChanged (this=0xbbf310) at /usr/src/debug/kdelibs-4.8.2/kdeui/itemviews/kidentityproxymodel.cpp:588
#18 0x00007fd07682e0f1 in QMetaObject::activate (sender=0x965290, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#19 0x00007fd076149b71 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x9e76e0) at itemviews/qsortfilterproxymodel.cpp:1240
#20 0x00007fd07682e0f1 in QMetaObject::activate (sender=0x90e410, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#21 0x00007fd076813f5c in QAbstractItemModel::beginMoveRows (this=0x90e410, sourceParent=..., sourceFirst=0, sourceLast=0, destinationParent=..., destinationChild=0) at kernel/qabstractitemmodel.cpp:2635
#22 0x00007fd0718c041f in Akonadi::EntityTreeModelPrivate::monitoredCollectionMoved (this=0x9eaac0, collection=..., sourceCollection=..., destCollection=...) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/entitytreemodel_p.cpp:917
#23 0x00007fd07682e0f1 in QMetaObject::activate (sender=0x85b460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2da890c0) at kernel/qobject.cpp:3556
#24 0x00007fd0718417cf in Akonadi::Monitor::collectionMoved (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.2/build/akonadi/monitor.moc:252
#25 0x00007fd07187afd3 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x6ee020, msg=..., col=<optimized out>, par=<optimized out>, dest=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/monitor_p.cpp:612
#26 0x00007fd071882e0a in Akonadi::MonitorPrivate::emitNotification (this=0x6ee020, msg=...) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/monitor_p.cpp:285
#27 0x00007fd071913631 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x6ee020, msg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/changerecorder_p.h:60
#28 0x00007fd0718c6d36 in Akonadi::MonitorPrivate::flushPipeline (this=0x6ee020) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/monitor_p.cpp:429
#29 0x00007fd0718c6dc9 in Akonadi::MonitorPrivate::dataAvailable (this=0x6ee020) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/monitor_p.cpp:438
#30 0x00007fd07682e0f1 in QMetaObject::activate (sender=0x9e7070, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#31 0x00007fd07190b22d in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x9e7070, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/entitycache_p.h:192
#32 0x00007fd07682e0f1 in QMetaObject::activate (sender=0x77b010, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2da897a0) at kernel/qobject.cpp:3556
#33 0x00007fd0772df522 in KJob::result (this=<optimized out>, _t1=0x77b010) at /usr/src/debug/kdelibs-4.8.2/build/kdecore/kjob.moc:208
#34 0x00007fd0772df560 in KJob::emitResult (this=0x77b010) at /usr/src/debug/kdelibs-4.8.2/kdecore/jobs/kjob.cpp:318
#35 0x00007fd0768332b6 in QObject::event (this=0x77b010, e=<optimized out>) at kernel/qobject.cpp:1204
#36 0x00007fd075b9f0d4 in notify_helper (e=0x141a8f0, receiver=0x77b010, this=0x6720f0) at kernel/qapplication.cpp:4554
#37 QApplicationPrivate::notify_helper (this=0x6720f0, receiver=0x77b010, e=0x141a8f0) at kernel/qapplication.cpp:4526
#38 0x00007fd075ba3f53 in QApplication::notify (this=0x7fff2da8bb50, receiver=0x77b010, e=0x141a8f0) at kernel/qapplication.cpp:4415
#39 0x00007fd0778c9886 in KApplication::notify (this=0x7fff2da8bb50, receiver=0x77b010, event=0x141a8f0) at /usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#40 0x00007fd07681a22c in QCoreApplication::notifyInternal (this=0x7fff2da8bb50, receiver=0x77b010, event=0x141a8f0) at kernel/qcoreapplication.cpp:876
#41 0x00007fd07681daca in sendEvent (event=0x141a8f0, receiver=0x77b010) at kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60b740) at kernel/qcoreapplication.cpp:1500
#43 0x00007fd076848e53 in sendPostedEvents () at kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x6748f0) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007fd06d3c558d in g_main_dispatch (context=0x674800) at gmain.c:2425
#46 g_main_context_dispatch (context=0x674800) at gmain.c:2995
#47 0x00007fd06d3c5d88 in g_main_context_iterate (context=0x674800, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#48 0x00007fd06d3c5f59 in g_main_context_iteration (context=0x674800, may_block=1) at gmain.c:3136
#49 0x00007fd07684927f in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007fd075c4276e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007fd076819012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007fd076819267 in QEventLoop::exec (this=0x7fff2da8a0f0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007fd075fe9951 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2113
#54 0x00007fd0718543af in Akonadi::EntityTreeView::contextMenuEvent (this=<optimized out>, event=0x7fff2da8add0) at /usr/src/debug/kdepimlibs-4.8.2/akonadi/entitytreeview.cpp:278
#55 0x00007fd075bef534 in QWidget::event (this=0xb265a0, event=0x7fff2da8add0) at kernel/qwidget.cpp:8529
#56 0x00007fd075faafb6 in QFrame::event (this=0xb265a0, e=0x7fff2da8add0) at widgets/qframe.cpp:557
#57 0x00007fd0760bf57b in QAbstractItemView::viewportEvent (this=0xb265a0, event=0x7fff2da8add0) at itemviews/qabstractitemview.cpp:1644
#58 0x00007fd076107195 in QTreeView::viewportEvent (this=0xb265a0, event=0x7fff2da8add0) at itemviews/qtreeview.cpp:1257
#59 0x00007fd07681a3b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xb07740, event=0x7fff2da8add0) at kernel/qcoreapplication.cpp:986
#60 0x00007fd075b9f09f in notify_helper (e=0x7fff2da8add0, receiver=0xb07740, this=0x6720f0) at kernel/qapplication.cpp:4550
#61 QApplicationPrivate::notify_helper (this=0x6720f0, receiver=0xb07740, e=0x7fff2da8add0) at kernel/qapplication.cpp:4526
#62 0x00007fd075ba440d in QApplication::notify (this=<optimized out>, receiver=0xb07740, e=0x7fff2da8add0) at kernel/qapplication.cpp:4176
#63 0x00007fd0778c9886 in KApplication::notify (this=0x7fff2da8bb50, receiver=0xb07740, event=0x7fff2da8add0) at /usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#64 0x00007fd07681a22c in QCoreApplication::notifyInternal (this=0x7fff2da8bb50, receiver=0xb07740, event=0x7fff2da8add0) at kernel/qcoreapplication.cpp:876
#65 0x00007fd075c1bee8 in sendSpontaneousEvent (event=0x7fff2da8add0, receiver=0xb07740) at ../../src/corelib/kernel/qcoreapplication.h:234
#66 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4518
#67 0x00007fd075c1ad4a in QApplication::x11ProcessEvent (this=0x7fff2da8bb50, event=0x7fff2da8b660) at kernel/qapplication_x11.cpp:3636
#68 0x00007fd075c42ae2 in x11EventSourceDispatch (s=0x675b50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x00007fd06d3c558d in g_main_dispatch (context=0x674800) at gmain.c:2425
#70 g_main_context_dispatch (context=0x674800) at gmain.c:2995
#71 0x00007fd06d3c5d88 in g_main_context_iterate (context=0x674800, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#72 0x00007fd06d3c5f59 in g_main_context_iteration (context=0x674800, may_block=1) at gmain.c:3136
#73 0x00007fd07684927f in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#74 0x00007fd075c4276e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007fd076819012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007fd076819267 in QEventLoop::exec (this=0x7fff2da8ba30, flags=...) at kernel/qeventloop.cpp:204
#77 0x00007fd07681ddc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#78 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.2/kmail/main.cpp:145

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

Possible duplicates by query: bug 296933, bug 296832, bug 295622, bug 284134, bug 274398.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-04-13 06:20:52 UTC

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