Skip to content

Bug relating to certain large Torrent files - specifically with 128/256mb chunks #23494

Description

@Ithillion

qBittorrent & operating system versions

qBittorrent 5.1.2-5.1.3
Qt 6.9.3
LibTorrent 1.2.20.0
etc (its's a plain qBittorrent 5.1.2/3 Win 11 (25H2), x64 install)

What is the problem?

Certain large-chunk (sorry I do not know the correct term) torrent files do not open any more in the application. The best example I can give would be certain annas-archive torrents, however it appears to be the case more generally. This problem arose after 5.1.1/5.1.0

Previously there were no issues with these files. rolling back the install to 5.1.0 files still open correctly.

Steps to reproduce

To reproduce, you could attempt to use this torrent from Annas-Archive
https://annas-archive.org/dyn/small_file/torrents/managed_by_aa/annas_archive_data__aacid/annas_archive_data__aacid__ia2_acsmpdf_files__20231009T030032Z--20231009T030033Z.torrent

while there are other torrents which are available which illustrate this, this is the simplest example. The file simply no longer opens. Interestingly, those which had previously been open in the application continue to function.

Additional context

No response

Log(s) & preferences file(s)

14/11/2025 11:35 AM - Failed to add torrent. Source: "C:\Downloads\annas_archive_data__aacid__ia2_acsmpdf_files__20231009T030032Z--20231009T030033Z.torrent". Reason: "invalid piece size [libtorrent:48]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions