New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Torrent Assert When Using Automatic Piece Size #6979
Comments
does this happen consistently with certain torrents you generate? |
Will generate a reproducible example in a few days |
Here is an example https://github.com/cyrillicw/LibtorrentExample |
In this example five downloaders try to download 1GB file from the single uploader and other downloaders. In order to run it you have to bind ip addresses - you can do it with create_ip.sh script |
The assert does not arise always but quite often |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I try to do the following experiment: create torrents of different size on one machine and download them by several others. If I use constant piece size = 16KB, then everything works fine. But if I use automatic piece size (so some torrents have piece size 16 KB and other have piece size 32 KB) then sometimes I catch the following torrent assert:
https://github.com/arvidn/libtorrent/tree/RC_2_0/src#L4275
Here is the stack:
The text was updated successfully, but these errors were encountered: