Bug 407348 - KTorrent crashes when exiting
Summary: KTorrent crashes when exiting
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 408104 409600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-08 21:16 UTC by ruslan5327
Modified: 2022-10-23 05:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (24.28 KB, text/plain)
2019-05-12 09:36 UTC, km
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ruslan5327 2019-05-08 21:16:59 UTC
Application: ktorrent (5.1.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.58-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
I log in to Plasma.
KTorrent autostart in a minimized form.
I restore the KTorrent window.
I choose File-> Exit.
KTorrent crashes.

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 0x7f03158d8900 (LWP 23034))]

Thread 7 (Thread 0x7f0283fff700 (LWP 23065)):
#0  0x00007f030b9588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f03106cb3eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f0315116b53 in ?? () from /usr/lib64/libKF5Torrent.so.6
#3  0x00007f03106ca0ce in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007f030b952569 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f02925ec700 (LWP 23043)):
#0  0x00007f030b9588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f03106cb3eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f03106c407b in QSemaphore::acquire(int) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f03131c0e24 in ?? () from /usr/lib64/libQt5Network.so.5
#4  0x00007f03106ca0ce in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f030b952569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f02d4a0d700 (LWP 23042)):
#0  0x00007f030b9588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0310347b4c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib64/libstdc++.so.6
#2  0x00007f02de67c657 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007f02de67c799 in ?? () from /usr/lib64/libQt5WebKit.so.5
#4  0x00007f031034d38f in ?? () from /usr/lib64/libstdc++.so.6
#5  0x00007f030b952569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f02e06c5700 (LWP 23041)):
[KCrash Handler]
#6  0x00007f030f9b6120 in raise () from /lib64/libc.so.6
#7  0x00007f030f9b7701 in abort () from /lib64/libc.so.6
#8  0x00007f030f9f9467 in __libc_message () from /lib64/libc.so.6
#9  0x00007f030f9ffc83 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f030fa01589 in _int_free () from /lib64/libc.so.6
#11 0x00007f030fae674b in tcache_thread_freeres () from /lib64/libc.so.6
#12 0x00007f030fae67a2 in __libc_thread_freeres () from /lib64/libc.so.6
#13 0x00007f030b95258e in start_thread () from /lib64/libpthread.so.0
#14 0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f02f6dee700 (LWP 23038)):
#0  0x00007f030fa6e0bb in poll () from /lib64/libc.so.6
#1  0x00007f030904b129 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f030904b23c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f03108edc1b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f031089609a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f03106c54da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f03106ca0ce in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f030b952569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f02fc953700 (LWP 23036)):
#0  0x00007f030fa6e0bb in poll () from /lib64/libc.so.6
#1  0x00007f030904b129 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f030904b23c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f03108edc1b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f031089609a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f03106c54da in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f0311d0e985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f03106ca0ce in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f030b952569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f030fa7885f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f03158d8900 (LWP 23034)):
[KCrash Handler]
#6  0x00007f031072a478 in QMapDataBase::freeNodeAndRebalance(QMapNodeBase*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f03129dbe72 in ?? () from /usr/lib64/libKF5CoreAddons.so.5
#8  0x00007f03129dbdb8 in ?? () from /usr/lib64/libKF5CoreAddons.so.5
#9  0x00007f03129dbeb8 in ?? () from /usr/lib64/libKF5CoreAddons.so.5
#10 0x00007f03129d7029 in ?? () from /usr/lib64/libKF5CoreAddons.so.5
#11 0x00007f03129d72b6 in KDirWatch::~KDirWatch() () from /usr/lib64/libKF5CoreAddons.so.5
#12 0x00007f03129d72f9 in KDirWatch::~KDirWatch() () from /usr/lib64/libKF5CoreAddons.so.5
#13 0x00007f03108c2e2b in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#14 0x00007f03108cc12b in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#15 0x00007f02e06d3614 in ?? () from /usr/lib64/qt5/plugins/ktorrent/ktorrent_scanfolder.so
#16 0x00007f02e06d09d7 in ?? () from /usr/lib64/qt5/plugins/ktorrent/ktorrent_scanfolder.so
#17 0x00007f02e06d0a49 in ?? () from /usr/lib64/qt5/plugins/ktorrent/ktorrent_scanfolder.so
#18 0x00007f02e06d3fde in ?? () from /usr/lib64/qt5/plugins/ktorrent/ktorrent_scanfolder.so
#19 0x00007f03154cc9b6 in kt::PluginManager::unloadAll() () from /usr/lib64/libktcore.so.16
#20 0x000055ab7314fcbd in ?? ()
#21 0x00007f03108c515c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#22 0x00007f0310896857 in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f031089a62b in QCoreApplicationPrivate::execCleanup() () from /usr/lib64/libQt5Core.so.5
#24 0x00007f031089e9fd in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#25 0x000055ab7314ccfa in ?? ()
#26 0x00007f030f9a0f8a in __libc_start_main () from /lib64/libc.so.6
#27 0x000055ab7314d6da in _start ()
[Inferior 1 (process 23034) detached]

Possible duplicates by query: bug 379946, bug 281312.

Reported using DrKonqi
Comment 1 km 2019-05-12 09:36:58 UTC
Created attachment 120000 [details]
New crash information added by DrKonqi

ktorrent (5.1.1) using Qt 5.12.2

- What I was doing when the application crashed:

The crash happens every time I exit Ktorrent.

-- Backtrace (Reduced):
#10 0x00007f6e8877bb66 in KDirWatch::~KDirWatch() () from /usr/lib64/libKF5CoreAddons.so.5
#11 0x00007f6e8877bba9 in KDirWatch::~KDirWatch() () from /usr/lib64/libKF5CoreAddons.so.5
#12 0x00007f6e8624a645 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#13 0x00007f6e86254d36 in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#14 0x00007f6e3e7ef5a4 in kt::ScanFolder::~ScanFolder (this=0x7f6e38003020, __in_chrg=<optimized out>) at /usr/src/debug/ktorrent-5.1.1/plugins/scanfolder/scanfolder.cpp:67
Comment 2 Christoph Feck 2019-05-30 11:21:18 UTC
*** Bug 408104 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2019-07-08 14:35:48 UTC
*** Bug 409600 has been marked as a duplicate of this bug. ***
Comment 4 Justin Zobel 2022-09-23 02:22:41 UTC
Thank you for reporting this crash 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 crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-10-08 04:52:58 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 6 Bug Janitor Service 2022-10-23 05:00:52 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!