[Bug 39838] New: Wreckfest Server: Crashes at startup, unimplemented function KERNEL32.dll.GetConsoleScreenBufferInfoEx
https://bugs.winehq.org/show_bug.cgi?id=39838 Bug ID: 39838 Summary: Wreckfest Server: Crashes at startup, unimplemented function KERNEL32.dll.GetConsoleScreenBufferInfoEx Product: Wine Version: 1.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: devin(a)devinbraune.de Distribution: --- Created attachment 53182 --> https://bugs.winehq.org/attachment.cgi?id=53182 Screenshot which shows terminal (input and output) and other windows related to it Bugbear Games' Next Car Game: Wreckfest crashes in dedicated server mode because KERNEL32.dll.GetConsoleScreenBufferInfoEx is not implemented. Attached screenshot shows what exactly happens when starting a clean installation of wreckfest with a clean wineprefix 1.8. The start_server.bat is part of the game and seems to start wreckfest.exe -s, the regular executable of the game. The game itself launches fine if hardware requirements are met. Just not the server. Unfortunately, I can't post a download link because it's a commercial game on steam. -- 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=39838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(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=39838 --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- Created attachment 53183 --> https://bugs.winehq.org/attachment.cgi?id=53183 stub Does this help? -- 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=39838 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster(a)outlook.com, | |sebastian(a)fds-team.de -- 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=39838 --- Comment #2 from Devin B. <devin(a)devinbraune.de> --- It helps, but now it crashes right after calling GetConsoleScreenBufferInfoEx because SetConsoleScreenBufferInfoEx is unimplemented. I tried to do the same with this method but unfortunately nothing has changed so I did something wrong. I hope this is the last unimplemented function that prevents the server from running -- 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=39838 Devin B. <devin(a)devinbraune.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wreckfest Server: Crashes |Wreckfest Server: Crashes |at startup, unimplemented |at startup, unimplemented |function |function |KERNEL32.dll.GetConsoleScre |KERNEL32.dll.GetConsoleScre |enBufferInfoEx |enBufferInfoEx & | |SetConsoleScreenBufferInfoE | |x -- 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=39838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53183|0 |1 is obsolete| | --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- Created attachment 53216 --> https://bugs.winehq.org/attachment.cgi?id=53216 stubs -- 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=39838 --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- (In reply to Devin B. from comment #2)
It helps, but now it crashes right after calling GetConsoleScreenBufferInfoEx because SetConsoleScreenBufferInfoEx is unimplemented.
I tried to do the same with this method but unfortunately nothing has changed so I did something wrong.
I've uploaded a new patch with both stubs, could you give that a try, please?
I hope this is the last unimplemented function that prevents the server from running
You can use winedump to check: winedump -j import foo.exe Look under kernel32 to see what's imported, and make sure that kernel32.spec has 'stdcall' for it. Of course there could be other stubs needed in other DLLs, but those should be new bugs if there are any ;). -- 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=39838 --- Comment #5 from Devin B. <devin(a)devinbraune.de> --- Thank you very much. I'll check that today. I cloned wine 1.9.0, applied the patch and compiled it to a new directory. It compiled without errors (which is weird because my function looked exactly like this and it didn't compile) and deleted all wineprefixes to make sure I'm using a clean one, but the software still crashes and says "KERNEL32.dll.SetConsoleScreenBufferInfoEx unimplemented" while GetConsoleScreenBufferInfoEx seems to be no problem anymore. Either I'm doing something wrong or there's something going wrong with wine. Could it be caused by me? I'd try it on another system to make sure if it helps. But it should work like this because it worked before. -- 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=39838 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Could you attach the terminal output, please? It sounds like you used the previous version of the patch. -- 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=39838 --- Comment #7 from Devin B. <devin(a)devinbraune.de> --- Created attachment 53222 --> https://bugs.winehq.org/attachment.cgi?id=53222 console log stubs This is the console log of what happens when launching the software with wine after applying the patch with two stubs. It looked identical with the patch that only added one stub. I'm not sure why -- 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=39838 --- Comment #8 from Austin English <austinenglish(a)gmail.com> --- (In reply to Devin B. from comment #7)
Created attachment 53222 [details] console log stubs
This is the console log of what happens when launching the software with wine after applying the patch with two stubs. It looked identical with the patch that only added one stub. I'm not sure why
I'm not sure either. There's no demo of this, right? -- 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=39838 --- Comment #9 from Devin B. <devin(a)devinbraune.de> --- (In reply to Austin English from comment #8)
I'm not sure either. There's no demo of this, right?
Unfortunately, the tech demo doesn't contain the server software. A steam account with access to the game is required to download both, the game and the server. I'll install it and wine on my home server for further testing. I can email you ssh/rdesktop login as soon as it is ready for testing if you like. -- 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=39838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #10 from Austin English <austinenglish(a)gmail.com> --- (In reply to Devin B. from comment #9)
(In reply to Austin English from comment #8)
I'm not sure either. There's no demo of this, right?
Unfortunately, the tech demo doesn't contain the server software. A steam account with access to the game is required to download both, the game and the server. I'll install it and wine on my home server for further testing. I can email you ssh/rdesktop login as soon as it is ready for testing if you like.
My testing shows the patch gets past this bug, the issue was that Devin was only building wine64 and not wine32. The 64-bit executable was fixed by the patch, and broken without it. Sent: https://source.winehq.org/patches/data/117777 -- 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=39838 Devin B. <devin(a)devinbraune.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Devin B. <devin(a)devinbraune.de> --- (In reply to Austin English from comment #10)
(In reply to Devin B. from comment #9)
(In reply to Austin English from comment #8)
I'm not sure either. There's no demo of this, right?
Unfortunately, the tech demo doesn't contain the server software. A steam account with access to the game is required to download both, the game and the server. I'll install it and wine on my home server for further testing. I can email you ssh/rdesktop login as soon as it is ready for testing if you like.
My testing shows the patch gets past this bug, the issue was that Devin was only building wine64 and not wine32. The 64-bit executable was fixed by the patch, and broken without it.
Server seems to work fine. It gets past this problem now. Resolved. Thank you very much! -- 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=39838 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from Nikolay Sivov <bunglehead(a)gmail.com> --- Not fixed yet, patches were not committed. -- 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=39838 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |57d1171208b2114d82422c1d1af | |2be9b3c86495b Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- https://source.winehq.org/git/wine.git/commitdiff/57d1171208b2114d82422c1d1a... -- 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=39838 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani(a)redhat.com Target Milestone|--- |1.8.x -- 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=39838 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.2. -- 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=39838 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #15 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.2. -- 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)
-
wine-bugs@winehq.org