https://bugs.kde.org/show_bug.cgi?id=384476
i.Dark_Templar <idarktemp...@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |idarktemp...@mail.ru --- Comment #3 from i.Dark_Templar <idarktemp...@mail.ru> --- Created attachment 108116 --> https://bugs.kde.org/attachment.cgi?id=108116&action=edit valgrind.log I've hit same issue after an upgrade from ktorrent-5.0.1 to ktorrent-5.1.0. I've ran it with valgrind and found a lot of memory errors after following message: вс окт. 1 00:53:16 2017: Qt Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes. There's a lot of errors related to core.cpp:879 in valgrind log. This line contains following code: qman->clear(); And here's backtrace of crash: Thread 1 "ktorrent" received signal SIGABRT, Aborted. 0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога. (gdb) bt #0 0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007ffff2f6355a in __GI_abort () at abort.c:89 #2 0x00007ffff2f9ee60 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff3093220 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff2fa46d6 in malloc_printerr (action=3, str=0x7ffff3093628 "malloc(): memory corruption (fast)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004 #4 0x00007ffff2fa6a36 in _int_malloc (av=av@entry=0x7ffff32c2b00 <main_arena>, bytes=bytes@entry=120) at malloc.c:3384 #5 0x00007ffff2fa8474 in __GI___libc_malloc (bytes=120) at malloc.c:2911 #6 0x00007ffff3c79aa0 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /usr/lib64/libQt5Core.so.5 #7 0x00007ffff4186ecf in ?? () from /usr/lib64/libQt5Gui.so.5 #8 0x00007ffff41fc6b9 in QTextEngine::shapeText(int) const () from /usr/lib64/libQt5Gui.so.5 #9 0x00007ffff41fcfad in QTextEngine::shape(int) const () from /usr/lib64/libQt5Gui.so.5 #10 0x00007ffff420e4fb in QTextLine::layout_helper(int) () from /usr/lib64/libQt5Gui.so.5 #11 0x00007ffff420f24b in QTextLine::setLineWidth(double) () from /usr/lib64/libQt5Gui.so.5 #12 0x00007ffff46b73f1 in ?? () from /usr/lib64/libQt5Widgets.so.5 #13 0x00007ffff46b8e47 in ?? () from /usr/lib64/libQt5Widgets.so.5 #14 0x00007ffff46b9761 in ?? () from /usr/lib64/libQt5Widgets.so.5 #15 0x00007ffff46ba04e in QCommonStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () from /usr/lib64/libQt5Widgets.so.5 #16 0x00007ffff4725123 in ?? () from /usr/lib64/libQt5Widgets.so.5 #17 0x00007ffff4910cc3 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5 #18 0x00000000004c6e04 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/view/viewdelegate.cpp:190 #19 0x00007ffff48c9f1c in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5 #20 0x00007ffff48caa8d in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007ffff48d2ea6 in QTreeView::doItemsLayout() () from /usr/lib64/libQt5Widgets.so.5 #22 0x00007ffff48cc853 in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007ffff48d49a3 in QTreeView::updateGeometries() () from /usr/lib64/libQt5Widgets.so.5 #24 0x00007ffff488de79 in ?? () from /usr/lib64/libQt5Widgets.so.5 #25 0x00007ffff3e377e7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #26 0x00007ffff48a1ebd in QHeaderView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #27 0x00007ffff3e1116d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #28 0x00007ffff4640aa5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #29 0x00007ffff464846e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #30 0x00007ffff3e113aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #31 0x00007ffff4682b7a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #32 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #33 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #34 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #35 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #36 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #37 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #38 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5 #39 0x00007ffff4682e34 in QWidgetPrivate::hide_helper() () from /usr/lib64/libQt5Widgets.so.5 #40 0x00007ffff46876b0 in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5 #41 0x00007ffff4683038 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQt5Widgets.so.5 #42 0x00007ffff46835a8 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5 #43 0x00007ffff691a541 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5 #44 0x000000000044dc97 in kt::GUI::~GUI (this=0x7fffffffd9c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/gui.cpp:128 #45 0x000000000043d4fc in main (argc=1, argv=<optimized out>) at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/main.cpp:212 -- You are receiving this mail because: You are watching all bug changes.