Bug 385766 - KTorrent crashed after exit from menu File->Quit and running App again.
Summary: KTorrent crashed after exit from menu File->Quit and running App again.
Status: RESOLVED DUPLICATE of bug 383127
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 5.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 386387 386400 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-15 05:39 UTC by Dima Marenich
Modified: 2018-03-17 01:24 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.82 KB, text/plain)
2017-11-04 10:38 UTC, Lastique
Details
New crash information added by DrKonqi (6.02 KB, text/plain)
2018-03-17 01:24 UTC, gosella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Marenich 2017-10-15 05:39:50 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.13.4-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Test case:
1. Run KTorrent
2. Go to menu File -> Quit
3. Run KTorrent again via KDE openSUSE menu Start -> Internet -> KTorrent (1-5 sec after quit from previous instance)
4. After second instance of KTorrent is started >>> crash

FYI: All interfaces on the firewall have state 'Internal zone'.

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f59be166700 (LWP 2220)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f59be967700 (LWP 2219)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f59bf168700 (LWP 2218)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f59bf969700 (LWP 2217)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f59c016a700 (LWP 2216)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f59c0baa700 (LWP 2215)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f59e2dea700 (LWP 2214)):
#0  0x00007f59f6fd882d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f59c8c2ecab in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f59c8c2ebc7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f59e25e9700 (LWP 2162)):
#0  0x00007f59fb378cab in poll () from /lib64/libc.so.6
#1  0x00007f59f4ba9149 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f59f4ba925c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f59fc20f69b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f59fc1b834a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f59fbfe831a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f59fbfecd2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f59e3fff700 (LWP 2159)):
#0  0x00007f59fb378cab in poll () from /lib64/libc.so.6
#1  0x00007f59f4ba9149 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f59f4ba925c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f59fc20f69b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f59fc1b834a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f59fbfe831a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f59fd622a45 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f59fbfecd2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f59f6fd2558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f59fb38345f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5a01228900 (LWP 2145)):
[KCrash Handler]
#6  0x00007f59fc1f880d in QVariant::QVariant(QString const&) () from /usr/lib64/libQt5Core.so.5
#7  0x0000555b36cd5f9c in kt::ViewModel::Item::data (this=0x555b38b80110, col=<optimized out>) at /usr/src/debug/ktorrent-5.1.0/ktorrent/view/viewmodel.cpp:255
#8  0x0000555b36cd7e0d in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at /usr/src/debug/ktorrent-5.1.0/ktorrent/view/viewmodel.cpp:648
#9  0x00007f59fd1e2bf6 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f59fd1e2159 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#11 0x0000555b36cdb904 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...) at /usr/src/debug/ktorrent-5.1.0/ktorrent/view/viewdelegate.cpp:190
#12 0x00007f59fd1a7dea in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f59fd1a871e in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f59fd1b021a in QTreeView::doItemsLayout() () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f59fd1aae05 in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f59fd1b1c28 in QTreeView::updateGeometries() () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f59fd16e5b9 in QAbstractItemView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f59fc1e724a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f59fd183011 in QHeaderView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f59fc1b9a44 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f59fcf3c995 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f59fcf43d74 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f59fc1b9d38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f59fcf75e52 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f59fcf75e3a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f59fcf760f4 in QWidgetPrivate::hide_helper() () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f59fcf7a560 in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f59fcf763a8 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f59fcf769c0 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f59ffb8d65d in KMainWindow::~KMainWindow (this=0x7ffe28f24ed0, __in_chrg=<optimized out>) at /usr/src/debug/kxmlgui-5.38.0/src/kmainwindow.cpp:393
#37 0x0000555b36c64687 in kt::GUI::~GUI (this=0x7ffe28f24ed0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/ktorrent-5.1.0/ktorrent/gui.cpp:128
#38 0x0000555b36c53c92 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ktorrent-5.1.0/ktorrent/main.cpp:212

Reported using DrKonqi
Comment 1 Lastique 2017-11-04 10:38:00 UTC
Created attachment 108703 [details]
New crash information added by DrKonqi

ktorrent (5.1.0) using Qt 5.9.1

- What I was doing when the application crashed:

I selected File->Quit in the main window menu and Ktorrent crashed. In my case, this was the first time Ktorrent was running after reboot. Ktorrent was started automatically on the system startup.

-- Backtrace (Reduced):
#6  0x00007f7a413d075d in QVariant::QVariant(QString const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00005624cabb233c in kt::ViewModel::Item::data (this=0x5624cf7d0930, col=<optimized out>) at ./ktorrent/view/viewmodel.cpp:255
#8  0x00005624cabb41ad in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at ./ktorrent/view/viewmodel.cpp:648
#9  0x00007f7a423cf1bc in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f7a423ce6bc in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 2 Christoph Feck 2017-11-15 21:20:11 UTC
*** Bug 386387 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-11-15 21:21:24 UTC
*** Bug 386400 has been marked as a duplicate of this bug. ***
Comment 4 Andrius Štikonas 2017-12-10 14:00:14 UTC

*** This bug has been marked as a duplicate of bug 383127 ***
Comment 5 gosella 2018-03-17 01:24:13 UTC
Created attachment 111456 [details]
New crash information added by DrKonqi

ktorrent (5.1.0) using Qt 5.10.1

- What I was doing when the application crashed:
Closing KTorrent with Ctrl-Q crashed the app after a few seconds.

I'm on ArchLinux but I compiled KTorrent from sources with "-DCMAKE_BUILD_TYPE=RelWithDebInfo" to get a better trace.

-- Backtrace (Reduced):
#6  0x00007f8ff91d2bcd in QVariant::QVariant(QString const&) () from /usr/lib/libQt5Core.so.5
#7  0x00005605e65aa04d in kt::ViewModel::Item::data (this=0x5605e6c8a650, col=<optimized out>) at /home/german/kde/ktorrent/trunk/src/ktorrent-5.1.0/ktorrent/view/viewmodel.cpp:255
#8  0x00005605e65abf7d in kt::ViewModel::data (this=<optimized out>, index=..., role=<optimized out>) at /home/german/kde/ktorrent/trunk/src/ktorrent-5.1.0/ktorrent/view/viewmodel.cpp:648
#9  0x00007f8ffa18d941 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f8ffa18ce17 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQt5Widgets.so.5