Bug 285185

Summary: KMail crashes when changing directory attributes
Product: [Frameworks and Libraries] Akonadi Reporter: micu <micuintus>
Component: libakonadiAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description micu 2011-10-28 15:28:25 UTC
Application: kmail (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.8.0
Operating System: Linux 3.1.0-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed: I selected a list of mail folders and I wanted to change their attributes to »do not index these mails«

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f98433f6840 (LWP 1839))]

Thread 3 (Thread 0x7f983742f700 (LWP 1916)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000033db3973cc in WTF::TCMalloc_PageHeap::scavengerThread (this=0x33dbd90f80) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00000033db3974f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003044007d90 in start_thread (arg=0x7f983742f700) at pthread_create.c:309
#4  0x00000030434eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f9836b1e700 (LWP 1917)):
#0  0x00007fff685a58de in ?? ()
#1  0x00000030444041f1 in __GI_clock_gettime (clock_id=1, tp=0x7f9836b1dad0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x000000304c8d2004 in do_gettime (frac=0x7f9836b1dae8, sec=0x7f9836b1dae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x000000304c9a6f8d in QTimerInfoList::updateCurrentTime (this=0x7f98300020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x000000304c9a72c3 in QTimerInfoList::timerWait (this=0x7f98300020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x000000304c9a5d5c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9836b1dbac) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003043044012 in g_main_context_prepare (context=0x7f98300009a0, priority=0x7f9836b1dc18) at gmain.c:2746
#8  0x0000003043044e1d in g_main_context_iterate (context=0x7f98300009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#9  0x000000304304544c in g_main_context_iteration (context=0x7f98300009a0, may_block=1) at gmain.c:3136
#10 0x000000304c9a6886 in QEventDispatcherGlib::processEvents (this=0x7f98300008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#11 0x000000304c976c72 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x000000304c976ec7 in QEventLoop::exec (this=0x7f9836b1dd40, flags=...) at kernel/qeventloop.cpp:204
#13 0x000000304c878ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x000000304c87bb1b in QThreadPrivate::start (arg=0x146e270) at thread/qthread_unix.cpp:298
#15 0x0000003044007d90 in start_thread (arg=0x7f9836b1e700) at pthread_create.c:309
#16 0x00000030434eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f98433f6840 (LWP 1839)):
[KCrash Handler]
#6  internalPointer (this=0x1be00000152) at /usr/include/QtCore/qabstractitemmodel.h:69
#7  Akonadi::EntityTreeModel::setData (this=0x10ccd50, index=..., value=..., role=53) at /usr/src/debug/kdepimlibs-4.7.2/akonadi/entitytreemodel.cpp:708
#8  0x00000033d715d88b in rootIndexAboutToBeRemoved (removedRootIndex=..., this=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.2/akonadi/selectionproxymodel.cpp:59
#9  Akonadi::SelectionProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.2/x86_64-redhat-linux-gnu/akonadi/selectionproxymodel.moc:53
#10 0x000000304c98b7c1 in QMetaObject::activate (sender=0x1863770, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff685745d0) at kernel/qobject.cpp:3546
#11 0x00000033d3434142 in KSelectionProxyModel::rootIndexAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/x86_64-redhat-linux-gnu/kdeui/moc_kselectionproxymodel.cpp:161
#12 0x00000033d343d2bb in KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x1898c40, range=...) at /usr/src/debug/kdelibs-4.7.2/kdeui/itemviews/kselectionproxymodel.cpp:1691
#13 0x00000033d343d698 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x1898c40, selection=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kdeui/itemviews/kselectionproxymodel.cpp:1610
#14 0x00000033d343f1cb in KSelectionProxyModelPrivate::selectionChanged (this=0x1898c40, _selected=<optimized out>, _deselected=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kdeui/itemviews/kselectionproxymodel.cpp:1860
#15 0x000000304c98b7c1 in QMetaObject::activate (sender=0x1363450, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff68574dd0) at kernel/qobject.cpp:3546
#16 0x00000033d273ab37 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#17 0x00000033d2740531 in QItemSelectionModel::emitSelectionChanged (this=0x1363450, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1600
#18 0x00000033d27418e1 in QItemSelectionModel::select (this=0x1363450, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1110
#19 0x00000033e2c9126a in MessageList::Pane::Private::onSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libmessagelist.so.4
#20 0x000000304c98b7c1 in QMetaObject::activate (sender=0x137bf60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff68575320) at kernel/qobject.cpp:3546
#21 0x00000033d273ab37 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#22 0x00000033d2740531 in QItemSelectionModel::emitSelectionChanged (this=0x137bf60, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1600
#23 0x00000033d27418e1 in QItemSelectionModel::select (this=0x137bf60, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1110
#24 0x00000033d272c2b5 in QTreeViewPrivate::select (this=0xdb1db0, topIndex=<optimized out>, bottomIndex=<optimized out>, command=...) at itemviews/qtreeview.cpp:3660
#25 0x00000033d272d002 in QTreeView::setSelection (this=<optimized out>, rect=<optimized out>, command=...) at itemviews/qtreeview.cpp:2274
#26 0x00000033d26e831e in QAbstractItemView::mousePressEvent (this=0xd95e90, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#27 0x00000033d221a019 in QWidget::event (this=0xd95e90, event=0x7fff68576880) at kernel/qwidget.cpp:8346
#28 0x00000033d25d1676 in QFrame::event (this=0xd95e90, e=0x7fff68576880) at widgets/qframe.cpp:557
#29 0x00000033d26e32db in QAbstractItemView::viewportEvent (this=0xd95e90, event=0x7fff68576880) at itemviews/qabstractitemview.cpp:1644
#30 0x00000033d272a875 in QTreeView::viewportEvent (this=0xd95e90, event=0x7fff68576880) at itemviews/qtreeview.cpp:1257
#31 0x000000304c977cc8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xd9f190, event=0x7fff68576880) at kernel/qcoreapplication.cpp:986
#32 0x00000033d21c965f in notify_helper (e=0x7fff68576880, receiver=0xd9f190, this=0xcff100) at kernel/qapplication.cpp:4514
#33 QApplicationPrivate::notify_helper (this=0xcff100, receiver=0xd9f190, e=0x7fff68576880) at kernel/qapplication.cpp:4490
#34 0x00000033d21cede3 in QApplication::notify (this=<optimized out>, receiver=0xd9f190, e=0x7fff68576880) at kernel/qapplication.cpp:4061
#35 0x00000033d3450416 in KApplication::notify (this=0x7fff68577640, receiver=0xd9f190, event=0x7fff68576880) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#36 0x000000304c977b3c in QCoreApplication::notifyInternal (this=0x7fff68577640, receiver=0xd9f190, event=0x7fff68576880) at kernel/qcoreapplication.cpp:876
#37 0x00000033d21ca662 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=0xd9f190, event=0x7fff68576880, alienWidget=0xd9f190, nativeWidget=0xdd0a60, buttonDown=0xd9f190, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3157
#39 0x00000033d2245e05 in QETWidget::translateMouseEvent (this=0xdd0a60, event=<optimized out>) at kernel/qapplication_x11.cpp:4509
#40 0x00000033d2244cca in QApplication::x11ProcessEvent (this=0x7fff68577640, event=0x7fff68577140) at kernel/qapplication_x11.cpp:3635
#41 0x00000033d226c48c in x11EventSourceDispatch (s=0xd1b3c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x0000003043044a7d in g_main_dispatch (context=0xd1a0a0) at gmain.c:2425
#43 g_main_context_dispatch (context=0xd1a0a0) at gmain.c:2995
#44 0x0000003043045278 in g_main_context_iterate (context=0xd1a0a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#45 0x000000304304544c in g_main_context_iteration (context=0xd1a0a0, may_block=1) at gmain.c:3136
#46 0x000000304c9a681f in QEventDispatcherGlib::processEvents (this=0xcbaaf0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00000033d226c17e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x000000304c976c72 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x000000304c976ec7 in QEventLoop::exec (this=0x7fff68577510, flags=...) at kernel/qeventloop.cpp:204
#50 0x000000304c97b8c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#51 0x0000000000402d23 in ?? ()
#52 0x000000304342169d in __libc_start_main (main=0x4022f0, argc=3, ubp_av=0x7fff68577a98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff68577a88) at libc-start.c:226
#53 0x0000000000403205 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-17 23:38:14 UTC

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