qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.73k stars 3.92k forks source link

qbittorrent crash after few seconds downloading torrent #1502

Closed uduvgp closed 10 years ago

uduvgp commented 10 years ago

You can try: http://www.ex.ua/torrent/12762671

This link is from page on Ukrainian site www.ex.ua. http://www.ex.ua/8365408

Maybe all torrents on this site crash program. Maybe this is related with web-seed in torrent file.

Don't say that this is "bad site". Program must have protection against "problem torrent file".

qbittorrent 3.1.8. Kubuntu 13.10 64bit

sledgehammer999 commented 10 years ago

I get "sorry you can't download files..." from the first link. Do you use preallocation? If yes switch a libtorrent version other than 0.16.14 it contains a bug. Latest qbt is 3.1.9 Run qbt from the terminal and when it crashes post its output.

uduvgp commented 10 years ago

I get "sorry you can't download files..." from the first link.

goto http://www.ex.ua/8365408 press CTRL+F, type "torrent" You can find button "torrent" on the same line with "War_of_the_Worlds.[nolimits-team].mkv". Right end (middle button).

Do you use preallocation? No.

libtorrent version... sudo dpkg -l |grep libtorrent
ii libtorrent-rasterbar7 0.16.11-1ubuntu1 amd64 C++ bittorrent library by Rasterbar Software ii python-libtorrent 0.16.11-1ubuntu1 amd64 Python bindings for libtorrent-rasterbar ii qbittorrent 3.1.x-0~4684-20140211~ubuntu13.10.1 amd64 bittorrent client based on libtorrent-rasterbar with a Qt4 GUI

Latest qbt is 3.1.9 I tried unstable qbt "long" time ago. There was same bug. And was another bug - in peers-tab country ("USA"...) vanishes (only flag remains). I downgrade qbt to 3.1.8, but bug is still here. :)

Run qbt from the terminal and when it crashes post its output. I run, add torrent, ~10-30seconds, CRASH. Output: http://justpaste.it/emjg

uduvgp commented 10 years ago

Latest qbt is 3.1.9 Sorry. Just run "apt-get update". Updated to 3.1.9.

And....... IT CRASHES 1 run qbt 2 add FEW torrents (from www.ex.ua) 3 60-90 seconds 4 CRASH

output: http://justpaste.it/emjp

PS: please use google-translate (ex.ua) to your language if you don't understand ukrainian/russian. I think problem is related with web-seed presence.

sledgehammer999 commented 10 years ago

I get redirected to the main page when I visit your links.

uhmm all the crashes happen inside libtorrent itself. Is there any way you could update to a more recent libtorrent? You could give this ppa a try: https://launchpad.net/~surfernsk/+archive/internet-software

uduvgp commented 10 years ago

1) ... 0.16.14 it contains a bug. 2) try: https://launchpad.net/~surfernsk/+archive/internet-software

There is 0.6.14 :)

updated. (sudo apt-add-repository ppa:surfernsk/internet-software sudo apt-get update && sudo apt-get dist-upgrade ) And...... Crash output: http://justpaste.it/emjr

sledgehammer999 commented 10 years ago

Can you email me a faulty torrent to sledgehammer999 (at) qbittorrent (dot) org ? This may actually be due to the torrents.

uduvgp commented 10 years ago

Вторник, 4 марта 2014, 15:22 -08:00 от sledgehammer999 notifications@github.com:

Can you email me a faulty torrent to sledgehammer999 (at) qbittorrent (dot) org ? This may actually be due to the torrents. — Reply to this email directly or view it on GitHub .  https://drive.google.com/file/d/0B5pPnrjVicSTM2I4bnQ4OWZDbDQ/edit?usp=sharing

С уважением,

uduvgp@bk.ru

sledgehammer999 commented 10 years ago

Do they crash immediately for you? I tested 2 of them on Windows XP and it didn't crash. But I didn't get much speed either 1-5KB/s most of the time.

uduvgp commented 10 years ago

Do they crash immediately for you? No. After about 1 minute working qbt 3.1.9.

I tested 2 of them on Windows XP Wait at least 5 minutes. Try please all torrents (if you can - all at the same time).

didn't get much speed maybe tracker (ex.ua) remember that I download that torrents (my IP) and disable web-seed for others. Or it does something other... ((I think that qbt crashes after "acceleration" of download speed.))

Windows XP vs linux 3.11.0-18-generic

sledgehammer999 commented 10 years ago

Install the -dbg packages for qbt and libtorrent Then in the terminal do these:

gdb qbittorrent
run
<crash happens>
bt full

(press q to quit afterwards) (you'll need gdb installed) Post the output.

uduvgp commented 10 years ago

OK 1) -dbg packages installed (no debugging symbols found) in output (below) ??? 2) gdb qbittorrent run 3) add torrents into qbt 4) qbt freezes (NOT crash) 5) bt full

output: http://justpaste.it/emk4

uduvgp commented 10 years ago

from http://forum.ubuntu.ru/index.php?topic=137365.0 21 april 2011

russian: qbittorrent v. 2.4.3 не докачивает файлы. Качает, но на диск не пишет. И это он не дружит с некоторыми раздачами трекера EX.UA. С другими трекерами проблем не замечалось.

translate: qbittorrent v. 2.4.3 not downloading files fully. Downloads, but does not write to disk. And it does not friends with some torrents on torrent tracker EX.UA. On the other trackers problem was not noticed.

sledgehammer999 commented 10 years ago

Sorry for the long wait. I have been busy with real life work. This seems like a libtorrent bug. Can you open a bug at their bugtracker and link here too? Be sure to include the above backtrace. Libtorrent bugtracker: http://code.google.com/p/libtorrent/issues/list Thank you.

uduvgp commented 10 years ago

Can you open a bug at their bug-tracker and link here too? Done. http://code.google.com/p/libtorrent/issues/detail?id=591&thanks=591&ts=1394811774

off topic. Please help them if you can. Qbt - best torrent program for me. For example - it supports sequential downloading. I can download 5% and watch film. (if it downloads faster than i view it). Can you recommend other torrent program with sequential downloading support (LINUX). Because I don't know any. And if I understand it must NOT be based on libtorrent. (Repeat - for Linux :)

PS: Thank you for your work.

uduvgp commented 10 years ago

Problem with libtorrent resolved. You can svn co https://svn.code.sf.net/p/libtorrent/code/branches/RC_0_16 libtorrent cd libtorrent ./autotool.sh; ./configure; make; And you will have libtorrent-rasterbar in src/.libs/

You can copy it to you system place or run sudo make install #it often likes install library to WRONG place.

offtopic: other torrent program with sequential downloading support - tixati