[Bug 290226] New: kmail2 crash when deleting imap messages

Nathan England nathan at nmecs.com
Sat Dec 31 00:35:21 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=290226

           Summary: kmail2 crash when deleting imap messages
           Product: kontact
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: nathan at nmecs.com


Application: kontact (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.1.4-PlaxOS i686

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

I selected about 10 messages on an imap share to be deleted. I clicked Move to
Trash and kmail hung for a second then crashed.

- Custom settings of the application:
two imap accounts with multiple identities

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb0837b70 (LWP 28525)):
#0  0xb7876424 in __kernel_vsyscall ()
#1  0xb3e0b7fb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb70e5db3 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb70e5ecf in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb3e07c20 in start_thread () from /lib/libpthread.so.0
#5  0xb3b9b24e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xafef6b70 (LWP 28526)):
#0  0xb35aad10 in clock_gettime () from /lib/librt.so.1
#1  0xb3ef3d35 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb3fe7a06 in QTimerInfoList::updateCurrentTime (this=0x8afcc6c) at
kernel/qeventdispatcher_unix.cpp:343
#4  0xb3fe7dda in QTimerInfoList::timerWait (this=0x8afcc6c, tm=...) at
kernel/qeventdispatcher_unix.cpp:450
#5  0xb3fe6213 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xafef613c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb34f2b6c in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb34f3907 in g_main_context_iterate.isra.19 () from
/usr/lib/libglib-2.0.so.0
#8  0xb34f3eea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb3fe6e27 in QEventDispatcherGlib::processEvents (this=0x8c4a0a8,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0xb3faed3d in QEventLoop::processEvents (this=0xafef62c0, flags=...) at
kernel/qeventloop.cpp:149
#11 0xb3faefd9 in QEventLoop::exec (this=0xafef62c0, flags=...) at
kernel/qeventloop.cpp:204
#12 0xb3e8beed in QThread::exec (this=0x8c13b80) at thread/qthread.cpp:501
#13 0xb3e8bfbb in QThread::run (this=0x8c13b80) at thread/qthread.cpp:568
#14 0xb3e8f1ea in QThreadPrivate::start (arg=0x8c13b80) at
thread/qthread_unix.cpp:298
#15 0xb3e07c20 in start_thread () from /lib/libpthread.so.0
#16 0xb3b9b24e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac2d6b70 (LWP 28581)):
#0  0xb7876424 in __kernel_vsyscall ()
#1  0xb3e0bba3 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb3e8f712 in wait (this=0x8f66f30, mutex=0x8f66f2c, time=30000) at
thread/qwaitcondition_unix.cpp:84
#3  QWaitCondition::wait (this=0x8f66f30, mutex=0x8f66f2c, time=30000) at
thread/qwaitcondition_unix.cpp:158
#4  0xb3e819b4 in QThreadPoolThread::run (this=0x8f72888) at
concurrent/qthreadpool.cpp:141
#5  0xb3e8f1ea in QThreadPrivate::start (arg=0x8f72888) at
thread/qthread_unix.cpp:298
#6  0xb3e07c20 in start_thread () from /lib/libpthread.so.0
#7  0xb3b9b24e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xad641b70 (LWP 28585)):
#0  0xb7876424 in __kernel_vsyscall ()
#1  0xb3e0bba3 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb3e8f712 in wait (this=0x9274ef8, mutex=0x9274ef4, time=30000) at
thread/qwaitcondition_unix.cpp:84
#3  QWaitCondition::wait (this=0x9274ef8, mutex=0x9274ef4, time=30000) at
thread/qwaitcondition_unix.cpp:158
#4  0xb3e819b4 in QThreadPoolThread::run (this=0x927ea00) at
concurrent/qthreadpool.cpp:141
#5  0xb3e8f1ea in QThreadPrivate::start (arg=0x927ea00) at
thread/qthread_unix.cpp:298
#6  0xb3e07c20 in start_thread () from /lib/libpthread.so.0
#7  0xb3b9b24e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1a94720 (LWP 28524)):
[KCrash Handler]
#7  0xb7876424 in __kernel_vsyscall ()
#8  0xb3af98bf in raise () from /lib/libc.so.6
#9  0xb3afb145 in abort () from /lib/libc.so.6
#10 0xb3e837c2 in qt_message_output (msgType=QtFatalMsg, buf=0x961c6b0 "ASSERT:
\"sourceParent.isValid()\" in file
/var/abs/core/kde/kdelibs/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp,
line 1344") at global/qglobal.cpp:2252
#11 0xb3e8399b in qt_message (msgType=QtFatalMsg, msg=0xb40265c8 "ASSERT:
\"%s\" in file %s, line %d", ap=0xbfac08c4 "\v\023M\265\220\016M\265@\005") at
global/qglobal.cpp:2298
#12 0xb3e83ab8 in qFatal (msg=0xb40265c8 "ASSERT: \"%s\" in file %s, line %d")
at global/qglobal.cpp:2481
#13 0xb3e83b45 in qt_assert (assertion=0xb54d130b "sourceParent.isValid()",
file=0xb54d0e90
"/var/abs/core/kde/kdelibs/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp",
line=1344) at global/qglobal.cpp:1999
#14 0xb530fcac in KSelectionProxyModelPrivate::topLevelRowCount() const () from
/usr/lib/libkdeui.so.5
#15 0xb5315450 in KSelectionProxyModel::rowCount(QModelIndex const&) const ()
from /usr/lib/libkdeui.so.5
#16 0xb3fa5b45 in QAbstractItemModelPrivate::rowsAboutToBeInserted
(this=0x9259a78, parent=..., first=0, last=92) at
kernel/qabstractitemmodel.cpp:570
#17 0xb3fa9160 in QAbstractItemModel::beginInsertRows (this=0x926c878,
parent=..., first=0, last=92) at kernel/qabstractitemmodel.cpp:2417
#18 0xb531582d in
KSelectionProxyModelPrivate::insertSelectionIntoProxy(QItemSelection const&) ()
from /usr/lib/libkdeui.so.5
#19 0xb53163eb in KSelectionProxyModelPrivate::selectionChanged(QItemSelection
const&, QItemSelection const&) () from /usr/lib/libkdeui.so.5
#20 0xb3fc8849 in QMetaObject::activate (sender=0x8f00130, m=0xb510ab08,
local_signal_index=0, argv=0xbfac0d24) at kernel/qobject.cpp:3547
#21 0xb4d4b6ad in QItemSelectionModel::selectionChanged (this=0x8f00130,
_t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:166
#22 0xb4d51ce9 in QItemSelectionModel::emitSelectionChanged (this=0x8f00130,
newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#23 0xb4d5391c in QItemSelectionModel::select (this=0x8f00130, selection=...,
command=...) at itemviews/qitemselectionmodel.cpp:1110
#24 0xae1d5f97 in MessageList::Pane::Private::onSelectionChanged(QItemSelection
const&, QItemSelection const&) () from /usr/lib/libmessagelist.so.4
#25 0xae1d686e in MessageList::Pane::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /usr/lib/libmessagelist.so.4
#26 0xb3fc8849 in QMetaObject::activate (sender=0x8df0688, m=0xb510ab08,
local_signal_index=0, argv=0xbfac1044) at kernel/qobject.cpp:3547
#27 0xb4d4b6ad in QItemSelectionModel::selectionChanged (this=0x8df0688,
_t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:166
#28 0xb4d51ce9 in QItemSelectionModel::emitSelectionChanged (this=0x8df0688,
newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#29 0xb4d5391c in QItemSelectionModel::select (this=0x8df0688, selection=...,
command=...) at itemviews/qitemselectionmodel.cpp:1110
#30 0xb4d3a872 in QTreeViewPrivate::select (this=0x8ea93e8, topIndex=...,
bottomIndex=..., command=) at itemviews/qtreeview.cpp:3703
#31 0xb4d3b64b in QTreeView::setSelection (this=0x8ea9838, rect=...,
command=...) at itemviews/qtreeview.cpp:2317
#32 0xb4ceacb0 in QAbstractItemView::mousePressEvent (this=0x8ea9838,
event=0xbfac1ef8) at itemviews/qabstractitemview.cpp:1690
#33 0xb4d3f814 in QTreeView::mousePressEvent (this=0x8ea9838, event=0xbfac1ef8)
at itemviews/qtreeview.cpp:1855
#34 0xae40908b in MailCommon::FolderTreeView::mousePressEvent(QMouseEvent*) ()
from /usr/lib/libmailcommon.so.4
#35 0xb47245d4 in QWidget::event (this=0x8ea9838, event=0xbfac1ef8) at
kernel/qwidget.cpp:8357
#36 0xb4b90035 in QFrame::event (this=0x8ea9838, e=0xbfac1ef8) at
widgets/qframe.cpp:557
#37 0xb4c2f281 in QAbstractScrollArea::viewportEvent (this=0x8ea9838,
e=0xbfac1ef8) at widgets/qabstractscrollarea.cpp:1043
#38 0xb4ce3a9c in QAbstractItemView::viewportEvent (this=0x8ea9838,
event=0xbfac1ef8) at itemviews/qabstractitemview.cpp:1644
#39 0xb4d387a6 in QTreeView::viewportEvent (this=0x8ea9838, event=0xbfac1ef8)
at itemviews/qtreeview.cpp:1257
#40 0xb4c31ba6 in viewportEvent (this=0x8e563e0, o=0x8ea9868, e=0xbfac1ef8) at
widgets/qabstractscrollarea_p.h:100
#41 eventFilter (this=0x8e563e0, o=0x8ea9868, e=0xbfac1ef8) at
widgets/qabstractscrollarea_p.h:116
#42 QAbstractScrollAreaFilter::eventFilter (this=0x8e563e0, o=0x8ea9868,
e=0xbfac1ef8) at widgets/qabstractscrollarea_p.h:115
#43 0xb3fb0c0c in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x8af3938, receiver=0x8ea9868, event=0xbfac1ef8) at
kernel/qcoreapplication.cpp:986
#44 0xb46c0247 in notify_helper (this=0x8af3938, receiver=0x8ea9868,
e=0xbfac1ef8) at kernel/qapplication.cpp:4546
#45 QApplicationPrivate::notify_helper (this=0x8af3938, receiver=0x8ea9868,
e=0xbfac1ef8) at kernel/qapplication.cpp:4522
#46 0xb46c70ca in QApplication::notify (this=0x8af3938, receiver=0x8ea9868,
e=0xbfac1ef8) at kernel/qapplication.cpp:4093
#47 0xb532a578 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#48 0xb3fb09de in QCoreApplication::notifyInternal (this=0xbfac2670,
receiver=0x8ea9868, event=0xbfac1ef8) at kernel/qcoreapplication.cpp:876
#49 0xb46c17e1 in sendEvent (receiver=0x8ea9868, event=0xbfac1ef8,
alienWidget=0x8ea9868, nativeWidget=0x8e9d9b8, buttonDown=0xb5119d94,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QApplicationPrivate::sendMouseEvent (receiver=0x8ea9868, event=0xbfac1ef8,
alienWidget=0x8ea9868, nativeWidget=0x8e9d9b8, buttonDown=0xb5119d94,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#51 0xb475765f in QETWidget::translateMouseEvent (this=0x8e9d9b8,
event=0xbfac22d0) at kernel/qapplication_x11.cpp:4494
#52 0xb4755e97 in QApplication::x11ProcessEvent (this=0xbfac2670,
event=0xbfac22d0) at kernel/qapplication_x11.cpp:3620
#53 0xb478312c in x11EventSourceDispatch (s=0x8af5a00, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb34f352f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb34f3c60 in g_main_context_iterate.isra.19 () from
/usr/lib/libglib-2.0.so.0
#56 0xb34f3eea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#57 0xb3fe6dc7 in QEventDispatcherGlib::processEvents (this=0x8af2b20,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0xb4782d2a in QGuiEventDispatcherGlib::processEvents (this=0x8af2b20,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb3faed3d in QEventLoop::processEvents (this=0xbfac25d4, flags=...) at
kernel/qeventloop.cpp:149
#60 0xb3faefd9 in QEventLoop::exec (this=0xbfac25d4, flags=...) at
kernel/qeventloop.cpp:204
#61 0xb3fb4c1a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#62 0xb46be094 in QApplication::exec () at kernel/qapplication.cpp:3811
#63 0x0804aef1 in main ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list