[Bug 285015] New: Kontact/KMail2 crashed when marking thread as read

Elias Probst mail at eliasprobst.eu
Wed Oct 26 15:59:29 BST 2011


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

           Summary: Kontact/KMail2 crashed when marking thread as read
           Product: kontact
           Version: 4.7.2
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mail at eliasprobst.eu


Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 3.0.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
- What I was doing when the application crashed:
→ Rightclicked on a thread to mark it as unread
→ Work for some minutes in another IMAP mailbox
→ Notice, that there's 1 new mail in the previous mailbox
→ Clicking on the inbox and notice, that the previously marked as "Unread"
thread is set to "Read", although it wasn't clicked/selected afterwards
→ Rightclicking on the thread
→ Clicking on "Mark Thread as"
→ Selecting accidentally "Read" instead of "Unread" which means I marked an
already "Read" thread as "Read" again
→ Kontact/KMail2 crashed

- Unusual behavior I noticed:
→ The thread I previously marked as "Unread" was marked as "Read" when I opened
the Inbox again, although I could previously clearly see, that the unread
counter of this mailbox increased by "3" when having it marked and switching to
another mailbox

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9c29e5c760 (LWP 32134))]

Thread 2 (Thread 0x7f9c123f7700 (LWP 32135)):
#0  pthread_cond_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9c269d0312 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f9c269d040d in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f9c224a2a6d in start_thread (arg=<value optimized out>) at
pthread_create.c:301
#4  0x00007f9c274c4d7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9c29e5c760 (LWP 32134)):
[KCrash Handler]
#6  KJob::error (this=0x0) at
/var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:216
#7  0x00007f9c0e5220ea in KMSetStatusCommand::slotModifyItemDone
(this=0x10beb90, job=0x0) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmcommands.cpp:1373
#8  0x00007f9c0e529871 in KMSetStatusCommand::execute (this=0x10beb90) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmcommands.cpp:1362
#9  0x00007f9c0e522448 in KMCommand::slotPostTransfer (this=0x10beb90,
result=KMCommand::OK) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmcommands.cpp:264
#10 0x00007f9c0e5254d3 in KMCommand::qt_metacall (this=0x10beb90,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb58fefd0)
at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2_build/kmail/kmcommands.moc:88
#11 0x00007f9c0e52564b in KMSetStatusCommand::qt_metacall (this=0x10beb90,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb58fefd0)
at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2_build/kmail/kmcommands.moc:1272
#12 0x00007f9c287ecae1 in QMetaObject::activate (sender=0x10beb90, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3278
#13 0x00007f9c0e5222d6 in KMCommand::messagesTransfered (this=<value optimized
out>, _t1=KMCommand::OK) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2_build/kmail/kmcommands.moc:103
#14 0x00007f9c0e524d07 in KMCommand::transferSelectedMsgs (this=0x10beb90) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmcommands.cpp:328
#15 0x00007f9c0e525388 in KMCommand::start (this=0x10beb90) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmcommands.cpp:256
#16 0x00007f9c0e538bfe in KMMainWidget::setCurrentThreadStatus (this=0xe336d0,
status=..., toggle=false) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmmainwidget.cpp:2075
#17 0x00007f9c0e538cef in KMMainWidget::slotSetThreadStatusRead (this=0xe336d0)
at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2/kmail/kmmainwidget.cpp:2090
#18 0x00007f9c0e54afdd in KMMainWidget::qt_metacall (this=0xe336d0,
_c=QMetaObject::InvokeMetaMethod, _id=80, _a=0x7fffb58ff2c0) at
/var/tmp/portage/kde-base/kmail-4.7.2/work/kmail-4.7.2_build/kmail/kmmainwidget.moc:427
#19 0x00007f9c287ecae1 in QMetaObject::activate (sender=0xf84e10, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x1) at
kernel/qobject.cpp:3278
#20 0x00007f9c27c16572 in QAction::triggered (this=<value optimized out>,
_t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00007f9c27c16701 in QAction::activate (this=0xf84e10, event=<value
optimized out>) at kernel/qaction.cpp:1257
#22 0x00007f9c27fee109 in QMenuPrivate::activateCausedStack (this=0xf854a0,
causedStack=..., action=0xf84e10, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:993
#23 0x00007f9c27ff3975 in QMenuPrivate::activateAction (this=0xf854a0,
action=0xf84e10, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1085
#24 0x00007f9c292d1be7 in KMenu::mouseReleaseEvent (this=0xf85460,
e=0x7fffb59000c0) at
/var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#25 0x00007f9c27c6545e in QWidget::event (this=0xf85460, event=0x7fffb59000c0)
at kernel/qwidget.cpp:8259
#26 0x00007f9c27ff4a27 in QMenu::event (this=0xf85460, e=0x7fffb59000c0) at
widgets/qmenu.cpp:2415
#27 0x00007f9c27c1bdb8 in QApplicationPrivate::notify_helper (this=0x635400,
receiver=0xf85460, e=0x7fffb59000c0) at kernel/qapplication.cpp:4462
#28 0x00007f9c27c20cda in QApplication::notify (this=<value optimized out>,
receiver=0xf85460, e=0x7fffb59000c0) at kernel/qapplication.cpp:4023
#29 0x00007f9c29220a50 in KApplication::notify (this=0x7fffb5902770,
receiver=0xf85460, event=0x7fffb59000c0) at
/var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#30 0x00007f9c287d6e5e in QCoreApplication::notifyInternal
(this=0x7fffb5902770, receiver=0xf85460, event=0x7fffb59000c0) at
kernel/qcoreapplication.cpp:731
#31 0x00007f9c27c1cca3 in sendEvent (receiver=0xf85460, event=0x7fffb59000c0,
alienWidget=0x0, nativeWidget=0xf85460, buttonDown=0x7f9c2867d0f8,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0xf85460,
event=0x7fffb59000c0, alienWidget=0x0, nativeWidget=0xf85460,
buttonDown=0x7f9c2867d0f8, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3122
#33 0x00007f9c27c8fae3 in QETWidget::translateMouseEvent (this=0xf85460,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#34 0x00007f9c27c8e707 in QApplication::x11ProcessEvent (this=0x7fffb5902770,
event=0x7fffb5900870) at kernel/qapplication_x11.cpp:3587
#35 0x00007f9c27cb30cf in x11EventSourceDispatch (s=0x6449a0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f9c2151c4cc in g_main_dispatch (context=0x6438e0) at gmain.c:2441
#37 g_main_context_dispatch (context=0x6438e0) at gmain.c:3014
#38 0x00007f9c215201a1 in g_main_context_iterate (context=0x6438e0,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:3092
#39 0x00007f9c2152035e in g_main_context_iteration (context=0x6438e0,
may_block=1) at gmain.c:3155
#40 0x00007f9c287feef2 in QEventDispatcherGlib::processEvents (this=0x60e890,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007f9c27cb2de6 in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f9c287d5e92 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f9c287d61f1 in QEventLoop::exec (this=0x7fffb5900b90, flags=) at
kernel/qeventloop.cpp:201
#44 0x00007f9c27ff1526 in QMenu::exec (this=<value optimized out>, p=...,
action=0x0) at widgets/qmenu.cpp:2059
#45 0x00007f9c0d9b8ded in
MessageList::Widget::viewMessageListContextPopupRequest (this=<value optimized
out>, selectedItems=<value optimized out>, globalPos=...) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.7.2/work/kdepim-common-libs-4.7.2/messagelist/widget.cpp:280
#46 0x00007f9c0d99c9cd in MessageList::Core::View::mousePressEvent
(this=0xea4b20, e=<value optimized out>) at
/var/tmp/portage/kde-base/kdepim-common-libs-4.7.2/work/kdepim-common-libs-4.7.2/messagelist/core/view.cpp:2094
#47 0x00007f9c27c65445 in QWidget::event (this=0xea4b20, event=0x7fffb5901bf0)
at kernel/qwidget.cpp:8255
#48 0x00007f9c27fb97b2 in QFrame::event (this=0xea4b20, e=0x7fffb5901bf0) at
widgets/qframe.cpp:557
#49 0x00007f9c280b00ba in QAbstractItemView::viewportEvent (this=0xea4b20,
event=0x7fffb5901bf0) at itemviews/qabstractitemview.cpp:1628
#50 0x00007f9c280efd08 in QTreeView::viewportEvent (this=0xea4b20,
event=0x7fffb5901bf0) at itemviews/qtreeview.cpp:1256
#51 0x00007f9c287d67f9 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0xea7f40, event=0x7fffb5901bf0) at
kernel/qcoreapplication.cpp:846
#52 0x00007f9c27c1bd98 in QApplicationPrivate::notify_helper (this=0x635400,
receiver=0xea7f40, e=0x7fffb5901bf0) at kernel/qapplication.cpp:4458
#53 0x00007f9c27c20cda in QApplication::notify (this=<value optimized out>,
receiver=0xea7f40, e=0x7fffb5901bf0) at kernel/qapplication.cpp:4023
#54 0x00007f9c29220a50 in KApplication::notify (this=0x7fffb5902770,
receiver=0xea7f40, event=0x7fffb5901bf0) at
/var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#55 0x00007f9c287d6e5e in QCoreApplication::notifyInternal
(this=0x7fffb5902770, receiver=0xea7f40, event=0x7fffb5901bf0) at
kernel/qcoreapplication.cpp:731
#56 0x00007f9c27c1cca3 in sendEvent (receiver=0xea7f40, event=0x7fffb5901bf0,
alienWidget=0xea7f40, nativeWidget=0xe2cfe0, buttonDown=0x7f9c2867d0f8,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QApplicationPrivate::sendMouseEvent (receiver=0xea7f40,
event=0x7fffb5901bf0, alienWidget=0xea7f40, nativeWidget=0xe2cfe0,
buttonDown=0x7f9c2867d0f8, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3122
#58 0x00007f9c27c8fff0 in QETWidget::translateMouseEvent (this=0xe2cfe0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#59 0x00007f9c27c8e707 in QApplication::x11ProcessEvent (this=0x7fffb5902770,
event=0x7fffb59023a0) at kernel/qapplication_x11.cpp:3587
#60 0x00007f9c27cb30cf in x11EventSourceDispatch (s=0x6449a0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0x00007f9c2151c4cc in g_main_dispatch (context=0x6438e0) at gmain.c:2441
#62 g_main_context_dispatch (context=0x6438e0) at gmain.c:3014
#63 0x00007f9c215201a1 in g_main_context_iterate (context=0x6438e0,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:3092
#64 0x00007f9c2152035e in g_main_context_iteration (context=0x6438e0,
may_block=1) at gmain.c:3155
#65 0x00007f9c287feef2 in QEventDispatcherGlib::processEvents (this=0x60e890,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#66 0x00007f9c27cb2de6 in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007f9c287d5e92 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#68 0x00007f9c287d61f1 in QEventLoop::exec (this=0x7fffb59026c0, flags=) at
kernel/qeventloop.cpp:201
#69 0x00007f9c287d9c67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#70 0x0000000000404163 in main (argc=1, argv=0x7fffb5902d98) at
/var/tmp/portage/kde-base/kontact-4.7.2/work/kontact-4.7.2/kontact/src/main.cpp:218

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