Bug 290403

Summary: kontact crashes while deleting messages from inbox
Product: [Applications] kontact Reporter: Darin McBride <Tanktalus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darin McBride 2012-01-02 14:30:56 UTC
Application: kontact (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
I started up kontact, selected my inbox, and deleted the top two messages.  The first one seemed to go alright, the second one caused this crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f3a8d42a780 (LWP 11905))]

Thread 6 (Thread 0x7f3a7592c700 (LWP 11906)):
#0  0x00007f3a8520144c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f3a89bdb674 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f3a851fcc5c in start_thread () from /lib64/libpthread.so.0
#3  0x00007f3a8a759fcd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f3a7502b700 (LWP 11907)):
#0  0x00007f3a8a751353 in poll () from /lib64/libc.so.6
#1  0x00007f3a84020b2d in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3a84021001 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3a8bcca846 in QEventDispatcherGlib::processEvents (this=0x1a9f280, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3a8bc940f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3a8bc94335 in QEventLoop::exec (this=0x7f3a7502ae00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3a8bb81348 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f3a8bb85137 in QThreadPrivate::start (arg=0x1a9e460) at thread/qthread_unix.cpp:331
#8  0x00007f3a851fcc5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3a8a759fcd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3a6c4b7700 (LWP 11911)):
#0  0x00007f3a852017cb in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f3a8bb8597d in wait (time=<optimized out>, this=0x22c5390) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x22c52a0, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3a8bb7773e in QThreadPoolThread::run (this=0x22d9090) at concurrent/qthreadpool.cpp:140
#4  0x00007f3a8bb85137 in QThreadPrivate::start (arg=0x22d9090) at thread/qthread_unix.cpp:331
#5  0x00007f3a851fcc5c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3a8a759fcd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f3a6b478700 (LWP 11919)):
#0  0x00007f3a852017cb in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f3a8bb8597d in wait (time=<optimized out>, this=0x2a93fc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a93ed0, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3a8bb7773e in QThreadPoolThread::run (this=0x2a94ee0) at concurrent/qthreadpool.cpp:140
#4  0x00007f3a8bb85137 in QThreadPrivate::start (arg=0x2a94ee0) at thread/qthread_unix.cpp:331
#5  0x00007f3a851fcc5c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3a8a759fcd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3a6222c700 (LWP 11921)):
#0  0x00007f3a852017cb in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f3a8bb8597d in wait (time=<optimized out>, this=0x2d94030) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d9e760, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f3a8bb7773e in QThreadPoolThread::run (this=0x2d93e00) at concurrent/qthreadpool.cpp:140
#4  0x00007f3a8bb85137 in QThreadPrivate::start (arg=0x2d93e00) at thread/qthread_unix.cpp:331
#5  0x00007f3a851fcc5c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3a8a759fcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3a8d42a780 (LWP 11905)):
[KCrash Handler]
#6  0x00007f3a8a6b5a55 in raise () from /lib64/libc.so.6
#7  0x00007f3a8a6b6d55 in abort () from /lib64/libc.so.6
#8  0x00007f3a8bb78654 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2291
#9  0x00007f3a8bb787ed in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f3a8bd05d58 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffe8e83c20) at global/qglobal.cpp:2337
#10 0x00007f3a8bb78985 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2520
#11 0x00007f3a8c720658 in KSelectionProxyModelPrivate::topLevelRowCount (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:1344
#12 0x00007f3a8c7258d1 in KSelectionProxyModel::rowCount (this=0x23bf550, index=...) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:2160
#13 0x00007f3a8bc87482 in QAbstractItemModel::hasIndex (this=0x23bf550, row=0, column=0, parent=...) at kernel/qabstractitemmodel.cpp:1616
#14 0x00007f3a8c7212a9 in KSelectionProxyModel::index (this=0x23bf550, row=0, column=0, parent=...) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:2184
#15 0x00007f3a8b56bcd0 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x26205d0, proxy_index=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:373
#16 0x00007f3a8b56bd1d in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:2500
#17 0x00007f3a8b56a6f6 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=34) at itemviews/qsortfilterproxymodel.cpp:1713
#18 0x00007f3a6f871ab0 in MessageList::StorageModel::itemForRow(int) const () from /usr/lib64/libmessagelist.so.4
#19 0x00007f3a6f8765c8 in MessageList::Widget::Private::itemForRow(int) const () from /usr/lib64/libmessagelist.so.4
#20 0x00007f3a6f877192 in MessageList::Widget::itemListFromPersistentSet(long) () from /usr/lib64/libmessagelist.so.4
#21 0x00007f3a6f86d67f in MessageList::Pane::itemListFromPersistentSet(long) () from /usr/lib64/libmessagelist.so.4
#22 0x00007f3a7045e80a in KMMainWidget::trashMessageSelected (this=0x217cd40, ref=2) at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95/kmail/kmmainwidget.cpp:2128
#23 0x00007f3a704727ed in KMMainWidget::qt_metacall (this=0x217cd40, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffe8e842c0) at /var/tmp/portage/kde-base/kmail-4.7.95/work/kmail-4.7.95_build/kmail/kmmainwidget.moc:352
#24 0x00007f3a8bcb123f in QMetaObject::activate (sender=0x22bc9e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe8e842c0) at kernel/qobject.cpp:3278
#25 0x00007f3a8aed8182 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#26 0x00007f3a8aed8373 in QAction::activate (this=0x22bc9e0, event=<optimized out>) at kernel/qaction.cpp:1257
#27 0x00007f3a8aed850a in QAction::event (this=0x22bc9e0, e=0x7fffe8e84920) at kernel/qaction.cpp:1183
#28 0x00007f3a8c655ebc in KAction::event (this=0x22bc9e0, event=0x7fffe8e84920) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/actions/kaction.cpp:131
#29 0x00007f3a8aedd2d4 in QApplicationPrivate::notify_helper (this=0x1a98b00, receiver=0x22bc9e0, e=0x7fffe8e84920) at kernel/qapplication.cpp:4481
#30 0x00007f3a8aee53ed in QApplication::notify (this=<optimized out>, receiver=0x22bc9e0, e=0x7fffe8e84920) at kernel/qapplication.cpp:4360
#31 0x00007f3a8c738b52 in KApplication::notify (this=0x7fffe8e85f10, receiver=0x22bc9e0, event=0x7fffe8e84920) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#32 0x00007f3a8bc9608b in QCoreApplication::notifyInternal (this=0x7fffe8e85f10, receiver=0x22bc9e0, event=0x7fffe8e84920) at kernel/qcoreapplication.cpp:787
#33 0x00007f3a8af1b4c6 in sendEvent (event=0x7fffe8e84920, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffe8e84f60) at kernel/qshortcutmap.cpp:879
#35 0x00007f3a8af1df1f in QShortcutMap::tryShortcutEvent (this=0x1a98c28, o=<optimized out>, e=0x7fffe8e84f60) at kernel/qshortcutmap.cpp:364
#36 0x00007f3a8aee76ee in QApplication::notify (this=0x7fffe8e85f10, receiver=0x21a6670, e=0x7fffe8e84f60) at kernel/qapplication.cpp:3923
#37 0x00007f3a8c738b52 in KApplication::notify (this=0x7fffe8e85f10, receiver=0x21a6670, event=0x7fffe8e84f60) at /var/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#38 0x00007f3a8bc9608b in QCoreApplication::notifyInternal (this=0x7fffe8e85f10, receiver=0x21a6670, event=0x7fffe8e84f60) at kernel/qcoreapplication.cpp:787
#39 0x00007f3a8af9cb1a in QKeyMapper::sendKeyEvent (keyWidget=0x21a6670, grab=<optimized out>, type=QEvent::KeyPress, code=16777223, modifiers=<optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#40 0x00007f3a8af9cf78 in QKeyMapperPrivate::translateKeyEvent (this=<optimized out>, keyWidget=0x21a6670, event=<optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1836
#41 0x00007f3a8af74369 in QApplication::x11ProcessEvent (this=0x7fffe8e85f10, event=0x7fffe8e85b70) at kernel/qapplication_x11.cpp:3483
#42 0x00007f3a8afa15ca in x11EventSourceDispatch (s=0x1aa3aa0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007f3a840204d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f3a84020e18 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f3a84021001 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f3a8bcca7ef in QEventDispatcherGlib::processEvents (this=0x1a68d70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007f3a8afa125e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f3a8bc940f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f3a8bc94335 in QEventLoop::exec (this=0x7fffe8e85e80, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f3a8bc9a0eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#51 0x000000000040433d in main (argc=1, argv=0x7fffe8e86478) at /var/tmp/portage/kde-base/kontact-4.7.95/work/kontact-4.7.95/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-02 16:54:13 UTC

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