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

[3.2dev] Torrents not starting from scan folder plugin?

Tags: None
(comma "," separated)
imported4-Tomasu
Registered Member
Posts
302
Karma
0
This is strange, I've been seeing it for about a week, if a torrent is loaded from the scan folder plugin, it'll initially say its "up speed" is positive (which I can reproduce just by clicking the manual announce button), with no down speed, and no chunks started (but plenty of peers connected). If I restart ktorrent, the torrent starts up just fine, and usually downloads rather fast. But it seems the torrent wont start for hours, if it does at all.
George
Moderator
Posts
5421
Karma
1

Sun Jan 18, 2009 11:13 am
Will investigate later today
George
Moderator
Posts
5421
Karma
1

Sun Jan 18, 2009 12:55 pm
Seems to work fine here, try the latest code.
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Sun Jan 18, 2009 6:02 pm
I have been :P I've tested this problem several times, updated svn between, and retested again...


Weird though, something in the past day or so has fixed it. Though the scan folder plugin itself has a couple issues. I'll sometimes not see new files, and it'll sometimes leave .torrents in the scanned dir, even if you told it to move them.
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Sun Jan 18, 2009 9:25 pm
Ok, not fixed. Just tried loading a few more torrents (I save them to my scan folder dir, and ktorrent loads them), and all 7 of them wouldn't start right away. As soon as I re started ktorrent, they all started up.
George
Moderator
Posts
5421
Karma
1

Mon Jan 19, 2009 7:56 am
Can you send the log file of such an event ?
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Tue Jan 20, 2009 7:36 pm
Yes indeed, heres a log containing the events durring, and after the ScanFolder plugin loads the torrent, sits for a little while (download doesn't start), then I exit out of ktorrent (coppied the log file), and start ktorrent back up, and the torrent starts just fine (I then exit back out, and copy that log file too).

edit, log was too large to paste in a code box... find it here.

When ktorrent is re opened, it skews the download time left column quite a bit. Takes a while for it to count back down to where it should be (even if ktorrent was only had the torrent open for a very short time before hand).
George
Moderator
Posts
5421
Karma
1

Wed Jan 21, 2009 9:35 am
When this happens, the peers you are connected to, what is the value of the choked and interesting columns in the peers tab ?
imported4-Tomasu
Registered Member
Posts
302
Karma
0

Wed Jan 21, 2009 5:44 pm
There seemed to be some of yes and no. Which was confusing, because then it should have connected to SOME peers if I understand how it works...

The unfortunate bit is it isn't happening right now, sometimes it works fine, sometimes it crashes with this:

Code: Select all
Application: KTorrent (ktorrent), signal SIGABRT
[Current thread is 0 (LWP 7111)]

Thread 8 (Thread 0xb4423b90 (LWP 7119)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb7106352 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb294a927 in ?? () from /usr/lib/libxine.so.1
#3  0x0aab5638 in ?? ()
#4  0x0aab5620 in ?? ()
#5  0xb442339c in ?? ()
#6  0xb294a854 in ?? () from /usr/lib/libxine.so.1
#7  0x00000000 in ?? ()

Thread 7 (Thread 0xb1b2eb90 (LWP 7120)):
#0  0xb65ad54a in clock_gettime () from /lib/i686/cmov/librt.so.1
#1  0xb728427b in QTimerInfoList::getTime (this=0xaa1910c, t=@0xaa19130) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:335
#2  0xb7284451 in QTimerInfoList::updateCurrentTime (this=0xaa1910c) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:293
#3  0xb7285e2c in QTimerInfoList::timerWait (this=0xaa1910c, tm=@0xb1b2e154) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_unix.cpp:416
#4  0xb7282a42 in timerSourcePrepare (source=0xb65b0ff4, timeout=0xb1b2e1a8) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#5  0xb652f0b2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb652f53a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x0aa9dd80 in ?? ()
#8  0xb1b2e218 in ?? ()
#9  0x0aab5f90 in ?? ()
#10 0x00000001 in ?? ()
#11 0xb65a7b08 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb65a7758 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0xb7106ed5 in pthread_getspecific () from /lib/i686/cmov/libpthread.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xb132db90 (LWP 7123)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb67e9e67 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb1b99a05 in ?? () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#3  0xb132d2f8 in ?? ()
#4  0x00000001 in ?? ()
#5  0xb132d2f8 in ?? ()
#6  0x00000000 in ?? ()

Thread 5 (Thread 0xb0aeab90 (LWP 7124)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb7106025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb295b91e in ?? () from /usr/lib/libxine.so.1
#3  0x0aacb3c8 in ?? ()
#4  0x0aacb3b0 in ?? ()
#5  0x00000000 in ?? ()

Thread 4 (Thread 0xaf6c3b90 (LWP 7138)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb67e9e67 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb7e0c578 in net::DownloadThread::waitForSocketReady (this=0xa105a78, timeout=5) at /home/kde4-devel/kdesvn/extragear/network/ktorrent/libbtcore/net/downloadthread.cpp:188
#3  0xb7e0c659 in net::DownloadThread::update (this=0xa105a78) at /home/kde4-devel/kdesvn/extragear/network/ktorrent/libbtcore/net/downloadthread.cpp:55
#4  0xb7e0d128 in net::NetworkThread::run (this=0xa105a78) at /home/kde4-devel/kdesvn/extragear/network/ktorrent/libbtcore/net/networkthread.cpp:48
#5  0xb7181a30 in QThreadPrivate::start (arg=0xa105a78) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#6  0xb71024c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb67f46de in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xaeec2b90 (LWP 7139)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb7106025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb71827c2 in QWaitCondition::wait (this=0xa105d88, mutex=0xa105d8c, time=4294967295) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:82
#3  0xb7e0bdfe in net::UploadThread::update (this=0xa105d50) at /home/kde4-devel/kdesvn/extragear/network/ktorrent/libbtcore/net/uploadthread.cpp:73
#4  0xb7e0d128 in net::NetworkThread::run (this=0xa105d50) at /home/kde4-devel/kdesvn/extragear/network/ktorrent/libbtcore/net/networkthread.cpp:48
#5  0xb7181a30 in QThreadPrivate::start (arg=0xa105d50) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#6  0xb71024c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb67f46de in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xaffbab90 (LWP 13835)):
#0  0xb7f01424 in __kernel_vsyscall ()
#1  0xb7106352 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb718279c in QWaitCondition::wait (this=0xa9910b0, mutex=0xa9910ac, time=30000) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:80
#3  0xb7178c96 in QThreadPoolThread::run (this=0xb1c8238) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/concurrent/qthreadpool.cpp:135
#4  0xb7181a30 in QThreadPrivate::start (arg=0xb1c8238) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:185
#5  0xb71024c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb67f46de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b546c0 (LWP 7111)):
[KCrash Handler]
#6  0xb7f01424 in __kernel_vsyscall ()
#7  0xb673f640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6741018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6782653 in malloc_printerr () from /lib/i686/cmov/libc.so.6
#10 0xb67847c5 in free () from /lib/i686/cmov/libc.so.6
#11 0xb695a341 in operator delete () from /usr/lib/libstdc++.so.6
#12 0xb725aca5 in ~QEventLoop (this=0xbf919520) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:120
#13 0xb7268e6f in QObjectPrivate::deleteChildren (this=0xb769e48) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1884
#14 0xb7270d54 in ~QObject (this=0xb76a038) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:884
#15 0xb742a221 in ~KJob (this=0xb76a038) at /home/kde4-devel/kdesvn/kdelibs/kdecore/jobs/kjob.cpp:72
#16 0xb7429028 in ~KCompositeJob (this=0xb76a038) at /home/kde4-devel/kdesvn/kdelibs/kdecore/jobs/kcompositejob.cpp:44
#17 0xb7b2ae28 in ~Job (this=0xb76a038) at /home/kde4-devel/kdesvn/kdelibs/kio/kio/job.cpp:97
#18 0xb7b2eb62 in ~SimpleJob (this=0xb76a038) at /home/kde4-devel/kdesvn/kdelibs/kio/kio/job.cpp:380
#19 0xb7b2f0cd in ~MkdirJob (this=0xb76a038) at /home/kde4-devel/kdesvn/kdelibs/kio/kio/job.cpp:593
#20 0xb7268b3c in qDeleteInEventHandler (o=0x6) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3659
#21 0xb726a513 in QObject::event (this=0xb76a038, e=0xb769fe0) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1139
#22 0xb6ac933c in QApplicationPrivate::notify_helper (this=0xa11c0d8, receiver=0xb76a038, e=0xb769fe0) at /home/kde4-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#23 0xb6ad03de in QApplication::notify (this=0xbf91a9ec, receiver=0xb76a038, e=0xb769fe0) at /home/kde4-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3393
#24 0xb78aed4d in KApplication::notify (this=0xbf91a9ec, receiver=0xb76a038, event=0xb769fe0) at /home/kde4-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#25 0xb725c1e1 in QCoreApplication::notifyInternal (this=0xbf91a9ec, receiver=0xb76a038, event=0xb769fe0) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#26 0xb725cb33 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa0ff3c0) at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:209
#27 0xb725cccd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kde4-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#28 0xb7282c0f in postEventSourceDispatch (s=0xa12f7a0) at ../../include/QtCore/../../../../kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.h:214
#29 0xb652c1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb652f853 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x0a12f718 in ?? ()
#32 0x00000000 in ?? ()



And sometimes the torrent loads, but never actually starts downloading.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar