tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Telegram PC crashes when downloading

Open silverm6 opened this issue 2 years ago • 12 comments

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

silverm6 avatar Jul 09 '22 16:07 silverm6

I have the same error. Do you find a solution?

simon-zhangmuye avatar Jul 27 '22 21:07 simon-zhangmuye

@john-preston Please check out this issue.

simon-zhangmuye avatar Jul 28 '22 08:07 simon-zhangmuye

Is this about a video download or a file download?

john-preston avatar Jul 28 '22 14:07 john-preston

For video files I hope this fixes the problem: https://github.com/telegramdesktop/tdesktop/commit/88393eb77b7da19a116bc5a7a613603146c30db2

john-preston avatar Jul 28 '22 14:07 john-preston

@john-preston Hey John, how to use source code in win10?

simon-zhangmuye avatar Jul 28 '22 15:07 simon-zhangmuye

compiling yoursef. or waiting for next beta.

Aokromes avatar Jul 28 '22 16:07 Aokromes

This is an issue for me as well. Same conditions, and on Windows.

Decimation avatar Jul 28 '22 16:07 Decimation

try updating to 4.0.3 beta.

Aokromes avatar Jul 29 '22 00:07 Aokromes

@Aokromes I cannot find 4.0.3 beta. Do you mean waiting for the update?

simon-zhangmuye avatar Jul 29 '22 04:07 simon-zhangmuye

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.

Decimation avatar Jul 29 '22 06:07 Decimation

@john-preston I hope the next version can fix the crash and deadlock issue.

simon-zhangmuye avatar Jul 30 '22 03:07 simon-zhangmuye

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.

pQsrRjyDhZ_2022-07-30_(02h15m37s)

ZLPFMrFTwl_2022-07-30_(02h18m44s)

@john-preston

Decimation avatar Jul 30 '22 07:07 Decimation

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.

github-actions[bot] avatar Aug 13 '22 00:08 github-actions[bot]