tdesktop
tdesktop copied to clipboard
Telegram PC crashes when downloading
Steps to reproduce
Start file download of file >2GB
Expected behaviour
File downloads
Actual behaviour
File crashes when 2gb is downloaded
Operating system
PC
Version of Telegram Desktop
latest 4.02
Installation source
Static binary from official website
Logs
Assertion Failed! "offset >= 0 && offset < _fullSize" streamed_file_downloader.cpp:111
I have the same error. Do you find a solution?
@john-preston Please check out this issue.
Is this about a video download or a file download?
For video files I hope this fixes the problem: https://github.com/telegramdesktop/tdesktop/commit/88393eb77b7da19a116bc5a7a613603146c30db2
@john-preston Hey John, how to use source code in win10?
compiling yoursef. or waiting for next beta.
This is an issue for me as well. Same conditions, and on Windows.
try updating to 4.0.3 beta.
@Aokromes I cannot find 4.0.3 beta. Do you mean waiting for the update?
try updating to 4.0.3 beta.
@Aokromes This resolves the crashes but downloads now appear to be in some sort of deadlock when they should be marked as complete.
@john-preston I hope the next version can fix the crash and deadlock issue.
try updating to 4.0.3 beta.
@Aokromes This resolves the crashes but downloads now appear to be in some sort of deadlock when they should be marked as complete.
I can confirm that it is an issue with Telegram never releasing the handle on the download. Forcefully closing the handles resolves the issue.
@john-preston
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.