[Bug 44142] New: steamwebhelper.exe crashes on wine-stagining 2.21 because NtQueryInformationFile fails
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(a)winehq.org Reporter: twunknown(a)gmail.com CC: erich.e.hoover(a)wine-staging.com, michael(a)fds-team.de, sebastian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 --- Comment #1 from Brock <twunknown(a)gmail.com> --- Created attachment 59891 --> https://bugs.winehq.org/attachment.cgi?id=59891 steamwebhelper.exe wine debug log with +relay and +tid of crash -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 --- Comment #2 from Brock <twunknown(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 --- Comment #3 from Brock <twunknown(a)gmail.com> --- Created attachment 59893 --> https://bugs.winehq.org/attachment.cgi?id=59893 Make file for handletest.c test program -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 --- Comment #4 from Brock <twunknown(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |d4d6330f0a9eb244b52edd25e0b | |6998223eb5417 Resolution|--- |FIXED CC| |jacek(a)codeweavers.com --- Comment #5 from Jacek Caban <jacek(a)codeweavers.com> --- It's fixed in Git. Thanks for the report and debugging. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |ntdll -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc4. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Johan Gardhage <johan.gardhage(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ne-vlezay80(a)yandex.ru --- Comment #7 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 45594 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44142 Anastasius Focht <focht(a)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(a)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(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla