-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Assertion fail on download #7541
Comments
Looks related #7517 (comment) Are you sure you are not using a memory card? |
@ValeZAA, no, it's an iPhone, it has no memory cards :D |
Have the same problem on my iPhone 15 pro max on last ios17.3. |
Neither does my Galaxy S22 U. |
I believe there's some issue when a write to disk fails, because the disk is full. Is that the case for you? |
Thanks for reply, but no, I have 1TB phone with only around +-200 GB occupied, so I have plenty of free space. Also libtorrent v1.2.x do not has such issue, so for now I decided to use this version instead of v2 |
Seems like forcing TORRENT_HAVE_MMAP=0 solved my issue, but now app started to feel a bit unresponsive (I could see 50Mbps download speed but nothing progress for several seconds), I'll test a bit more comparing with v1.2, maybe it's my imagination and it was the same. Decided to give it a try after reading this #7551 UP. |
so the bug is in Google's fork of linux kernel. |
What does Google and the Linux kernel have to do with it? I'm running libtorrent not on Android but on iOS |
Please provide the following information
libtorrent version (or branch): RC_2_0
platform/architecture: iOS/visionOS arm64
compiler and compiler version: xCode 15.1 beta (15C5028h)
please describe what symptom you see, what you would expect to see instead and
how to reproduce it.
Just trying to download torrent file, I don't think I'm doing something special, it downloads for a bit (from several seconds to several minutes).
If auto_managed flag is disabled, torrent goes in isPaused state, if flag is enabled in Release speed just drops to 0, in debug it raises the SIGABRT with this stacktrace:
log.txt
![image](https://private-user-images.githubusercontent.com/9553519/280145964-6e06e8a5-717d-40af-a59c-a9ceb0f4dce6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzY1NjgsIm5iZiI6MTczOTUzNjI2OCwicGF0aCI6Ii85NTUzNTE5LzI4MDE0NTk2NC02ZTA2ZThhNS03MTdkLTQwYWYtYTU5Yy1hOWNlYjBmNGRjZTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTIzMTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTczZjU3MWUzOWZiODQ5OTgwMmEyOGFlYzk5ZmVkODI3OWQ5Yjk3ZWE5N2Y3NTA2YTlhZGJmMjJmYTM2MDY2MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.a7_FRKn6wNDR6DBDiUUOiqMHxabwjnzw98yqvS0gb5U)
Also looks like different asserts raises from time to time but symptoms all the same.
Thanks in advance for any help, cause right now I just have no idea where I should take a look
UP.
One more assert
log2.txt
Also my phone has 700+ gb of free space, and ram usage was not higher than 60mb
UP2.
![image](https://private-user-images.githubusercontent.com/9553519/280427837-32e6280e-40c4-4116-90eb-d5a2ef683e1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzY1NjgsIm5iZiI6MTczOTUzNjI2OCwicGF0aCI6Ii85NTUzNTE5LzI4MDQyNzgzNy0zMmU2MjgwZS00MGM0LTQxMTYtOTBlYi1kNWEyZWY2ODNlMWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMTIzMTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODgzMWYwMWU1OTAyODNhNDg4NGE3MzlhNGEzODlhNjAxYjEzN2U1NjJlMDdlMzAzYTMzMDUzMGNmMzA1NDRlOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.F9AgqCr0a6FC1TpzuZQoc5CDhjpQWpDiZdRC4ENKcQE)
It fails with this message from error alert:
Pausing for a second and resuming restores download process. Empty space is more then enough
The text was updated successfully, but these errors were encountered: