Bug 471400

Summary: Ktorrent occasionally locks up while seeding
Product: [Applications] ktorrent Reporter: Lastique <andysem>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Ktorrent backtrace in locked up state.

Description Lastique 2023-06-23 23:50:00 UTC
Created attachment 159870 [details]
Ktorrent backtrace in locked up state.

SUMMARY

Sometimes, as Ktorrent is seeding a number of torrents in the background, it locks up and stops uploading and downloading torrents. If you click or double-click on the Ktorrent icon in the system tray, nothing happens for about a minute, and then Ktorrent context menu opens (with set upload/download limits, suspend torrents, etc.). The context menu is animated, I can pick options or close it by clicking away, but the main Ktorrent window cannot be opened. For example, picking "Configure Ktorrent" does nothing.

STEPS TO REPRODUCE

I do not have a reproducer, it just happens at random points sometimes (not very often, maybe once a month). System uptime doesn't seem to matter, it can happen after a day or a week of uptime.

I have a few dozens of downloaded torrents that are seeding. I think I also saw it happen also when I had one or a few torrents downloading.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.19.0-1027-lowlatency (64-bit)
Graphics Platform: X11
Processors: 16 × 12th Gen Intel® Core™ i7-12700K
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2

ADDITIONAL INFORMATION

I have captured a backtrace of the ktorrent process while it is in this locked up state.