No subject


Wed Apr 17 12:44:40 BST 2019


not valid. Eg. I have no unread message, but it shows as 1-2-3 unread messages.
It might happen when I browse the Inbox while filtering of newly messages in
the inbox is running.
 When this happens (wrong unread count), clicking on the Back icon (go to
previous unread message) crashes KMail with the attached backtrace.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f40d0ea6710 (LWP 15703)):
#0  0x00007f40dea9f39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f40e5d24bbf in WTF::TCMalloc_PageHeap::scavengerThread() () from
/opt/qt4/lib/libQtWebKit.so.4
#2  0x00007f40e5d24194 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /opt/qt4/lib/libQtWebKit.so.4
#3  0x00007f40dea9aa4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f40ddaef82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f40c4808710 (LWP 15835)):
#0  0x00007f40ddae8e13 in select () from /lib64/libc.so.6
#1  0x00007f40dee42e94 in QProcessManager::run (this=0x7f40df1fbb00) at
io/qprocess_unix.cpp:245
#2  0x00007f40ded4f34d in QThreadPrivate::start (arg=0x7f40df1fbb00) at
thread/qthread_unix.cpp:320
#3  0x00007f40dea9aa4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f40ddaef82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f40e6955760 (LWP 15701)):
[KCrash Handler]
#6  0x00007f40c87973cc in MessageList::Core::Item::indexOfChildItem (this=0x0,
item=0xf2a530) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/item.cpp:179
#7  0x00007f40c87dcecf in MessageList::Core::View::messageItemBefore
(this=0x15f0320, referenceItem=0x0,
messageTypeFilter=MessageList::Core::MessageTypeUnreadOnly, loop=true)
    at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/view.cpp:1301
#8  0x00007f40c87dd147 in MessageList::Core::View::previousMessageItem
(this=0x15f0320, messageTypeFilter=MessageList::Core::MessageTypeUnreadOnly,
loop=true)
    at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/view.cpp:1312
#9  0x00007f40c87dde89 in MessageList::Core::View::selectPreviousMessageItem
(this=0x15f0320, messageTypeFilter=MessageList::Core::MessageTypeUnreadOnly, 
    existingSelectionBehaviour=MessageList::Core::ClearExistingSelection,
centerItem=true, loop=true) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/view.cpp:1452
#10 0x00007f40c880c562 in MessageList::Widget::selectPreviousMessageItem
(this=0x15d9f80, messageTypeFilter=MessageList::Core::MessageTypeUnreadOnly, 
    existingSelectionBehaviour=MessageList::Core::ClearExistingSelection,
centerItem=true, loop=true) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/widget.cpp:149
#11 0x00007f40c88016ad in MessageList::Pane::selectPreviousMessageItem
(this=0x15d78a0, messageTypeFilter=MessageList::Core::MessageTypeUnreadOnly, 
    existingSelectionBehaviour=MessageList::Core::ClearExistingSelection,
centerItem=true, loop=true) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/pane.cpp:193
#12 0x00007f40c965e642 in KMMainWidget::slotSelectPreviousUnreadMessage
(this=0x15b93e0) at
/home/andris/development/sources/kde-trunk/kdepim/kmail/kmmainwidget.cpp:2610
#13 0x00007f40c9650051 in KMMainWidget::qt_metacall (this=0x15b93e0,
_c=QMetaObject::InvokeMetaMethod, _id=107, _a=0x7fffcfed9b90)
    at
/home/andris/development/build/kde-trunk/kdepim/kmail/kmmainwidget.moc:450
#14 0x00007f40dee73fdf in QMetaObject::metacall (object=0x15b93e0,
cl=QMetaObject::InvokeMetaMethod, idx=134, argv=0x7fffcfed9b90) at
kernel/qmetaobject.cpp:237
#15 0x00007f40dee88e6f in QMetaObject::activate (sender=0x16ad660,
m=0x7f40e0940ca0, local_signal_index=1, argv=0x7fffcfed9b90) at
kernel/qobject.cpp:3278
#16 0x00007f40dfbf2a92 in QAction::triggered (this=0x16ad660, _t1=false) at
.moc/debug-shared/moc_qaction.cpp:263
#17 0x00007f40dfbf1d94 in QAction::activate (this=0x16ad660,
event=QAction::Trigger) at kernel/qaction.cpp:1257
#18 0x00007f40dfbf31b1 in QAction::trigger (this=0x16ad660) at
kernel/qaction.h:218
#19 0x00007f40e01c745d in QToolButton::nextCheckState (this=0x10bee4c0) at
widgets/qtoolbutton.cpp:1147
#20 0x00007f40e00c563e in QAbstractButtonPrivate::click (this=0x17ac5800) at
widgets/qabstractbutton.cpp:528
#21 0x00007f40e00c6baf in QAbstractButton::mouseReleaseEvent (this=0x10bee4c0,
e=0x7fffcfeda890) at widgets/qabstractbutton.cpp:1121
#22 0x00007f40e01c5daf in QToolButton::mouseReleaseEvent (this=0x10bee4c0,
e=0x7fffcfeda890) at widgets/qtoolbutton.cpp:721
#23 0x00007f40dfc690c4 in QWidget::event (this=0x10bee4c0,
event=0x7fffcfeda890) at kernel/qwidget.cpp:8255
#24 0x00007f40e00c6a05 in QAbstractButton::event (this=0x10bee4c0,
e=0x7fffcfeda890) at widgets/qabstractbutton.cpp:1080
#25 0x00007f40e01c74d3 in QToolButton::event (this=0x10bee4c0,
event=0x7fffcfeda890) at widgets/qtoolbutton.cpp:1163
#26 0x00007f40dfc025bc in QApplicationPrivate::notify_helper (this=0x6461e0,
receiver=0x10bee4c0, e=0x7fffcfeda890) at kernel/qapplication.cpp:4462
#27 0x00007f40dfc00549 in QApplication::notify (this=0x7fffcfedb830,
receiver=0x10bee4c0, e=0x7fffcfeda890) at kernel/qapplication.cpp:4023
#28 0x00007f40e0c0a909 in KApplication::notify (this=0x7fffcfedb830,
receiver=0x10bee4c0, event=0x7fffcfeda890) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#29 0x00007f40dee6be6b in QCoreApplication::notifyInternal
(this=0x7fffcfedb830, receiver=0x10bee4c0, event=0x7fffcfeda890) at
kernel/qcoreapplication.cpp:731
#30 0x00007f40dfc04d9f in QCoreApplication::sendSpontaneousEvent
(receiver=0x10bee4c0, event=0x7fffcfeda890) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 0x00007f40dfbfeab2 in QApplicationPrivate::sendMouseEvent
(receiver=0x10bee4c0, event=0x7fffcfeda890, alienWidget=0x10bee4c0,
nativeWidget=0xad82c0, buttonDown=0x7f40e0988768, 
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#32 0x00007f40dfca43f2 in QETWidget::translateMouseEvent (this=0xad82c0,
event=0x7fffcfedb3f0) at kernel/qapplication_x11.cpp:4461
#33 0x00007f40dfca0d81 in QApplication::x11ProcessEvent (this=0x7fffcfedb830,
event=0x7fffcfedb3f0) at kernel/qapplication_x11.cpp:3465
#34 0x00007f40dfcdacd8 in x11EventSourceDispatch (s=0x649cb0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f40d8695a93 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#36 0x00007f40d8696270 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f40d8696510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#38 0x00007f40deea4f8b in QEventDispatcherGlib::processEvents (this=0x6133b0,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f40dfcdb086 in QGuiEventDispatcherGlib::processEvents
(this=0x6133b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f40dee699ce in QEventLoop::processEvents (this=0x7fffcfedb7a0,
flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f40dee69b22 in QEventLoop::exec (this=0x7fffcfedb7a0, flags=...) at
kernel/qeventloop.cpp:201
#42 0x00007f40dee6c55e in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#43 0x00007f40dfbff758 in QApplication::exec () at kernel/qapplication.cpp:3736
#44 0x00000000004043f1 in main (argc=1, argv=0x7fffcfedbd88) at
/home/andris/development/sources/kde-trunk/kdepim/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