https://bugs.winehq.org/show_bug.cgi?id=55856
Bug ID: 55856 Summary: cgwin hangs during installation at libzstd1-1.5.5-1 Product: Wine Version: 8.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
When installing libzstd1-1.5.5-1 (/usr/bin/cygzstd-1.dll) it hangs, using one full CPU core constantly. The UI is still responsive and the installation can be cancelled, but it doesn't progress.
This is not a regression in Wine, I used 5.0 and the error still occurs.
Download at https://www.cygwin.com/setup-x86_64.exe
Making feof always return 0 makes cygwin continue.
https://bugs.winehq.org/show_bug.cgi?id=55856
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.cygwin.com/setu | |p-x86_64.exe Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=55856
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Created attachment 75372 --> https://bugs.winehq.org/attachment.cgi?id=75372 wine +relay log with a bunch of custom excludes (~750MB)
https://bugs.winehq.org/show_bug.cgi?id=55856
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- 0118:Call ntdll.RtlInitUnicodeString(7ffffe2fe7f0,7ffffe99e8a0 L"\??\C:\cygwin64\etc\setup\setup.rc") ret=00410bf6 0118:Ret ntdll.RtlInitUnicodeString() retval=00000046 ret=00410bf6 0118:Call ntdll.NtCreateFile(7ffffe2fe7d8,80120000,7ffffe2fe830,7ffffe2fe7e0,00000000,6fff00000080,00000007,6fff00000001,7fff00204020,00000000,7fff00000000) ret=00410d61 0118:Ret ntdll.NtCreateFile() retval=00000000 ret=00410d61 0118:Call msvcrt._open_osfhandle(000000a8,00004000) ret=00410d7c # I confirmed that this is the handle from NtCreateFile ... 0118:Ret msvcrt._open_osfhandle() retval=00000003 ret=00410d7c 0118:Call msvcrt._fdopen(00000003,7ffffe2fec30 "rt") ret=00410d91 ... Ret msvcrt._fdopen() retval=6fffffbdc250 ret=00410d91 ... 0134:Call msvcrt.feof(6fffffbdc250) ret=00429e44 0134:Ret msvcrt.feof() retval=00000010 ret=00429e44
Last operations on the file are 0134:Call msvcrt.clearerr(6fffffbdc250) ret=00429e69 0134:Call msvcrt.fread(7fcb942af900,00000001,00000012,6fffffbdc250) ret=00429e7d 0134:Call msvcrt.fsetpos(6fffffbdc250,7fcb942af868) ret=00604650 0134:Call msvcrt.ferror(6fffffbdc250) ret=00407205 0134:Call msvcrt.feof(6fffffbdc250) ret=00429e44 0134:Call msvcrt.clearerr(6fffffbdc250) ret=00429e69 0134:Call msvcrt.fread(7fcb943b82f0,00000001,00020003,6fffffbdc250) ret=00429e7d 0134:Call msvcrt.feof(6fffffbdc250) ret=00429e44 0134:Call msvcrt.clearerr(6fffffbdc250) ret=00429e69 0134:Call msvcrt.fread(7fcb943b82f0,00000001,00020003,6fffffbdc250) ret=00429e7d 0134:Call msvcrt.ferror(6fffffbdc250) ret=00429e99 0134:Call msvcrt.feof(6fffffbdc250) ret=00429e44 0134:Call msvcrt.fgetpos(6fffffbdc250,7fcb942af688) ret=00604a3e 0134:Call msvcrt.fsetpos(6fffffbdc250,7fcb942af8d8) ret=00604650 0134:Call msvcrt.feof(6fffffbdc250) ret=00429e44
https://bugs.winehq.org/show_bug.cgi?id=55856
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- This is indeed a difference in feof behavior between Wine and Windows.
Fix at https://gitlab.winehq.org/wine/wine/-/merge_requests/4246
https://bugs.winehq.org/show_bug.cgi?id=55856
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |8e56d0feb5f08fef1df8810a79d | |4da0a63373974
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/8e56d0feb5f08fef1df8810a79d4da0...
https://bugs.winehq.org/show_bug.cgi?id=55856
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|cgwin hangs during |cygwin hangs during |installation at |installation at |libzstd1-1.5.5-1 |libzstd1-1.5.5-1
https://bugs.winehq.org/show_bug.cgi?id=55856
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.20.