https://bugs.winehq.org/show_bug.cgi?id=44142
Bug ID: 44142 Summary: steamwebhelper.exe crashes on wine-stagining 2.21 because NtQueryInformationFile fails Product: Wine-staging Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: twunknown@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Created attachment 59890 --> https://bugs.winehq.org/attachment.cgi?id=59890 backtrace
steamwebhelper.exe crashes on wine staging 2.21 but not vanilla wine because querying FileNameInformation on a named pipe has been implemented. If NtQueryInformationFile is called after CreateFileW has been called on the named pipe (Which is what happens in the case of steamwebhelper.exe) Then it will return STATUS_BAD_DEVICE_TYPE which is unexpected and the process crashes. This is different to Windows 7 in which the call will succeed and the information will be returned.
https://bugs.winehq.org/show_bug.cgi?id=44142
--- Comment #1 from Brock twunknown@gmail.com --- Created attachment 59891 --> https://bugs.winehq.org/attachment.cgi?id=59891 steamwebhelper.exe wine debug log with +relay and +tid of crash
https://bugs.winehq.org/show_bug.cgi?id=44142
--- Comment #2 from Brock twunknown@gmail.com --- Created attachment 59892 --> https://bugs.winehq.org/attachment.cgi?id=59892 Simple test program that mimics the behaviour on steamwebhelper
Simple C program that performs the same actions as steamwebhelper to exhibit the bug in wine-staging 2.21 but succeeds on Windows 7
https://bugs.winehq.org/show_bug.cgi?id=44142
--- Comment #3 from Brock twunknown@gmail.com --- Created attachment 59893 --> https://bugs.winehq.org/attachment.cgi?id=59893 Make file for handletest.c test program
https://bugs.winehq.org/show_bug.cgi?id=44142
--- Comment #4 from Brock twunknown@gmail.com --- A patch is available on the Wine-staging dev website: https://dev.wine-staging.com/patches/217/
This solves the problems of steamwebhelper crashing but I'm not sure it's the real solution.
https://bugs.winehq.org/show_bug.cgi?id=44142
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |d4d6330f0a9eb244b52edd25e0b | |6998223eb5417 Resolution|--- |FIXED CC| |jacek@codeweavers.com
--- Comment #5 from Jacek Caban jacek@codeweavers.com --- It's fixed in Git. Thanks for the report and debugging.
https://bugs.winehq.org/show_bug.cgi?id=44142
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |ntdll
https://bugs.winehq.org/show_bug.cgi?id=44142
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=44142
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=44142
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ne-vlezay80@yandex.ru
--- Comment #7 from Anastasius Focht focht@gmx.net --- *** Bug 45594 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=44142
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|steamwebhelper.exe crashes |Multiple applications crash |on wine-stagining 2.21 |due to missing support for |because |querying |NtQueryInformationFile |FileNameInformation on |fails |named pipes (Steam | |'steamwebhelper.exe', | |Google Chrome 68.x | |installer) CC| |focht@gmx.net Component|ntdll |wineserver URL| |https://web.archive.org/web | |/20210212183624/https://www | |.filepuma.com/down/16131549 | |77c19640/google_chrome_32bi | |t_68.0.3440.84/0/0/ Keywords| |download
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary in order to collect more dupes here.
Adding stable download link via Internet Archive for documentation.
From bug 45594 ("Google Chrome 68.0.3440 installer crashes due to missing
support for FileNameInformation on named pipes")
https://web.archive.org/web/20210212183624/https://www.filepuma.com/down/161...
$ sha1sum Google_Chrome_(32bit)_v68.0.3440.84.exe 7fab139d5421304039c1ddbf363327e0abfc4bc2 Google_Chrome_(32bit)_v68.0.3440.84.exe
$ du -sh Google_Chrome_(32bit)_v68.0.3440.84.exe 50M Google_Chrome_(32bit)_v68.0.3440.84.exe
$ wine --version wine-3.0-rc3
Regards