Bug 279655 - Akonadi console crashes when changing selection in treeview (browser)
Summary: Akonadi console crashes when changing selection in treeview (browser)
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 12:45 UTC by thomas gahr
Modified: 2011-09-28 13:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas gahr 2011-08-08 12:45:45 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.8.0
Operating System: Linux 2.6.40-4.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:
Due to an earlier attempt at migrating to kmail2 I had old stuff in "KMail folders" and wanted to get rid of it.
I selected all children items of "KMail folder" in the treeview and after not being able to delete them all at once I wanted to select a single item. => crash

I'm about to try again in a few seconds so I will be able to tell if this is reproducible

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fede2a68860 (LWP 24131))]

Thread 3 (Thread 0x7fedd81c4700 (LWP 24134)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000039f0f84d6c in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00000039f0f84e99 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x0000003a53207af1 in start_thread (arg=0x7fedd81c4700) at pthread_create.c:305
#4  0x0000003a52edfb7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fedd78c3700 (LWP 24135)):
#0  0x0000003a52ed7293 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003a52a42d24 in g_main_context_poll (n_fds=1, fds=0x7fedd00013e0, priority=<optimized out>, timeout=3049, context=0x7fedd00009a0) at gmain.c:3405
#2  g_main_context_iterate (context=0x7fedd00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
#3  0x0000003a52a4325c in g_main_context_iteration (context=0x7fedd00009a0, may_block=1) at gmain.c:3155
#4  0x000000356dfa5016 in QEventDispatcherGlib::processEvents (this=0x7fedd00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000356df752a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000356df754f7 in QEventLoop::exec (this=0x7fedd78c2d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x000000356de76eb7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x000000356de79e9b in QThreadPrivate::start (arg=0x19f45d0) at thread/qthread_unix.cpp:298
#9  0x0000003a53207af1 in start_thread (arg=0x7fedd78c3700) at pthread_create.c:305
#10 0x0000003a52edfb7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fede2a68860 (LWP 24131)):
[KCrash Handler]
#6  data (this=0x4ffffff07) at ../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../src/corelib/global/qglobal.h:2416
#8  d_func (this=0x4fffffeff) at kernel/qabstractitemmodel.h:310
#9  QPersistentModelIndexData::create (index=...) at kernel/qabstractitemmodel.cpp:62
#10 0x000000356df6c07b in QPersistentModelIndex::QPersistentModelIndex (this=0x7fff7837e020, index=<optimized out>) at kernel/qabstractitemmodel.cpp:141
#11 0x00000039ea2386ba in KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x198df10, range=...) at /usr/src/debug/kdelibs-4.7.0/kdeui/itemviews/kselectionproxymodel.cpp:1668
#12 0x00000039ea238fe8 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x198df10, selection=<optimized out>) at /usr/src/debug/kdelibs-4.7.0/kdeui/itemviews/kselectionproxymodel.cpp:1609
#13 0x00000039ea23ab1b in KSelectionProxyModelPrivate::selectionChanged (this=0x198df10, _selected=<optimized out>, _deselected=<optimized out>) at /usr/src/debug/kdelibs-4.7.0/kdeui/itemviews/kselectionproxymodel.cpp:1859
#14 0x00000039ea23c45e in KSelectionProxyModel::qt_metacall (this=0x198dca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff7837e620) at /usr/src/debug/kdelibs-4.7.0/x86_64-redhat-linux-gnu/kdeui/moc_kselectionproxymodel.cpp:134
#15 0x00000039ee95ad95 in Akonadi::SelectionProxyModel::qt_metacall (this=0x198dca0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff7837e620) at /usr/src/debug/kdepimlibs-4.7.0/x86_64-redhat-linux-gnu/akonadi/selectionproxymodel.moc:70
#16 0x000000356df8a14d in QMetaObject::activate (sender=0x198d5a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7837e620) at kernel/qobject.cpp:3565
#17 0x000000356eb32887 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#18 0x000000356eb38261 in QItemSelectionModel::emitSelectionChanged (this=0x198d5a0, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1600
#19 0x000000356eb39609 in QItemSelectionModel::select (this=0x198d5a0, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1110
#20 0x000000356eb23f15 in QTreeViewPrivate::select (this=0x19686b0, topIndex=<optimized out>, bottomIndex=<optimized out>, command=...) at itemviews/qtreeview.cpp:3643
#21 0x000000356eb24c62 in QTreeView::setSelection (this=<optimized out>, rect=<optimized out>, command=...) at itemviews/qtreeview.cpp:2273
#22 0x000000356eae00fe in QAbstractItemView::mousePressEvent (this=0x16593c0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1677
#23 0x000000356e614e09 in QWidget::event (this=0x16593c0, event=0x7fff7837fb80) at kernel/qwidget.cpp:8338
#24 0x000000356e9ca536 in QFrame::event (this=0x16593c0, e=0x7fff7837fb80) at widgets/qframe.cpp:557
#25 0x000000356eadb0eb in QAbstractItemView::viewportEvent (this=0x16593c0, event=0x7fff7837fb80) at itemviews/qabstractitemview.cpp:1631
#26 0x000000356eb224d5 in QTreeView::viewportEvent (this=0x16593c0, event=0x7fff7837fb80) at itemviews/qtreeview.cpp:1256
#27 0x000000356df762f8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1953a60, event=0x7fff7837fb80) at kernel/qcoreapplication.cpp:963
#28 0x000000356e5c452f in notify_helper (e=0x7fff7837fb80, receiver=0x1953a60, this=0x157d9d0) at kernel/qapplication.cpp:4491
#29 QApplicationPrivate::notify_helper (this=0x157d9d0, receiver=0x1953a60, e=0x7fff7837fb80) at kernel/qapplication.cpp:4467
#30 0x000000356e5c9cc3 in QApplication::notify (this=<optimized out>, receiver=0x1953a60, e=0x7fff7837fb80) at kernel/qapplication.cpp:4038
#31 0x00000039ea24c156 in KApplication::notify (this=0x7fff78380880, receiver=0x1953a60, event=0x7fff7837fb80) at /usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#32 0x000000356df7616c in QCoreApplication::notifyInternal (this=0x7fff78380880, receiver=0x1953a60, event=0x7fff7837fb80) at kernel/qcoreapplication.cpp:853
#33 0x000000356e5c5532 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=0x1953a60, event=0x7fff7837fb80, alienWidget=0x0, nativeWidget=0x1953a60, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3153
#35 0x000000356e640af5 in QETWidget::translateMouseEvent (this=0x1953a60, event=<optimized out>) at kernel/qapplication_x11.cpp:4473
#36 0x000000356e63f9ba in QApplication::x11ProcessEvent (this=0x7fff78380880, event=0x7fff78380440) at kernel/qapplication_x11.cpp:3599
#37 0x000000356e6672cc in x11EventSourceDispatch (s=0x15810c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#38 0x0000003a52a427ed in g_main_dispatch (context=0x15800e0) at gmain.c:2441
#39 g_main_context_dispatch (context=0x15800e0) at gmain.c:3014
#40 0x0000003a52a42fc8 in g_main_context_iterate (context=0x15800e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#41 0x0000003a52a4325c in g_main_context_iteration (context=0x15800e0, may_block=1) at gmain.c:3155
#42 0x000000356dfa4faf in QEventDispatcherGlib::processEvents (this=0x154bf40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#43 0x000000356e666fbe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#44 0x000000356df752a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x000000356df754f7 in QEventLoop::exec (this=0x7fff78380810, flags=...) at kernel/qeventloop.cpp:204
#46 0x000000356df79f35 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1125
#47 0x00000000004186c9 in main (argc=1, argv=0x7fff78380cb8) at /usr/src/debug/kdepim-4.7.0/akonadiconsole/main.cpp:65

Reported using DrKonqi
Comment 1 thomas gahr 2011-08-08 12:53:09 UTC
OK, unfortunately this is not reproducible
Comment 2 thomas gahr 2011-09-28 13:38:58 UTC
Well, considering that a) akonadiconsole is a developer-tool and b) the bug is not reproducible nor have I witnessed it since back then, I'll mark this bug as resolved. I don't think there's a need to spend developer-resources on this, there are more important things to do imho.