Bug 504689

Summary: ktorrent freezes on huge torrent
Product: [Applications] ktorrent Reporter: Simon Hafner <HafnerSimon>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Simon Hafner 2025-05-23 07:02:47 UTC
SUMMARY

Ktorrent hangs on huge torrents

STEPS TO REPRODUCE
1. download torrent from https://www.moddb.com/mods/unification-mod-dawn-of-war-soulstorm/downloads/unification-736-torrent-pack
2. download a prior version of them mod and unpack it into a directory
3. point the newly downloaded torrent to that directory

OBSERVED RESULT

4. ktorrent will hang a few minutes opening the torrent
5. ktorrent will hang a few hours while checking for existing files

EXPECTED RESULT

responsive window

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 1700X Eight-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT


ADDITIONAL INFORMATION