qBT 3.0.10 >500MB cache size can trigger crash + hashfails
Posted: Sat Jul 13, 2013 10:36 am
When qBT 3.0.10 reaches ~530 MB ram used, I get this weird error message:
13/07/2013 04:57:34 - Reason: Torrent file () error: Not enough space
13/07/2013 04:57:34 - An I/O error occured, 'Torrent' paused.
(Note: 'Torrent' is not actually the name of the torrent in question.)
As I tried to open the Options as qBT reached the ~530 MB ram usage limit, I got this crash:
http://www.imagebam.com/image/4431e4265215622
http://www.imagebam.com/image/beb21b265215629
http://www.imagebam.com/image/852a6d265215630
This seems to be the result of me setting qBT's write/read cache to 1000 MB size coupled with my fast upload speed of 600 KB/sec.
Neither the weird error message nor the crash occurred with the cache set to <400 MB.
The qBT 3.1.0alpha builds also exhibit this bug:
http://qbforums.shiki.hu/index.php/topi ... ml#msg7138
Strangely, qBT 3.0.9 experiences this bug as well, but only once it exceeds ~1600 MB ram used.
This required me setting qBT 3.0.9's cache to 1800 MB.
Remote peers may receive bad pieces as a result of this bug, as this logfile from another BT client of qBT's behavior shows:
[03:46:05] x.x.x.x:6881 Connecting: source: C
[03:46:05] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:46:21] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:47:00] x.x.x.x:6881 Connecting: source: C
[03:47:00] x.x.x.x:6881 Disconnect: Connection closed
[03:47:51] Incoming connection from x.x.x.x:4855
[03:47:51] x.x.x.x:4855 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:47:53] *** PIECE 787 FAILED HASH CHECK
[03:47:53] Banned x.x.x.x:4855: [qBittorrent v3.0.10 (100.0)]: -qB30A0-q4pb%28PwLOBIx (508 MB downloaded, 3.98 MB bad)
[03:47:53] x.x.x.x:4855 [qBittorrent v3.0.10 (100.0)]: Disconnect: Banned
[03:48:53] Incoming connection from x.x.x.x:4858
[03:48:53] x.x.x.x:4858 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:49:09] x.x.x.x:4858 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:49:47] x.x.x.x:6881 Connecting: source: I
[03:49:47] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:51:08] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:51:55] x.x.x.x:6881 Connecting: source: I
[03:51:56] x.x.x.x:6881 Disconnect: Peer error: No connection could be made because the target machine actively refused it.
[03:52:22] Incoming connection from x.x.x.x:4868
[03:52:22] x.x.x.x:4868 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:52:23] *** PIECE 37340 FAILED HASH CHECK
[03:52:36] x.x.x.x:4868 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:53:09] x.x.x.x:6881 Connecting: source: I
[03:53:09] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:53:26] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:54:08] x.x.x.x:6881 Connecting: source: I
[03:54:08] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:54:22] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Peer error: An existing connection was forcibly closed by the remote host.
[03:55:28] x.x.x.x:6881 Connecting: source: I
[03:55:29] x.x.x.x:6881 Disconnect: Peer error: No connection could be made because the target machine actively refused it.
[03:56:33] Incoming connection from x.x.x.x:4876
[03:56:33] x.x.x.x:4876 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:56:52] x.x.x.x:4876 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
13/07/2013 04:57:34 - Reason: Torrent file () error: Not enough space
13/07/2013 04:57:34 - An I/O error occured, 'Torrent' paused.
(Note: 'Torrent' is not actually the name of the torrent in question.)
As I tried to open the Options as qBT reached the ~530 MB ram usage limit, I got this crash:
http://www.imagebam.com/image/4431e4265215622
http://www.imagebam.com/image/beb21b265215629
http://www.imagebam.com/image/852a6d265215630
This seems to be the result of me setting qBT's write/read cache to 1000 MB size coupled with my fast upload speed of 600 KB/sec.
Neither the weird error message nor the crash occurred with the cache set to <400 MB.
The qBT 3.1.0alpha builds also exhibit this bug:
http://qbforums.shiki.hu/index.php/topi ... ml#msg7138
Strangely, qBT 3.0.9 experiences this bug as well, but only once it exceeds ~1600 MB ram used.
This required me setting qBT 3.0.9's cache to 1800 MB.
Remote peers may receive bad pieces as a result of this bug, as this logfile from another BT client of qBT's behavior shows:
[03:46:05] x.x.x.x:6881 Connecting: source: C
[03:46:05] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:46:21] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:47:00] x.x.x.x:6881 Connecting: source: C
[03:47:00] x.x.x.x:6881 Disconnect: Connection closed
[03:47:51] Incoming connection from x.x.x.x:4855
[03:47:51] x.x.x.x:4855 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:47:53] *** PIECE 787 FAILED HASH CHECK
[03:47:53] Banned x.x.x.x:4855: [qBittorrent v3.0.10 (100.0)]: -qB30A0-q4pb%28PwLOBIx (508 MB downloaded, 3.98 MB bad)
[03:47:53] x.x.x.x:4855 [qBittorrent v3.0.10 (100.0)]: Disconnect: Banned
[03:48:53] Incoming connection from x.x.x.x:4858
[03:48:53] x.x.x.x:4858 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:49:09] x.x.x.x:4858 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:49:47] x.x.x.x:6881 Connecting: source: I
[03:49:47] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:51:08] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:51:55] x.x.x.x:6881 Connecting: source: I
[03:51:56] x.x.x.x:6881 Disconnect: Peer error: No connection could be made because the target machine actively refused it.
[03:52:22] Incoming connection from x.x.x.x:4868
[03:52:22] x.x.x.x:4868 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:52:23] *** PIECE 37340 FAILED HASH CHECK
[03:52:36] x.x.x.x:4868 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:53:09] x.x.x.x:6881 Connecting: source: I
[03:53:09] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:53:26] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed
[03:54:08] x.x.x.x:6881 Connecting: source: I
[03:54:08] x.x.x.x:6881 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:54:22] x.x.x.x:6881 [qBittorrent v3.0.10 (100.0)]: Disconnect: Peer error: An existing connection was forcibly closed by the remote host.
[03:55:28] x.x.x.x:6881 Connecting: source: I
[03:55:29] x.x.x.x:6881 Disconnect: Peer error: No connection could be made because the target machine actively refused it.
[03:56:33] Incoming connection from x.x.x.x:4876
[03:56:33] x.x.x.x:4876 [qBittorrent/3.0.10.0 (0.0)]: Handshake completed
[03:56:52] x.x.x.x:4876 [qBittorrent v3.0.10 (100.0)]: Disconnect: Connection closed