Bug 290660

Summary: kmail crashed on deselecting a parent folder - (thread4)
Product: [Applications] kmail2 Reporter: Lewkow Brigitte <biby>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: pancho.s, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lewkow Brigitte 2012-01-05 03:47:55 UTC
Application: kmail (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

I created a folder, selected others brothers folders to put in this one created but the parent folder was selected too, then i decided to deselect it (because the moving didn't want to proceed) and it was so logical! When i was  deselecting this parent folder the crash happened!

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

Thread 4 (Thread 0x7f9ee12f3700 (LWP 2573)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9ef2bdcc2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9ef3593220) at wtf/FastMalloc.cpp:2495
#2  0x00007f9ef2bdcd59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f9efb82befc in start_thread (arg=0x7f9ee12f3700) at pthread_create.c:304
#4  0x00007f9efdc8589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9ee09e2700 (LWP 2574)):
#0  pthread_mutex_lock (mutex=0x193c708) at forward.c:182
#1  0x00007f9ef66ca023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ef66cadfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ef66cb429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9efe5f7f3e in QEventDispatcherGlib::processEvents (this=0x193c430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9efe5cbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9efe5cbef7 in QEventLoop::exec (this=0x7f9ee09e1de0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f9efe4e327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f9efe4e5d05 in QThreadPrivate::start (arg=0x193b6c0) at thread/qthread_unix.cpp:331
#9  0x00007f9efb82befc in start_thread (arg=0x7f9ee09e2700) at pthread_create.c:304
#10 0x00007f9efdc8589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9e98e5a700 (LWP 2578)):
#0  0x00007f9efdc79773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9ef66caf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ef66cb429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9efe5f7f3e in QEventDispatcherGlib::processEvents (this=0x1d95fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f9efe5cbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9efe5cbef7 in QEventLoop::exec (this=0x7f9e98e59db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f9efe4e327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f9efe5aecbf in QInotifyFileSystemWatcherEngine::run (this=0x1d92650) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9efe4e5d05 in QThreadPrivate::start (arg=0x1d92650) at thread/qthread_unix.cpp:331
#9  0x00007f9efb82befc in start_thread (arg=0x7f9e98e5a700) at pthread_create.c:304
#10 0x00007f9efdc8589d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f009177a0 (LWP 2568)):
[KCrash Handler]
#6  0x00007f9efa95c5a7 in Akonadi::EntityTreeModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib/libakonadi-kde.so.4
#7  0x00007f9efa9c6804 in Akonadi::SelectionProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#8  0x00007f9efe5dfeba in QMetaObject::activate (sender=0x2bd63b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96e1f840) at kernel/qobject.cpp:3278
#9  0x00007f9f00300e22 in KSelectionProxyModel::rootIndexAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>) at ./moc_kselectionproxymodel.cpp:147
#10 0x00007f9f0030a023 in KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x2979d30, range=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1691
#11 0x00007f9f0030a3f8 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x2979d30, selection=<optimized out>) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1610
#12 0x00007f9f0030bf2b in KSelectionProxyModelPrivate::selectionChanged (this=0x2979d30, _selected=<optimized out>, _deselected=<optimized out>) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1860
#13 0x00007f9f0030d80e in KSelectionProxyModel::qt_metacall (this=0x2bd63b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff96e20050) at ./moc_kselectionproxymodel.cpp:134
#14 0x00007f9efa9c6715 in Akonadi::SelectionProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#15 0x00007f9efe5dfeba in QMetaObject::activate (sender=0x1758010, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96e20050) at kernel/qobject.cpp:3278
#16 0x00007f9eff05be97 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#17 0x00007f9eff061871 in QItemSelectionModel::emitSelectionChanged (this=0x1758010, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1594
#18 0x00007f9eff062c1f in QItemSelectionModel::select (this=0x1758010, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#19 0x00007f9ef9eb9a11 in MessageList::Pane::Private::onSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libmessagelist.so.4
#20 0x00007f9ef9eba9c7 in MessageList::Pane::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libmessagelist.so.4
#21 0x00007f9efe5dfeba in QMetaObject::activate (sender=0x189ac30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff96e20550) at kernel/qobject.cpp:3278
#22 0x00007f9eff05be97 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#23 0x00007f9eff061871 in QItemSelectionModel::emitSelectionChanged (this=0x189ac30, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1594
#24 0x00007f9eff062c1f in QItemSelectionModel::select (this=0x189ac30, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#25 0x00007f9eff04d775 in QTreeViewPrivate::select (this=0x171c510, topIndex=<optimized out>, bottomIndex=<optimized out>, command=...) at itemviews/qtreeview.cpp:3656
#26 0x00007f9eff04e4d2 in QTreeView::setSelection (this=<optimized out>, rect=<optimized out>, command=...) at itemviews/qtreeview.cpp:2280
#27 0x00007f9eff009c7a in QAbstractItemView::mousePressEvent (this=0x167c0a0, event=<optimized out>) at itemviews/qabstractitemview.cpp:1674
#28 0x00007f9efeb4df79 in QWidget::event (this=0x167c0a0, event=0x7fff96e218d0) at kernel/qwidget.cpp:8291
#29 0x00007f9efeef64f6 in QFrame::event (this=0x167c0a0, e=0x7fff96e218d0) at widgets/qframe.cpp:557
#30 0x00007f9eff00719b in QAbstractItemView::viewportEvent (this=0x167c0a0, event=0x7fff96e218d0) at itemviews/qabstractitemview.cpp:1628
#31 0x00007f9eff04bd35 in QTreeView::viewportEvent (this=0x167c0a0, event=0x7fff96e218d0) at itemviews/qtreeview.cpp:1256
#32 0x00007f9efe5ccc88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x167d890, event=0x7fff96e218d0) at kernel/qcoreapplication.cpp:902
#33 0x00007f9efeafd3ef in notify_helper (e=0x7fff96e218d0, receiver=0x167d890, this=0x1331260) at kernel/qapplication.cpp:4482
#34 QApplicationPrivate::notify_helper (this=0x1331260, receiver=0x167d890, e=0x7fff96e218d0) at kernel/qapplication.cpp:4458
#35 0x00007f9efeb02c6b in QApplication::notify (this=<optimized out>, receiver=0x167d890, e=0x7fff96e218d0) at kernel/qapplication.cpp:4047
#36 0x00007f9f0031e126 in KApplication::notify (this=0x7fff96e225f0, receiver=0x167d890, event=0x7fff96e218d0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f9efe5ccafc in QCoreApplication::notifyInternal (this=0x7fff96e225f0, receiver=0x167d890, event=0x7fff96e218d0) at kernel/qcoreapplication.cpp:787
#38 0x00007f9efeafe3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QApplicationPrivate::sendMouseEvent (receiver=0x167d890, event=0x7fff96e218d0, alienWidget=0x167d890, nativeWidget=0x164d770, buttonDown=0x167d890, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#40 0x00007f9efeb7d945 in QETWidget::translateMouseEvent (this=0x164d770, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#41 0x00007f9efeb7c8be in QApplication::x11ProcessEvent (this=0x7fff96e225f0, event=0x7fff96e220f0) at kernel/qapplication_x11.cpp:3690
#42 0x00007f9efeba5412 in x11EventSourceDispatch (s=0x1334f00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007f9ef66caa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f9ef66cb258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f9ef66cb429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f9efe5f7ed6 in QEventDispatcherGlib::processEvents (this=0x12e9f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007f9efeba507e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f9efe5cbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f9efe5cbef7 in QEventLoop::exec (this=0x7fff96e224c0, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f9efe5d0789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#51 0x0000000000402bd3 in ?? ()
#52 0x00007f9efdbc530d in __libc_start_main (main=0x4021a0, argc=3, ubp_av=0x7fff96e22a48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff96e22a38) at libc-start.c:226
#53 0x00000000004030b5 in _start ()

Possible duplicates by query: bug 284872, bug 283768, bug 282428, bug 281889, bug 281271.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-06 17:45:14 UTC

*** This bug has been marked as a duplicate of bug 281271 ***
Comment 2 Bernd Oliver Sünderhauf 2012-11-28 19:24:52 UTC
Actually is a duplicate of Bug #275752.
Comment 3 Allen Winter 2012-12-01 00:25:57 UTC

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