суббота, 28 ноября 2015 г.

KTorrent KF5 port

So finally i have scratched my own itch and worked on ktorrent port (thanks Andrius Štikonas for initial porting of libktorrent). Basic torrent download works (i tried rutracker.org), but ktorrent cannot find its plugins. So if anyone has expertise in KService and stuff, help is welcome.

One can build ktorrent using kdesrc-build script or manually from 'frameworks' git branch.

Also note that new Coverity scan results are available for many kde libs and apps, this time also including plasma and baloo, but without krita

14 комментариев:

stikonas комментирует...

By the way, it would be nice if somebody could look into the crashes in libktorrent. examples/ktcli crashes when download is finished and about half of the tests also crash with the same backtrace. Unfortunately, I somehow only see ?? in the first line of the backtrace even though I tried to install debug info.

Unknown комментирует...

Hey, thank you for your work on KTorrent :)

Nick Shaforostoff комментирует...

"half of the tests also crash" strange. i have 100% test pass. i run debian unstable x64 on lenovo e330

Jarosław Staniek комментирует...

Hello Nick,
It would be perfect to see calligra.git, kdb.git, kreport.git, kproperty.git, kdiagram.git covered by scan.coverity.com.

Is that possible?

szotsaki комментирует...

I was always interested in some statistics about Coverity scans. Like the one for LibreOffice: https://wiki.documentfoundation.org/images/9/9e/Coverity_scan_analysis_results_bar_4.4.png

If you had time, could you please make some graphs just for an outsider to know how code quality improves?

Diego Call. комментирует...

Just want to say thanks for your work, I am a heavy user of ktorrent!

stikonas комментирует...

Well, tests pass and some crash afterwards. E.g.

PASS : DataCheckerTest::testPartial()
PASS : DataCheckerTest::cleanupTestCase()
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted
********* Finished testing of DataCheckerTest *********
KCrash: Application 'datacheckertest' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

Incomplete backtrace:
https://paste.kde.org/pia64nwxi
(but not too useful because I don't know why #6 has ??)

Nick Shaforostoff комментирует...

stikonas: can you retry after install gmp (GNU MP functions for performing integer arithmetic) debug symbols?
i couldn't find these for debian so maybe you'll need to compile and install the library youself.

the crash doesn't happen when i run datacheckertest on my laptop. can you specify which gmp version do you have, the compiler and maybe other env info?

Nick Shaforostoff комментирует...

update: i have figured out how to solve plugin issue

stikonas комментирует...

Strange, even after installing gmp 6.0.0a debug symbols I can't get a better backtrace. I'll try to install even more other debug symbols to see if anything improves.

I have gcc 4.9.3 on Gentoo.

Nick Shaforostoff комментирует...

stikonas: http://linux.slashdot.org/story/14/07/27/1838219/linus-torvalds-gcc-490-seems-to-be-terminally-broken

in my debian i have gcc 5.2 also you could try compiling with clang.

Anil Gupta комментирует...

Thank you for posting such nice article read. I am very glad to read this. Really good one.
Web Designing Company in Bangalore, Web Development Company Bangalore

Prasanth комментирует...

I absolutely admired every bit of it and i additionally accept you book apparent to analysis out fresh things in your site.
UI Design Companies in Bangalore, Web Application Development Companies in Bangalore

nss комментирует...

Am looking forward for syndication plugin in ktorrent 5.
Can you share what your plans for that ,What opportunities are there.
Спасибо!