Bug 284872

Summary: Kmail crashes when moving folders
Product: [Applications] kmail2 Reporter: pedroserra
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pedroserra 2011-10-24 15:27:48 UTC
Application: kmail (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
After importing old kmail1 mail directory (via import), moving folders to reorganize the hierarchy sometimes makes kmail crash.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7ff5d6920700 (LWP 3362)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff5f3326c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff5f3326d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff5fbf71efc in start_thread (arg=0x7ff5d6920700) at pthread_create.c:304
#4  0x00007ff5fe3cb89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff5d6007700 (LWP 3366)):
#0  0x00007ff5fe3bf773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff5f6e14f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff5f6e15429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5fed3df3e in QEventDispatcherGlib::processEvents (this=0x18dd820, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff5fed11cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff5fed11ef7 in QEventLoop::exec (this=0x7ff5d6006de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ff5fec2927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007ff5fec2bd05 in QThreadPrivate::start (arg=0x18dd860) at thread/qthread_unix.cpp:331
#8  0x00007ff5fbf71efc in start_thread (arg=0x7ff5d6007700) at pthread_create.c:304
#9  0x00007ff5fe3cb89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff6010517a0 (LWP 3339)):
[KCrash Handler]
#6  0x00007ff5fb0a41b7 in ~QVector (this=<optimized out>, __in_chrg=<optimized out>) at ./entitytreemodel.moc:182
#7  clear (this=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:336
#8  Akonadi::EntityTreeModel::setData (this=0x154b2d0, index=..., value=..., role=53) at ../../akonadi/entitytreemodel.cpp:719
#9  0x00007ff5fb10e6e4 in rootIndexAboutToBeRemoved (removedRootIndex=..., this=<optimized out>) at ../../akonadi/selectionproxymodel.cpp:59
#10 Akonadi::SelectionProxyModel::qt_metacall (this=0x200da60, _c=<optimized out>, _id=1, _a=0x7fffdd9dcd80) at ./selectionproxymodel.moc:76
#11 0x00007ff5fed25eba in QMetaObject::activate (sender=0x200da60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd9dcd80) at kernel/qobject.cpp:3278
#12 0x00007ff600a46e22 in KSelectionProxyModel::rootIndexAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>) at ./moc_kselectionproxymodel.cpp:147
#13 0x00007ff600a50023 in KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x2622e40, range=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1691
#14 0x00007ff600a503f8 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x2622e40, selection=<optimized out>) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1610
#15 0x00007ff600a51f2b in KSelectionProxyModelPrivate::selectionChanged (this=0x2622e40, _selected=<optimized out>, _deselected=<optimized out>) at ../../kdeui/itemviews/kselectionproxymodel.cpp:1860
#16 0x00007ff600a5380e in KSelectionProxyModel::qt_metacall (this=0x200da60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffdd9dd590) at ./moc_kselectionproxymodel.cpp:134
#17 0x00007ff5fb10e5f5 in Akonadi::SelectionProxyModel::qt_metacall (this=0x200da60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffdd9dd590) at ./selectionproxymodel.moc:70
#18 0x00007ff5fed25eba in QMetaObject::activate (sender=0x18bfd50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd9dd590) at kernel/qobject.cpp:3278
#19 0x00007ff5ff7a1e97 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#20 0x00007ff5ff7a7871 in QItemSelectionModel::emitSelectionChanged (this=0x18bfd50, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1594
#21 0x00007ff5ff7a8c1f in QItemSelectionModel::select (this=0x18bfd50, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#22 0x00007ff5fa601c71 in MessageList::Pane::Private::onSelectionChanged (this=0x16db820, selected=<optimized out>, deselected=...) at ../../messagelist/pane.cpp:329
#23 0x00007ff5fa602c27 in MessageList::Pane::qt_metacall (this=0x16df120, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffdd9dda90) at ./pane.moc:111
#24 0x00007ff5fed25eba in QMetaObject::activate (sender=0x16eaf10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffdd9dda90) at kernel/qobject.cpp:3278
#25 0x00007ff5ff7a1e97 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#26 0x00007ff5ff7a7871 in QItemSelectionModel::emitSelectionChanged (this=0x16eaf10, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1594
#27 0x00007ff5ff7a8c1f in QItemSelectionModel::select (this=0x16eaf10, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#28 0x00007ff5ff793775 in QTreeViewPrivate::select (this=0x16c7130, topIndex=<optimized out>, bottomIndex=<optimized out>, command=...) at itemviews/qtreeview.cpp:3656
#29 0x00007ff5ff7944d2 in QTreeView::setSelection (this=<optimized out>, rect=<optimized out>, command=...) at itemviews/qtreeview.cpp:2280
#30 0x00007ff5ff755b40 in QAbstractItemView::mouseMoveEvent (this=0x16c70e0, event=0x7fffdd9dee00) at itemviews/qabstractitemview.cpp:1751
#31 0x00007ff5ff293cce in QWidget::event (this=0x16c70e0, event=0x7fffdd9dee00) at kernel/qwidget.cpp:8280
#32 0x00007ff5ff63c4f6 in QFrame::event (this=0x16c70e0, e=0x7fffdd9dee00) at widgets/qframe.cpp:557
#33 0x00007ff5ff74d19b in QAbstractItemView::viewportEvent (this=0x16c70e0, event=0x7fffdd9dee00) at itemviews/qabstractitemview.cpp:1628
#34 0x00007ff5ff791d35 in QTreeView::viewportEvent (this=0x16c70e0, event=0x7fffdd9dee00) at itemviews/qtreeview.cpp:1256
#35 0x00007ff5fed12c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x16c6b10, event=0x7fffdd9dee00) at kernel/qcoreapplication.cpp:902
#36 0x00007ff5ff2433ef in notify_helper (e=0x7fffdd9dee00, receiver=0x16c6b10, this=0x128f210) at kernel/qapplication.cpp:4482
#37 QApplicationPrivate::notify_helper (this=0x128f210, receiver=0x16c6b10, e=0x7fffdd9dee00) at kernel/qapplication.cpp:4458
#38 0x00007ff5ff248c6b in QApplication::notify (this=<optimized out>, receiver=0x16c6b10, e=0x7fffdd9dee00) at kernel/qapplication.cpp:4047
#39 0x00007ff600a64126 in KApplication::notify (this=0x7fffdd9dfb20, receiver=0x16c6b10, event=0x7fffdd9dee00) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007ff5fed12afc in QCoreApplication::notifyInternal (this=0x7fffdd9dfb20, receiver=0x16c6b10, event=0x7fffdd9dee00) at kernel/qcoreapplication.cpp:787
#41 0x00007ff5ff2443f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QApplicationPrivate::sendMouseEvent (receiver=0x16c6b10, event=0x7fffdd9dee00, alienWidget=0x16c6b10, nativeWidget=0x12c9ff0, buttonDown=0x16c6b10, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#43 0x00007ff5ff2c3945 in QETWidget::translateMouseEvent (this=0x12c9ff0, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#44 0x00007ff5ff2c28be in QApplication::x11ProcessEvent (this=0x7fffdd9dfb20, event=0x7fffdd9df620) at kernel/qapplication_x11.cpp:3690
#45 0x00007ff5ff2eb412 in x11EventSourceDispatch (s=0x12921e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007ff5f6e14a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ff5f6e15258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ff5f6e15429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007ff5fed3ded6 in QEventDispatcherGlib::processEvents (this=0x124af70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#50 0x00007ff5ff2eb07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007ff5fed11cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007ff5fed11ef7 in QEventLoop::exec (this=0x7fffdd9df9f0, flags=...) at kernel/qeventloop.cpp:201
#53 0x00007ff5fed16789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 282428, bug 281889.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-29 14:50:11 UTC

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