[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2022-12-17 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=391727

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #6 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2022-12-02 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=391727

--- Comment #5 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2022-11-17 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=391727

Justin Zobel  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #4 from Justin Zobel  ---
Thank you for reporting this issue in KDE software. As it has been a while
since this issue was reported, can we please ask you to see if you can
reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when
replying. Thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2018-03-25 Thread Pali Rohár
https://bugs.kde.org/show_bug.cgi?id=391727

--- Comment #3 from Pali Rohár  ---
Created attachment 111632
  --> https://bugs.kde.org/attachment.cgi?id=111632=edit
Output from massif

In attachment is output from massif. I killed trojita when it consumed more
then 1GB of memory. Output on stdout was:

$ valgrind --tool=massif trojita
==14521== Massif, a heap profiler
==14521== Copyright (C) 2003-2015, and GNU GPL'd, by Nicholas Nethercote
==14521== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright
info
==14521== Command: trojita
==14521== 
^C==14521== 
==14521== Process terminating with default action of signal 2 (SIGINT)
==14521==at 0x995A96B: __dynamic_cast (in
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
==14521==by 0x2F00B6: void
Imap::Mailbox::ThreadingMsgListModel::threadForeach(unsigned int const&,
std::function) const
(ThreadingMsgListModel.cpp:1246)
==14521==by 0x2E4FCA:
Imap::Mailbox::ThreadingMsgListModel::threadAggregatedFlags(unsigned int) const
(ThreadingMsgListModel.cpp:1271)
==14521==by 0x2EE78B:
Imap::Mailbox::ThreadingMsgListModel::data(QModelIndex const&, int) const
(ThreadingMsgListModel.cpp:307)
==14521==by 0x9640BA8: QSortFilterProxyModel::data(QModelIndex const&, int)
const (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1)
==14521==by 0x2D7D38: Imap::Mailbox::PrettyMsgListModel::data(QModelIndex
const&, int) const (PrettyMsgListModel.cpp:175)
==14521==by 0x1DB86E: Gui::MsgItemDelegate::itemColor(QModelIndex const&)
const (qabstractitemmodel.h:426)
==14521==by 0x1DBB5C: Gui::MsgItemDelegate::paint(QPainter*,
QStyleOptionViewItem const&, QModelIndex const&) const (MsgItemDelegate.cpp:89)
==14521==by 0x8C46B0F: QTreeView::drawRow(QPainter*, QStyleOptionViewItem
const&, QModelIndex const&) const (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1)
==14521==by 0x8C4C596: QTreeView::drawTree(QPainter*, QRegion const&) const
(in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1)
==14521==by 0x8C510B5: QTreeView::paintEvent(QPaintEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1)
==14521==by 0x8A03277: QWidget::event(QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1)
==14521== 
Zabitý

Memory leak probably occured in snapshot=46 which contains trace:

n2: 1103927816 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n2: 1074037664 0x950CC6F: QListData::realloc_grow(int) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1)
  n2: 1074029280 0x950CD0D: QListData::append(int) (in
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1)
   n1: 1073741824 0x20887E: QList::operator+=(QList const&)
(qlist.h:942)
n1: 1073741824 0x2F0102: void
Imap::Mailbox::ThreadingMsgListModel::threadForeach(unsigned int const&,
std::function) const
(functional:2127)
 n1: 1073741824 0x2E4FC9:
Imap::Mailbox::ThreadingMsgListModel::threadAggregatedFlags(unsigned int) const
(ThreadingMsgListModel.cpp:1271)
  n1: 1073741824 0x2EE78A:
Imap::Mailbox::ThreadingMsgListModel::data(QModelIndex const&, int) const
(ThreadingMsgListModel.cpp:307)
   n1: 1073741824 0x9640BA7: QSortFilterProxyModel::data(QModelIndex
const&, int) const (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1)
n1: 1073741824 0x2D7D37:
Imap::Mailbox::PrettyMsgListModel::data(QModelIndex const&, int) const
(PrettyMsgListModel.cpp:175)
 n1: 1073741824 0x1DB86D: Gui::MsgItemDelegate::itemColor(QModelIndex
const&) const (qabstractitemmodel.h:426)
  n1: 1073741824 0x1DBB5B: Gui::MsgItemDelegate::paint(QPainter*,
QStyleOptionViewItem const&, QModelIndex const&) const (MsgItemDelegate.cpp:89)

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2018-03-11 Thread Jan Kundrát
https://bugs.kde.org/show_bug.cgi?id=391727

--- Comment #2 from Jan Kundrát  ---
Can you please measure this with some heap profiler so that we know where the
leak is?

-- 
You are receiving this mail because:
You are watching all bug changes.

[trojita] [Bug 391727] Trojita crashed when idling in INBOX

2018-03-11 Thread Pali Rohár
https://bugs.kde.org/show_bug.cgi?id=391727

--- Comment #1 from Pali Rohár  ---
Same situation, memory usage about 2.7 GB and crash again with following, but
different backtrace:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Thread 1 "trojita" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51  ../sysdeps/unix/sysv/linux/raise.c: Adresár alebo súbor neexistuje.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x7273342a in __GI_abort () at abort.c:89
#2  0x7304a0ad in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x73048066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x730480b1 in std::terminate() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x730482c9 in __cxa_throw () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x733cb9b2 in qBadAlloc() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x73449c9a in QListData::realloc_grow(int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x73449d0f in QListData::append(int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x5573bb10 in QList::operator+=
(this=this@entry=0x7fffa6c8, l=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:942
#10 0x5573c127 in QList::append (t=...,
this=0x7fffa6c8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:960
#11 Imap::Mailbox::ThreadingMsgListModel::threadForeach(unsigned int
const&, std::function) const
(this=this@entry=0x55dbb590, root=@0x7fffa73c: 6899, 
root@entry=@0x7fffa73c: , callback=...) at
trojita/src/Imap/Model/ThreadingMsgListModel.cpp:1251
#12 0x55730fcb in
Imap::Mailbox::ThreadingMsgListModel::threadAggregatedFlags
(this=this@entry=0x55dbb590, root=) at
trojita/src/Imap/Model/ThreadingMsgListModel.cpp:1271
#13 0x5573a78c in Imap::Mailbox::ThreadingMsgListModel::data
(this=0x55dbb590, proxyIndex=..., role=963) at
trojita/src/Imap/Model/ThreadingMsgListModel.cpp:307
#14 0x7357dba9 in QSortFilterProxyModel::data(QModelIndex const&, int)
const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x55723d39 in Imap::Mailbox::PrettyMsgListModel::data
(this=, index=..., role=963) at
trojita/src/Imap/Model/PrettyMsgListModel.cpp:175
#16 0x5562786f in QModelIndex::data (arole=963, this=0x7fffac80) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:426
#17 Gui::MsgItemDelegate::itemColor (this=this@entry=0x55c476a0, index=...)
at trojita/src/Gui/MsgItemDelegate.cpp:47
#18 0x55627b5d in Gui::MsgItemDelegate::paint (this=0x55c476a0,
painter=0x7fffaff0, option=..., index=...) at
trojita/src/Gui/MsgItemDelegate.cpp:89
#19 0x74127b10 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem
const&, QModelIndex const&) const () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x7412d597 in QTreeView::drawTree(QPainter*, QRegion const&) const
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x741320b6 in QTreeView::paintEvent(QPaintEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x73ee4278 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x73fcca0e in QFrame::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x740f3503 in QAbstractItemView::viewportEvent(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x74132f6c in QTreeView::viewportEvent(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x735b9741 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x73e9cb65 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x73ea4341 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x735b99e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x73edcfda in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x73edd646 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x73ede34c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x73ede239 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList const&, int, QRegion const&, QPoint const&, int, QPainter*,