[Bug 59150] New: "Invalid parameter" pop-up appears when launching Resident Evil 5
http://bugs.winehq.org/show_bug.cgi?id=59150 Bug ID: 59150 Summary: "Invalid parameter" pop-up appears when launching Resident Evil 5 Product: Wine Version: 11.0-rc3 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: alexhenrie24@gmail.com Distribution: --- When launching Resident Evil 5 on Steam, a Wine console window pops up that says "res = 1, err = 0x00000057, Invalid parameter." The game then starts normally, but the console window stays open in the background and is visible again after exiting the game. It's hard to tell if a similar console window is opened when running the game on Windows; if there is one, it must be immediately closed because it's definitely gone by the time the game exits. The console window didn't use to appear on Wine. `git bisect` says: 4b63e888945b8ada2ddc043e435b9358a0be811c is the first bad commit commit 4b63e888945b8ada2ddc043e435b9358a0be811c Author: Eric Pouech <epouech@codeweavers.com> AuthorDate: Fri Nov 17 11:54:18 2023 +0100 Commit: Alexandre Julliard <julliard@winehq.org> CommitDate: Tue Dec 5 21:24:37 2023 +0100 ntdll: Don't create Unix console for GUI apps. Note: GUI apps using std I/O (this is not common) will no longer print on unix console. If such a behavior is needed, for an app started from Unix shell, one can either redirect output to a file, or pipe output: ./wine app | cat Signed-off-by: Eric Pouech <epouech@codeweavers.com> dlls/ntdll/unix/env.c | 5 ++++- programs/start/start.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59150 Alex Henrie <alexhenrie24@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://store.steampowered. | |com/app/21690/Resident_Evil | |_5/ Version|11.0-rc3 |9.0-rc1 Keywords| |regression CC| |eric.pouech@gmail.com Regression SHA1| |4b63e888945b8ada2ddc043e435 | |b9358a0be811c -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59150 --- Comment #1 from Hans Leidekker <hans@meelstraat.net> --- Bug 57600 points to the same commit. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59150 --- Comment #2 from Eric Pouech <eric.pouech@gmail.com> --- I'm pretty sure the linked patch is correct and mimics Windows behavior. To go a step further: - there are Proton reports where the same error pops up when running on Windows, with the same symptoms (console window staying open...) [1] - what likely happens: + something generates an error, which is printed in the console + that error is generated before and after the listed commit + the listed commit only ensures a console is present (as the subprocess is in CUI subsystem), letting the error message being visible in a (new)console window + the listed patch is not the cause of the error + this can be validated by tracing tracing WriteFile and WriteConsole printed content (the error shall be reported before the listed commit) I have no idea about why the error is generated; but that part should be investigated to solve the annoyance of the created console window [1]: https://steamcommunity.com/app/21690/discussions/0/4143942846476108955/ -- 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 (1)
-
WineHQ Bugzilla