By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 363

Summary: ktorrent is not the most recent version
Product: TDE Reporter: Darrell <darrella>
Component: non-core programsAssignee: Darrell <darrella>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, darrella, julius.schwartzenberg, slavek.banko
Priority: P1    
Version: 3.5.13 [Trinity]   
Hardware: All   
OS: All   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Patch to update ktorrent 2.2.6 -> 2.2.8
Patch to update ktorrent 2.2.6 -> 2.2.8 with geoip.dat changes

Description Darrell 2010-10-16 10:35:40 CDT
The version provided by Trinity is 2.2.6. The most recent version is 2.2.8.
Comment 1 Julius Schwartzenberg 2010-12-21 18:04:01 CST
The current version also crashes for me. Here is a backtrace. Maybe this problem will be solved by updating to the latest version:

[Thread debugging using libthread_db enabled]
[New Thread 0x7fa5217b1700 (LWP 6713)]
[New Thread 0x7fa5227b3700 (LWP 6712)]
[KCrash handler]
#5  0x00007fa519c53de4 in kt::PeerViewItem::PeerViewItem(kt::PeerView*, kt::PeerInterface*) () from /opt/kde3/lib/kde3/ktinfowidgetplugin.so
#6  0x00007fa519c54183 in kt::PeerView::addPeer(kt::PeerInterface*) ()
   from /opt/kde3/lib/kde3/ktinfowidgetplugin.so
#7  0x00007fa52d84c4f9 in bt::TorrentControl::setMonitor(kt::MonitorInterface*) () from /opt/kde3/lib/libktorrent-2.2.6.so
#8  0x00007fa519c54a18 in kt::KTorrentMonitor::KTorrentMonitor(kt::TorrentInterface*, kt::PeerView*, kt::ChunkDownloadView*) ()
   from /opt/kde3/lib/kde3/ktinfowidgetplugin.so
#9  0x00007fa519c4849d in kt::InfoWidgetPlugin::createMonitor(kt::TorrentInterface*) () from /opt/kde3/lib/kde3/ktinfowidgetplugin.so
#10 0x00007fa52d8b4d54 in kt::GUIInterface::notifyViewListeners(kt::TorrentInterface*) () from /opt/kde3/lib/libktorrent-2.2.6.so
#11 0x0000000000467795 in ?? ()
#12 0x00000000004721fd in ?? ()
#13 0x00007fa52bf92d24 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#14 0x000000000047b10d in ?? ()
#15 0x000000000047cd9a in ?? ()
#16 0x00007fa52bf92db9 in QObject::activate_filters(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#17 0x00007fa52bf92e17 in QObject::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#18 0x00007fa52bfc6b03 in QWidget::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#19 0x00007fa52bf34625 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#20 0x00007fa52bf353ce in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#21 0x00007fa52b94261e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#22 0x00007fa52bfc4320 in QWidget::setFocus() () from /usr/lib/libqt-mt.so.3
#23 0x000000000047a4b2 in ?? ()
#24 0x00007fa52bf92d24 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#25 0x00007fa52c2b924d in QTabWidget::currentChanged(QWidget*) ()
   from /usr/lib/libqt-mt.so.3
#26 0x00007fa52c2b912d in QTabWidget::qt_invoke(int, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#27 0x00007fa52bf92d24 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#28 0x00007fa52bf949fa in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
#29 0x00007fa52c0a9982 in QTabBar::setCurrentTab(QTab*) ()
   from /usr/lib/libqt-mt.so.3
#30 0x00007fa52c0a8c5f in QTabBar::mousePressEvent(QMouseEvent*) ()
   from /usr/lib/libqt-mt.so.3
#31 0x00007fa52c89ffc7 in KTabBar::mousePressEvent(QMouseEvent*) ()
   from /opt/kde3/lib/libkdeui.so.4
#32 0x00007fa52bfc6fdd in QWidget::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#33 0x00007fa52bf34625 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#34 0x00007fa52bf3557e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#35 0x00007fa52b94261e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#36 0x00007fa52bed3f91 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/libqt-mt.so.3
#37 0x00007fa52bed2fa6 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libqt-mt.so.3
#38 0x00007fa52bee5802 in QEventLoop::processEvents(unsigned int) ()
   from /usr/lib/libqt-mt.so.3
#39 0x00007fa52bf4b431 in QEventLoop::enterLoop() ()
   from /usr/lib/libqt-mt.so.3
#40 0x00007fa52bf4b2e2 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#41 0x0000000000440733 in ?? ()
#42 0x00007fa52cc97c4d in __libc_start_main () from /lib/libc.so.6
#43 0x0000000000428e59 in ?? ()
#44 0x00007fff2ec29418 in ?? ()
#45 0x000000000000001c in ?? ()
#46 0x0000000000000007 in ?? ()
#47 0x00007fff2ec2a9fd in ?? ()
#48 0x00007fff2ec2aa06 in ?? ()
#49 0x00007fff2ec2aa0c in ?? ()
#50 0x00007fff2ec2aa15 in ?? ()
#51 0x00007fff2ec2aa1f in ?? ()
#52 0x00007fff2ec2aa28 in ?? ()
#53 0x00007fff2ec2aa31 in ?? ()
#54 0x0000000000000000 in ?? ()
Comment 2 Darrell 2011-12-22 20:21:41 CST
Ktorrent is still at 2.2.6 in 3.5.13. I am linking to a copy of the 2.2.8 sources. Perhaps we can get this updated before R14. :)

This is an upatched copy of the sources:

http://slackware.mirrors.tds.net/pub/slackware/slackware-12.2/extra/ktorrent/ktorrent-2.2.8-i486-1.tgz
Comment 3 Darrell 2012-01-01 23:15:13 CST
This is an unpatched copy of the 2.2.6 sources:

http://slackware.mirrors.tds.net/pub/slackware/slackware-12.1/extra/ktorrent/ktorrent-2.2.6-i486-1.tgz

Between the two links you can create a diff. I tried to upload a compressed diff but the bugzilla won't let me upload anything greater than 1MB.
Comment 4 Darrell 2012-01-12 21:35:44 CST
Tim, if you provide me with a link to some tqt conversion scripts, I'll diff the two versions, apply your tqt conversion and submit the patch.
Comment 5 Calvin Morrison 2012-01-14 09:51:16 CST
Darrell,

You commented previously linking the 2.2.8 sources.

Looking at the tarball it's actually a binary package. 

Do we have the actual source somewhere?
Comment 6 Darrell 2012-01-14 11:22:52 CST
Oof. My mistake!

Here:

http://slackware.mirrors.tds.net/pub/slackware/slackware-12.2/extra/source/ktorrent/ktorrent-2.2.8.tar.bz2

Let me know whether you want me to help. If you can stay focused on the bigger bugs that need c++ expertise, I can handle something like this. I just need a good tqt layer script. I can test building easily enough once converted.
Comment 7 Calvin Morrison 2012-01-15 19:07:35 CST
Found the original source: 2.2.8 from Ktorrent.org

http://ktorrent.org/downloads/2.2.8/ktorrent-2.2.8.tar.bz2
Comment 8 Darrell 2012-03-19 20:43:42 CDT
Created attachment 498 [details]
Patch to update ktorrent 2.2.6 -> 2.2.8

The patch is in tar.gz format because the bug tracker won't allow a patch larger than 1MB.

Patch created by comparing original 2.2.6 to 2.2.7 sources and then original 2.2.7 to 2.2.8 sources. Then adjusted for TQt layer.

According to the ktorrent change log, there were only a few patches from 2.2.6 to 2.2.8. The attached patch matches those change log descriptions.

With the patch ktorrent builds with no failures on Slackware 13.1.

I would be grateful if other users would test the patch. If no further problems then I'll push to GIT. :)
Comment 9 Darrell 2012-03-21 20:10:04 CDT
Created attachment 501 [details]
Patch to update ktorrent 2.2.6 -> 2.2.8 with geoip.dat changes

The attached patch differs from the previous patch with changes in geoip.dat.

Attached patch is tar.gz because of file upload limitations.
Comment 10 Darrell 2012-03-21 22:57:44 CDT
Patch tested by another user through bug report 443. Patch pushed to GIT in hash 5af9907fee05f882f8d2422e47198ebf61d97bb7.

This resolves the bug report!