Bug 394111 - KTorrent crashes why I try to quit it
Summary: KTorrent crashes why I try to quit it
Status: RESOLVED DUPLICATE of bug 383127
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-10 23:53 UTC by Ezra
Modified: 2018-05-17 03:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ezra 2018-05-10 23:53:07 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.10.1
Frameworks Version: 5.45.0
Operating System: Linux 4.16.7-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I was closing the application via the File->Quit.
It always happens when I close this way or via Ctrl+Q, it doesn't ask me if I wanna quit but just crashes. When I'm closing it via the notifications, it asks me as (I guess) it should and doesn't cause any problems.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1f68ce5380 (LWP 846))]

Thread 4 (Thread 0x7f1f077fe700 (LWP 1055)):
#0  0x00007f1f62dc0ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f1f55279310 in  () at /usr/lib/libresolv.so.2
#2  0x00007f1f55276d9d in __res_context_query () at /usr/lib/libresolv.so.2
#3  0x00007f1f2e8f30d7 in _nss_dns_gethostbyaddr2_r () at /usr/lib/libnss_dns.so.2
#4  0x00007f1f2e8f33c3 in _nss_dns_gethostbyaddr_r () at /usr/lib/libnss_dns.so.2
#5  0x00007f1f62ddcee2 in gethostbyaddr_r@@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#6  0x00007f1f62de53a7 in gni_host_inet_name.isra () at /usr/lib/libc.so.6
#7  0x00007f1f62de5ab9 in getnameinfo () at /usr/lib/libc.so.6
#8  0x00007f1f68506308 in  () at /usr/lib/libKF5Torrent.so.6
#9  0x00007f1f68506a41 in  () at /usr/lib/libKF5Torrent.so.6
#10 0x00007f1f63a74abd in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f1f5e69f075 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f1f62dcb53f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1f49f4b700 (LWP 855)):
#0  0x00007f1f5bf66010 in g_ptr_array_set_size () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1f5bf9393a in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1f5bf9444e in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1f5bf9463e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1f63cbe254 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1f63c6031b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1f63a6f71e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1f63a74abd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1f5e69f075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1f62dcb53f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1f4b95d700 (LWP 850)):
#0  0x00007f1f62dc0ea9 in poll () at /usr/lib/libc.so.6
#1  0x00007f1f5bf94523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1f5bf9463e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1f63cbe254 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1f63c6031b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1f63a6f71e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1f650fc416 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f1f63a74abd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1f5e69f075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1f62dcb53f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1f68ce5380 (LWP 846)):
[KCrash Handler]
#6  0x00007f1f63ca4b20 in QVariant::QVariant(QString const&) () at /usr/lib/libQt5Core.so.5
#7  0x000056356b98f10d in  ()
#8  0x000056356b991a7d in  ()
#9  0x00007f1f64c5f6a1 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () at /usr/lib/libQt5Widgets.so.5
#10 0x00007f1f64c5eb77 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib/libQt5Widgets.so.5
#11 0x000056356b998145 in  ()
#12 0x00007f1f64ca3b56 in QTreeView::indexRowSizeHint(QModelIndex const&) const () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f1f64ca450f in QTreeViewPrivate::layout(int, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f1f64cac710 in QTreeView::doItemsLayout() () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f1f64ca6bd6 in QTreeViewPrivate::updateScrollBars() () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f1f64cae2fe in QTreeView::updateGeometries() () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f1f64c3b859 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f1f63c92606 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#19 0x00007f1f64c51dab in QHeaderView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f1f63c619ac in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007f1f649dffc8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f1f649e79c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f1f63c61ce0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f1f64a1ae6e in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f1f64a1ae54 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f1f64a1b148 in QWidgetPrivate::hide_helper() () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f1f64a1fed9 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007f1f64a1b429 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007f1f64a1ba91 in QWidget::~QWidget() () at /usr/lib/libQt5Widgets.so.5
#36 0x00007f1f6763a51e in KMainWindow::~KMainWindow() () at /usr/lib/libKF5XmlGui.so.5
#37 0x000056356b90d6fa in  ()
#38 0x000056356b8fbb76 in  ()
#39 0x00007f1f62cf606b in __libc_start_main () at /usr/lib/libc.so.6
#40 0x000056356b8fc59a in _start ()

Reported using DrKonqi
Comment 1 Ezra 2018-05-10 23:58:30 UTC
Ok, I'm trying now to reproduce it again and I didn't succeed,it should be changed to reproduced only sometimes.
Comment 2 Christoph Feck 2018-05-17 03:37:23 UTC

*** This bug has been marked as a duplicate of bug 383127 ***