This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KTorrent 3.1.4 | Fedora 10 (Rawhide 9.92)

Tags: None
(comma "," separated)
Jesper
Registered Member
Posts
54
Karma
0
Hi,

It's has been awhile since I was here, cause KT3.1 & 3.1.2 were unuseable for me due to various reasons such as speed issues and random crashes.

Now I have decided to give 3.1.4 a whirl and I have some good and some bad news.

First let me say that I am using the FC10 rpm from the rawhide repo.

Good news first:
The speed issue is gone, and it doesn't appear to crash randomly on some torrents.

Bad news:
The plugins are missing, George told me in the past to run kbuildsoca4 and it would fix it, but it doesn't do it. The plugins cant be found.

There is also an error while starting ktorrent, I am fairly sure that it has no affect on the usage of KT.

Here is the output:
$ ktorrent &
Code: Select all
ktorrent(9728)/kdeui (K*Gesture*) KAction::setGlobalShortcut: Attempt to set global shortcut for action without objectName(). Read the setGlobalShortcut() documentation.

Program starts just fine and dandy tho.

When opening Settings->Configure KTorrent and clicks on plugins I get this in the console:
Code: Select all
ktorrent(9728)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KTorrent/Plugin"  not found

I have ran kbuildsoca4, which did not correct this issue.
Any new suggestions on that plugin issue

After a few moment where KT has been minimized and rying to restore it, KT crashes with this in the console:
Code: Select all
KCrash: Application 'ktorrent' crashing...
sock_file=/home/USERNAME/.kde/socket-DOMAIN.dk/kdeinit4__0



I will report back with more as KT3.1.4 has a greater uptime than 10 minutes. :)


George
Moderator
Posts
5421
Karma
1

Tue Oct 28, 2008 8:49 am
The desktop file for the servicetype KTorrent/Plugin doesn't seem to be installed, or it can't be found.

How did you exactly install it ?

As for the crash, have you got a backtrace ?
Jesper
Registered Member
Posts
54
Karma
0

Tue Oct 28, 2008 8:50 am
yum install ktorrent :)

I dont get the KDE crash handler UI up when the crash happen(s), So I don't know how to do a backtrace :(


George
Moderator
Posts
5421
Karma
1

Tue Oct 28, 2008 9:09 am
Jesper wrote:yum install ktorrent :)


Bad package then, you can install the file manually though :

wget http://ktorrent.org/downloads/3.1.4/kto ... .4.tar.bz2
tar -xvjf ktorrent-3.1.4.tar.gz
cd ktorrent-3.1.4
cp ktorrent/ktorrentplugin.desktop `kde4-config --prefix`/share/kde4/servicetypes/
kbuildsycoca4

Then restart ktorrent, and the plugins should be found.
Jesper
Registered Member
Posts
54
Karma
0

Tue Oct 28, 2008 9:16 am
Yep, sweet that worked, might have had worked if I just had ran kbuildsoca4 as user not root the first time ? cause I got this prompt:
"cp: overwrite `/usr/share/kde4/servicetypes/ktorrentplugin.desktop'? y"

Anyways that worked.. If I get the Crash UI handler up i'll paste the backtrace if/when KT crashes.


Jesper
Registered Member
Posts
54
Karma
0

Tue Oct 28, 2008 9:54 am
Ok the crashhandler showed this time.. but Im sure its not of any use to you

Code: Select all
0x00000037b6ea7de1 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (process 11316)]


Thats all plus I got this as shown below.
[edit] image removed [/edit]


I'll try and build the source and see if it makes any differences

Last edited by Jesper on Wed Apr 06, 2011 3:18 am, edited 1 time in total.


Jesper
Registered Member
Posts
54
Karma
0

Tue Oct 28, 2008 10:25 am
Build update:

Code: Select all
[ 58%] Building CXX object plugins/search/CMakeFiles/ktsearchplugin.dir/searchpluginsettings.o
make[2]: *** No rule to make target `/usr/lib64/libgif.so', needed by `lib/ktsearchplugin.so'.  Stop.
make[1]: *** [plugins/search/CMakeFiles/ktsearchplugin.dir/all] Error 2
make: *** [all] Error 2


Package giflib-4.1.3-9.x86_64 already installed and latest version
libgif.so.4 libgif.so.4.1.3
So I linked the so.4 to .so (hope fully it works)
And I had to install the pcre-devel package too
(Both for the search plugin)

Its build, and installed... will report back


Jesper
Registered Member
Posts
54
Karma
0

Tue Oct 28, 2008 10:44 am
Just had the crash again with same little info as above

Code: Select all
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

0x00000037b6ea7de1 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (process 15898)]


George
Moderator
Posts
5421
Karma
1

Wed Oct 29, 2008 7:49 am
Try building with -DCMAKE_BUILD_TYPE=debugfull added as parameter to cmake.
Jesper
Registered Member
Posts
54
Karma
0

Wed Oct 29, 2008 12:13 pm
I have rebuild it, but not yet installed it, since it has not crashed in about 20 hours, but as said before and in the past it is all randomly. Will install on next crash


Jesper
Registered Member
Posts
54
Karma
0

Wed Oct 29, 2008 5:51 pm
Ok a fast update... As per "instructed" I rebuild KT with full debug.


I have actually found a way to crash it, so this time it wasnt just a random crash

(assuming you have Firefox set to use KT as handler for .torrent files) :
In Firefox, browse to a torrent site (ie, tpb.org) click on any torrent.
While it downloads, click on the same torrent once or more times so Firefox downloads the torrent 2-3 times before KT has reacted to the first then it will crash.
Might happen by doing different torrents, i just accidently downloaded the same twice.
I can actually remember I had this happen in 3.0.x and 3.1.1 and .2, never did happen with 2.2.x tho.


Here is the report:
Code: Select all
0x00000037b6ea7de1 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (process 17084)]

is all the backtrace UI says but the shell outputs a ton of stuff.

Code: Select all
*** glibc detected *** ktorrent: munmap_chunk(): invalid pointer: 0x00007fffe47db2d0 ***                                                                                               
======= Backtrace: =========                                                                         
/lib64/libc.so.6[0x37b6e77bb8]                                                                                                                                                         
/usr/lib64/libQtCore.so.4(_ZN14QObjectPrivate14deleteChildrenEv+0x81)[0x340a54fc31]                                                                                                     
/usr/lib64/libQtCore.so.4(_ZN7QObjectD2Ev+0x337)[0x340a5589f7]                                                                                                                         
/usr/lib64/libkio.so.5(_ZN3KIO8MkdirJobD0Ev+0x17)[0x340d2d8d47]                                                                                                                         
/usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x435)[0x340a5513f5]                                                                                                               
/usr/lib64/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbd)[0x340b78280d]                                                                                 
/usr/lib64/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x9a)[0x340b78a58a]                                                                                                 
/usr/lib64/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3b)[0x340c9fb04b]                                                                                                 
/usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xd1)[0x340a542391]                                                                                   
/usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2da)[0x340a54302a]                                                                 
/usr/lib64/libQtCore.so.4[0x340a56ab13]                                                                                                                                                 
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x340943775b]                                                                                                                   
/lib64/libglib-2.0.so.0[0x340943af2d]                                                                                                                                                   
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x6b)[0x340943b0eb]                                                                                                                   
/usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f)[0x340a56a79f]                                                       
/usr/lib64/libQtGui.so.4[0x340b81317f]                                                                                                                                                 
/usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x340a540cb2]                                                                           
/usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd)[0x340a540e3d]                                                                                     
/usr/lib64/libkdecore.so.5(_ZN4KJob4execEv+0x5f)[0x340c2e443f]                                                                                                                         
/usr/lib64/libbtcore.so.7(_ZN2bt7MakeDirERK7QStringb+0x44)[0x7691a0]                                                                                                                   
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl9setupDirsERK7QStringS3_+0x2d8)[0x7e121c]                                                                                               
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl12initInternalEPNS_21QueueManagerInterfaceERK7QStringS5_S5_b+0x67)[0x7e128f]                                                           
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl4initEPNS_21QueueManagerInterfaceERK7QStringS5_S5_S5_+0xdc)[0x7e1ec8]                                                                   
ktorrent[0x435c2b]                                                                                                                                                                     
ktorrent[0x434d14]                                                                                                                                                                     
ktorrent[0x43ba48]                                                                                                                                                                     
ktorrent[0x44530f]                                                                                                                                                                     
/usr/lib64/libkdeui.so.5[0x340ca03a96]                                                                                                                                                 
/usr/lib64/libkdeui.so.5[0x340ca01e62]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae22143]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23450]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23a31]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23d48]                                                                                                                                                 
/usr/lib64/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x415)[0x340a5513d5]                                                                                                               
/usr/lib64/libQtGui.so.4(_ZN12QApplication5eventEP6QEvent+0x3a)[0x340b787f1a]                                                                                                           
/usr/lib64/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbd)[0x340b78280d]                                                                                 
/usr/lib64/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x9a)[0x340b78a58a]                                                                                                 
/usr/lib64/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3b)[0x340c9fb04b]                                                                                                 
/usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xd1)[0x340a542391]                                                                                   
/usr/lib64/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2da)[0x340a54302a]                                                                 
/usr/lib64/libQtCore.so.4[0x340a56ab13]                                                                                                                                                 
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x340943775b]                                                                                                                   
/lib64/libglib-2.0.so.0[0x340943af2d]                                                                                                                                                   
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x6b)[0x340943b0eb]                                                                                                                   
/usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f)[0x340a56a79f]                                                       
/usr/lib64/libQtGui.so.4[0x340b81317f]                                                                                                                                                 
/usr/lib64/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x340a540cb2]                                                                           
/usr/lib64/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd)[0x340a540e3d]                                                                                     
/usr/lib64/libkdecore.so.5(_ZN4KJob4execEv+0x5f)[0x340c2e443f]                                                                                                                         
/usr/lib64/libbtcore.so.7(_ZN2bt7MakeDirERK7QStringb+0x44)[0x7691a0]                                                                                                                   
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl9setupDirsERK7QStringS3_+0x2d8)[0x7e121c]                                                                                               
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl12initInternalEPNS_21QueueManagerInterfaceERK7QStringS5_S5_b+0x67)[0x7e128f]                                                           
/usr/lib64/libbtcore.so.7(_ZN2bt14TorrentControl4initEPNS_21QueueManagerInterfaceERK7QStringS5_S5_S5_+0xdc)[0x7e1ec8]                                                                   
ktorrent[0x435c2b]                                                                                                                                                                     
ktorrent[0x434d14]                                                                                                                                                                     
ktorrent[0x43ba48]                                                                                                                                                                     
ktorrent[0x44530f]                                                                                                                                                                     
/usr/lib64/libkdeui.so.5[0x340ca03a96]                                                                                                                                                 
/usr/lib64/libkdeui.so.5[0x340ca01e62]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae22143]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23450]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23a31]                                                                                                                                                 
/usr/lib64/libQtDBus.so.4[0x340ae23d48]                                                                                                                                                 
======= Memory map: ========                                                                                                                                                           
00110000-0017b000 r-xp 00000000 09:01 884136                             /usr/lib64/libktcore.so.6.3.0                                                                                 
0017b000-0037b000 ---p 0006b000 09:01 884136                             /usr/lib64/libktcore.so.6.3.0                                                                                 
0037b000-0037f000 rw-p 0006b000 09:01 884136                             /usr/lib64/libktcore.so.6.3.0                                                                                 
00400000-004ed000 r-xp 00000000 09:01 886125                             /usr/bin/ktorrent                                                                                             
006ec000-006ef000 rw-p 000ec000 09:01 886125                             /usr/bin/ktorrent                                                                                             
006ef000-006f0000 rw-p 006ef000 00:00 0                                                                                                                                                 
006f0000-00887000 r-xp 00000000 09:01 881254                             /usr/lib64/libbtcore.so.7.3.0                                                                                 
00887000-00a87000 ---p 00197000 09:01 881254                             /usr/lib64/libbtcore.so.7.3.0                                                                                 
00a87000-00a92000 rw-p 00197000 09:01 881254                             /usr/lib64/libbtcore.so.7.3.0                                                                                 
00a92000-00ab7000 rw-p 00a92000 00:00 0                                                                                                                                                 
00ab7000-00aba000 r-xp 00000000 09:01 941731                             /usr/lib64/gconv/UTF-16.so                                                                                     
00aba000-00cb9000 ---p 00003000 09:01 941731                             /usr/lib64/gconv/UTF-16.so                                                                                     
00cb9000-00cba000 r--p 00002000 09:01 941731                             /usr/lib64/gconv/UTF-16.so                                                                                     
00cba000-00cbb000 rw-p 00003000 09:01 941731                             /usr/lib64/gconv/UTF-16.so                                                                                     
00cbb000-00cc7000 r-xp 00000000 09:01 486751                             /lib64/libnss_files-2.8.90.so                                                                                 
00cc7000-00ec6000 ---p 0000c000 09:01 486751                             /lib64/libnss_files-2.8.90.so                                                                                 
00ec6000-00ec7000 r--p 0000b000 09:01 486751                             /lib64/libnss_files-2.8.90.so                                                                                 
00ec7000-00ec8000 rw-p 0000c000 09:01 486751                             /lib64/libnss_files-2.8.90.so                                                                                 
00ec8000-00ece000 r-xp 00000000 09:01 1297446                            /usr/lib64/qt4/plugins/imageformats/libqgif.so                                                                 
00ece000-010cd000 ---p 00006000 09:01 1297446                            /usr/lib64/qt4/plugins/imageformats/libqgif.so                                                                 
010cd000-010ce000 rw-p 00005000 09:01 1297446                            /usr/lib64/qt4/plugins/imageformats/libqgif.so                                                                 
010ce000-010d3000 r-xp 00000000 09:01 1297449                            /usr/lib64/qt4/plugins/imageformats/libqmng.so                                                                 
010d3000-012d3000 ---p 00005000 09:01 1297449                            /usr/lib64/qt4/plugins/imageformats/libqmng.so                                                                 
012d3000-012d4000 rw-p 00005000 09:01 1297449                            /usr/lib64/qt4/plugins/imageformats/libqmng.so
012d4000-012da000 r-xp 00000000 09:01 1491610                            /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
012da000-014da000 ---p 00006000 09:01 1491610                            /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
014da000-014db000 rw-p 00006000 09:01 1491610                            /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
014db000-014e2000 r-xp 00000000 09:01 1492221                            /usr/lib64/kde4/plugins/imageformats/kimg_eps.so
014e2000-016e1000 ---p 00007000 09:01 1492221                            /usr/lib64/kde4/plugins/imageformats/kimg_eps.so
016e1000-016e2000 rw-p 00006000 09:01 1492221                            /usr/lib64/kde4/plugins/imageformats/kimg_eps.so
01837000-0183b000 r-xp 00000000 09:01 1297450                            /usr/lib64/qt4/plugins/imageformats/libqsvg.so
0183b000-01a3a000 ---p 00004000 09:01 1297450                            /usr/lib64/qt4/plugins/imageformats/libqsvg.so
01a3a000-01a3b000 rw-p 00003000 09:01 1297450                            /usr/lib64/qt4/plugins/imageformats/libqsvg.so
01b0c000-035ae000 rw-p 01b0c000 00:00 0                                  [heap]
03700000-03705000 r-xp 00000000 09:01 1297451                            /usr/lib64/qt4/plugins/imageformats/libqtiff.so
03705000-03904000 ---p 00005000 09:01 1297451                            /usr/lib64/qt4/plugins/imageformats/libqtiff.so
03904000-03905000 rw-p 00004000 09:01 1297451                            /usr/lib64/qt4/plugins/imageformats/libqtiff.so
03e26000-03e2f000 r-xp 00000000 09:01 1297448                            /usr/lib64/qt4/plugins/imageformats/KCrash: Application 'ktorrent' crashing...
sock_file=/home/USER/.kde/socket-DOMAIN/kdeinit4__0


Hope it makes sense to you, I will post what it says from a random crash too when it occurs.


ConteZero
Registered Member
Posts
1
Karma
0

Sun Nov 02, 2008 6:32 pm
I've a problem with 3.1.4 too, but it seems to be related to file check (so disabling checks "fix" the problem... either if it's a really DIRTY workaround expecting a TRUE fix).
Since 3.1.3 was so horribly broken 3.1.4 is still far superior.

You can try for yourself, checking a huge torrent (4+ GB) kills KTorrent at least half of the times (at least, "works" for me, ArchLinux x86_64 here).
Jesper
Registered Member
Posts
54
Karma
0

Mon Nov 03, 2008 7:18 am
I have not had KT crash on file checking at all.


Nor have I had KT randomly crash since:
I changed the "Network Sleep Interval" from 10 ms (default) to 25 ms
I unchecked the "Suppress Sleep While Torrents Are Running" box


Jesper
Registered Member
Posts
54
Karma
0

Sun Nov 16, 2008 5:11 pm
I am pleased to say that I have not had KT randomly crash, infact I have not had a crash since I posted the debug above :)

Today I have upgraded my installation to 3.1.5, and will report back with my findings (if any).




Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]