Bug 384299 - KTorrent crashes on removing torrents + downloaded data
Summary: KTorrent crashes on removing torrents + downloaded data
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 384077 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-03 01:28 UTC by hotmusicfan
Modified: 2021-01-01 04:39 UTC (History)
2 users (show)

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 hotmusicfan 2017-09-03 01:28:55 UTC
Application: ktorrent (5.0.1)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.79-19-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
- What I was doing when the application crashed:
I've downloading a torrent and I decided to remove it with the data downloaded (till it is still downloading) and KTorrent crashed (and couldn't deleted the downloaded data but on the next start it does not showed the torrent at all). I've tried this on a completely downloaded torrent (already seeding or stalled) and sometimes the result is the same.
The crash presents also on openSUSE Leap 42.1 and 42.2 (even more frequently there).

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7f7cb32f8700 (LWP 8366)):
#0  0x00007f7ce261b0bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f7ce773869b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f7cec283852 in  () at /usr/lib64/libktorrent.so.6
#3  0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f7cb3af9700 (LWP 8365)):
#0  0x00007f7ce6b2920d in poll () at /lib64/libc.so.6
#1  0x00007f7cec283d9c in net::Poll::poll(int) () at /usr/lib64/libktorrent.so.6
#2  0x00007f7cec280972 in  () at /usr/lib64/libktorrent.so.6
#3  0x00007f7cec2809f6 in  () at /usr/lib64/libktorrent.so.6
#4  0x00007f7cec281229 in  () at /usr/lib64/libktorrent.so.6
#5  0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f7cb42fa700 (LWP 8364)):
#0  0x00007f7ce6b2d659 in syscall () at /lib64/libc.so.6
#1  0x00007f7ce773016c in QBasicMutex::lockInternal() () at /usr/lib64/libQt5Core.so.5
#2  0x00007f7ce77304a3 in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#3  0x00007f7cec280e58 in  () at /usr/lib64/libktorrent.so.6
#4  0x00007f7cec281016 in  () at /usr/lib64/libktorrent.so.6
#5  0x00007f7cec281229 in  () at /usr/lib64/libktorrent.so.6
#6  0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f7cc3fff700 (LWP 8358)):
#0  0x00007f7ce6b2920d in poll () at /lib64/libc.so.6
#1  0x00007f7ce1cd6314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7ce1cd642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7ce794a1ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7ce78f7bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7ce7732f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f7cd1e3b700 (LWP 8357)):
#0  0x00007f7ce1d17899 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f7ce1cd6418 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f7ce794a1ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f7ce78f7bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f7ce7732f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f7cd263c700 (LWP 8355)):
#0  0x00007f7ce6b2528d in read () at /lib64/libc.so.6
#1  0x00007f7cdcae5073 in  () at /usr/lib64/tls/libnvidia-tls.so.384.69
#2  0x00007f7ce1d16750 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f7ce1cd5e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f7ce1cd62a8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f7ce1cd642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f7ce794a1ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f7ce78f7bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f7ce7732f5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f7ce60db295 in  () at /usr/lib64/libQt5DBus.so.5
#10 0x00007f7ce7737a29 in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f7ce2616744 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f7ce6b31aad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7ceca34940 (LWP 8351)):
[KCrash Handler]
#6  0x00007f7ce6a7c8d7 in raise () at /lib64/libc.so.6
#7  0x00007f7ce6a7dcaa in abort () at /lib64/libc.so.6
#8  0x00007f7ce6aba1b4 in  () at /lib64/libc.so.6
#9  0x00007f7ce6abf706 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007f7ce6ac0453 in _int_free () at /lib64/libc.so.6
#11 0x000000000045970f in  ()
#12 0x00007f7ce90ae750 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f7ce90ad8fc in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f7ce90680fb in QTreeView::indexRowSizeHint(QModelIndex const&) const () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f7ce9070e85 in QTreeView::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f7ce902cab8 in  () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f7ce79237d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f7ce799a10c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib64/libQt5Core.so.5
#19 0x000000000045a9b1 in  ()
#20 0x00000000004494b3 in  ()
#21 0x0000000000443144 in  ()
#22 0x00007f7ce7923de3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f7ce7930dd2 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f7ce7924bf4 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f7ce8dde28c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f7ce8de28ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f7ce78f9be5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f7ce7949afe in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#29 0x00007f7ce7949ec1 in  () at /usr/lib64/libQt5Core.so.5
#30 0x00007f7ce1cd6134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f7ce1cd6388 in  () at /usr/lib64/libglib-2.0.so.0
#32 0x00007f7ce1cd642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#33 0x00007f7ce794a18c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f7ce78f7bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#35 0x00007f7ce78ffae6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#36 0x00000000004364fa in  ()
#37 0x00007f7ce6a686e5 in __libc_start_main () at /lib64/libc.so.6
#38 0x00000000004373b9 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-09-17 23:36:20 UTC
*** Bug 384077 has been marked as a duplicate of this bug. ***
Comment 2 Justin Zobel 2020-12-02 05:31:58 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-17 04:34:09 UTC
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!
Comment 4 Bug Janitor Service 2021-01-01 04:39:31 UTC
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!