When choosing to enable the Search plugin in the Plugins tab of the ktorrent gui, the program freezes, becomes unresponsive, one core is 100% consumed. Only kill -9 or -sighup will close the window. The -sighup leaves child processes to clean up before ktorrent will start again. On up-to-date 64-bit MGA7, using ktorrent-5.1.1-4.1.mga7 Internet shows similar complaint: https://bugs.kde.org/show_bug.cgi?id=388966 I tried to compile Master or even possibly patched 5.1 from https://github.com/KDE/ktorrent but was thwarted by newer dependencies I couldn't resolve from cauldron. I found a similar report in bugzilla search and started ktorrent from CLI as instructed there: https://bugs.mageia.org/show_bug.cgi?id=25002#c1 I'll attach that file. Thanks.
Created attachment 11990 [details] output from `ktorrent 2>&1 | tee ktorrent2.txt' Once the program locks up, the output file doesn't change. Finally, I kill the process(es).
Please test with upcoming libktorrent-2.2.0-1.mga7 and ktorrent-5.2.0-1.mga7 in Core/Updates_testing repo!
CC: (none) => geiger.david68210
I found and installed: libktorrent-common-2.2.0-1.mga7.noarch Mon 16 Nov 2020 05:26:20 AM PST ktorrent-5.2.0-1.mga7.x86_64 Mon 16 Nov 2020 05:26:20 AM PST Although checking the Search plugin box doesn't freeze the app, the Search tab doesn't appear. Before, that tab appeared and the app immediately froze. Now, the Search plugin box can be de-selected, ktorrent closed, but it is selected when the app is opened again. I've moved ~/.cache/ktorrent and ~/.local/share/ktorrent, re-installed with rpm --replacefiles --replacepkgs, and run ktorrent from cli for many iterations. The terminal output is much quieter, typically: [rolf@x570i ktorrent]$ ktorrent 2>&1 | tee ktorrent9.txt Qt: Session management error: Could not open network socket ^C with only one instance of one more line: Warning: A widget named ' "kcfg_showTotalSpeedInTitle" ' was found but there is no setting named ' "showTotalSpeedInTitle" ' There is a brief log, so I will post it here, in ~/local/share/ktorrent that contains what looks to me some interesting information. Maybe you will find it interesting, also. Thanks! [rolf@x570i ~]$ cat .local/share/ktorrent/log Mon Nov 16 05:27:30 2020: Bound to :: Mon Nov 16 05:27:30 2020: Cannot bind to port 0.0.0.0:6881 : Address already in use Mon Nov 16 05:27:30 2020: Bound to TCP port 6881 Mon Nov 16 05:27:30 2020: Cannot open /home/rolf/.local/share/ktorrent/groups : No such file or directory Mon Nov 16 05:27:30 2020: Failed to open /home/rolf/.local/share/ktorrent/magnets : No such file or directory Mon Nov 16 05:27:30 2020: Plugin /usr/lib64/qt5/plugins/ktorrent/ktorrent_infowidget.so version does not match KTorrent version, unloading it. Mon Nov 16 05:27:30 2020: Plugin /usr/lib64/qt5/plugins/ktorrent/ktorrent_search.so version does not match KTorrent version, unloading it. Mon Nov 16 05:27:30 2020: Plugin /usr/lib64/qt5/plugins/ktorrent/ktorrent_infowidget.so version does not match KTorrent version, unloading it. Mon Nov 16 05:27:30 2020: Plugin /usr/lib64/qt5/plugins/ktorrent/ktorrent_search.so version does not match KTorrent version, unloading it. Mon Nov 16 05:27:30 2020: Starting minimized Mon Nov 16 05:27:30 2020: Started update timer Mon Nov 16 05:27:30 2020: Suppressing sleep Mon Nov 16 05:27:30 2020: Stopped update timer Mon Nov 16 05:27:30 2020: Stopped suppressing sleep Mon Nov 16 05:27:46 2020: Plugin /usr/lib64/qt5/plugins/ktorrent/ktorrent_infowidget.so version does not match KTorrent version, unloading it. Mon Nov 16 05:27:57 2020: Signal 2 caught
Hi, thanks for reporting this. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it)
Keywords: (none) => TriagedAssignee: bugsquad => kdeStatus: NEW => ASSIGNEDCC: (none) => ouaurelien
You have not installed all updated packages. List of updated packages: libktorrent-common-2.2.0-1.mga7.noarch.rpm libkf5torrent6-2.2.0-1.mga7.i586.rpm libkf5torrent-devel-2.2.0-1.mga7.i586.rpm lib64kf5torrent6-2.2.0-1.mga7.x86_64.rpm lib64kf5torrent-devel-2.2.0-1.mga7.x86_64.rpm ktorrent-5.2.0-3.mga7.i586.rpm ktorrent-5.2.0-3.mga7.x86_64.rpm libktcore16-5.2.0-3.mga7.i586.rpm lib64ktcore16-5.2.0-3.mga7.x86_64.rpm
New fixed list of updated packages: libktorrent-common-2.2.0-1.mga7.noarch.rpm libkf5torrent6-2.2.0-1.mga7.i586.rpm libkf5torrent-devel-2.2.0-1.mga7.i586.rpm lib64kf5torrent6-2.2.0-1.mga7.x86_64.rpm lib64kf5torrent-devel-2.2.0-1.mga7.x86_64.rpm ktorrent-5.2.0-1.mga7.i586.rpm ktorrent-5.2.0-1.mga7.x86_64.rpm libktcore16-5.2.0-1.mga7.i586.rpm lib64ktcore16-5.2.0-1.mga7.x86_64.rpm
Created attachment 12012 [details] output from invoking ktorrent in cli, as detailed in comment Hi, (In reply to David GEIGER from comment #5) > You have not installed all updated packages. > ... Yes, I had found what was closest to the two packages you cited, as I said. Perhaps I'm not sophisticated enough to understand more packages are implicated. ;) Anyway, from mirrors.kernel.org ... installing lib64ktcore16-5.2.0-1.mga7.x86_64.rpm lib64kf5torrent6-2.2.0-1.mga7.x86_64.rpm from /var/cache/urpmi/partial ... and [rolf@x570i ~]$ rpm -q libktorrent-common lib64kf5torrent6 lib64kf5torrent-devel ktorrent lib64ktcore16libktorrent-common-2.2.0-1.mga7 lib64kf5torrent6-2.2.0-1.mga7 package lib64kf5torrent-devel is not installed (not relevant to this, AFAIK) ktorrent-5.2.0-1.mga7 lib64ktcore16-5.2.0-1.mga7 [rolf@x570i ~]$ ktorrent 2>&1 | tee ktorrent22.txt -file attached, FWIW. Search tab is active (perhaps due to my previous configurations) and apparently functional, albeit the default engines not so much, most seemingly stale. Aside, I am accustomed to the qbittorrent format of search engines as python scripts, which I can copy (not compose!) from lists provided by the program. By comparison, the web-based ktorrent method seems less effective. Nonetheless, one default engine, btdigg, provided magnet links for my trial searches. URL=http://btdigg.com/search?q={searchTerms} is the format given for that search engine. More learning on my part about using ktorrent might make it more useful to me. Aside 2.0, closing the program from the gui "x" (in plasma) does not kill all ktorrent processes and I must kill them from cli before ktorrent will open again. That's grist for another bug! Bottom line, I'd say the reported bug has been solved, good work! Thanks.
That would be http://btdig.com/search?q={searchTerms}
Looks like this should have been assigned to QA and had a positive test already in Comment 7.
Whiteboard: (none) => MGA7-64-OKAssignee: kde => qa-bugs
Sounds good enough. Validating.
Keywords: Triaged => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Advisory: ======================== Updated ktorrent packages fix freezes when enabling search plugin References: https://bugs.mageia.org/show_bug.cgi?id=27612 ======================== Updated packages in core/updates_testing: ======================== ktorrent-5.2.0-1.mga7 lib(64)kf5torrent-devel-2.2.0-1.mga7 lib(64)kf5torrent6-2.2.0-1.mga7 lib(64)ktcore16-5.2.0-1.mga7 libktorrent-common-2.2.0-1.mga7 from SRPMs: ktorrent-5.2.0-1.mga7.src.rpm libktorrent-2.2.0-1.mga7.src.rpm
Keywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2021-0140.html
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED