WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

There is a bug in downloading large files in the latest version 2.6.0

Open Einsfat opened this issue 5 months ago • 28 comments

The latest released version will damage the file when downloading large files. I downloaded it on two different servers and the file was damaged. Moreover, the md5 of the damaged file is consistent, so I don’t know if it is multi-threaded. Caused by fragmented download, mobaxterm download is normal

Einsfat avatar Jan 24 '24 08:01 Einsfat

me too

xue-lei avatar Jan 24 '24 09:01 xue-lei

All download files are damaged

xue-lei avatar Jan 24 '24 09:01 xue-lei

Me too, so I downloaded tar.gz several times and couldn't extract it.

waittingsummer avatar Jan 24 '24 15:01 waittingsummer

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

kingToolbox avatar Jan 24 '24 22:01 kingToolbox

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

windows2.6 release, 10 Prerelease no problem

xue-lei avatar Jan 25 '24 00:01 xue-lei

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

In fact, both Windows and Linux 2.6 release versions have this problem, and the Mac version has no test conditions. 11111111 source

22222 .tar.gz use Linux version download

33333333 .tar.tgz use Windows version download

waittingsummer avatar Jan 25 '24 01:01 waittingsummer

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

windows10 WindTerm_2.6.0_Windows_Portable_x86_32.zip

Einsfat avatar Jan 25 '24 01:01 Einsfat

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

Windpws11 WindTerm_2.6.0_Windows_Portable_x86_64.zip

BaojianXu avatar Jan 25 '24 05:01 BaojianXu

me too. md5 is different

wtjperi2003 avatar Jan 29 '24 01:01 wtjperi2003

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

Windows 11, WindTerm_2.6.0_Windows_Portable_x86_64.zip

kurniawan-yoesoef avatar Jan 29 '24 10:01 kurniawan-yoesoef

me too, Use the hex tool to open it and find that it is all data 0 version: WindTerm_2.6.0_Windows_Portable_x86_64.zip

jiangjianghu avatar Feb 02 '24 02:02 jiangjianghu

Same problem Windows 10, MacOS 11.7.9 WT 2.6

alexunderboots avatar Feb 17 '24 14:02 alexunderboots

I've encountered hash inconsistency issues on Manjaro (Linux), which is causing significant trouble for me, particularly because I need to retrieve large backup files from the server.

As a temporary solution, I'm considering downgrading to version 2.5.0. However, I'm concerned about the integrity of my configuration file. Will the downgrade potentially corrupt it?

Nriver avatar Feb 19 '24 01:02 Nriver

me too!!!

zasl avatar Feb 20 '24 21:02 zasl

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

macOS 12.7 WindTerm 2.6.0

peteyan avatar Feb 21 '24 02:02 peteyan

same issue here. OS: Windows 11 Professional (10.0.22631) WindTerm: 2.6.0

ydcool avatar Feb 26 '24 11:02 ydcool

+1

zcteo avatar Feb 27 '24 08:02 zcteo

Same issue on 2.6.0 using macos

Drakiat avatar Feb 28 '24 20:02 Drakiat

期待修复

xxmys avatar Feb 29 '24 06:02 xxmys

MacOs 13.6.4 2.6.0上面下载的文件损坏

swjtuhyq avatar Mar 03 '24 00:03 swjtuhyq

same here :(

Windows 11 Pro Version 23H2 OS build 22631.3155 Processor 11th Gen Intel Core i7-1165G7 @ 2.80GHz System type 64-bit operating system, x64-based processor

marcalath avatar Mar 06 '24 21:03 marcalath

Does the author have a repair plan, or should they simply revert back to the old version for use?

cnzhanglu avatar Mar 08 '24 01:03 cnzhanglu

Me too, the large files with size 0 and small files besides texts are damaged/broken. I was suspecting the transfer MODE but cannot find a way to change the transfer mode from ASCII to BINARY.

haleyshi avatar Mar 19 '24 03:03 haleyshi

Waiting for the fix. Same issue on Arch

querta avatar Mar 19 '24 22:03 querta

Same issue on windows 2.6.0 release.

duucck avatar Mar 22 '24 01:03 duucck

same

lonngxiang avatar Mar 25 '24 08:03 lonngxiang

Indeed, different writing strategies are adopted for the downloading of large files and small files and files exceeding 2 megabytes are considered large files. Due to the use of AIO+O_DIRECT+O_SYNC, the large file needs to be manually resized to the correct size upon completion of the download, and this step is likely where the error occurred.

I will fix it as soon as possible. Also, please let me know which version has the issue, Windows, macOS, or Linux? Thank you.

Windows 11, WindTerm_2.6.0_Windows_Portable_x86_64.zip

we are same environment

QQ853695231 avatar Apr 03 '24 21:04 QQ853695231

This issue has been fixed. Please download the latest version WindTerm 2.6.0 or WindTerm 2.7.0 Prerelease 1. I apologize for the delay in releasing the fixed version, as I have been traveling and working without reliable internet access.

kingToolbox avatar Apr 05 '24 05:04 kingToolbox