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@winehq.org Reporter: devin@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.
https://bugs.winehq.org/show_bug.cgi?id=39838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 53183 --> https://bugs.winehq.org/attachment.cgi?id=53183 stub
Does this help?
https://bugs.winehq.org/show_bug.cgi?id=39838
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #2 from Devin B. devin@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
https://bugs.winehq.org/show_bug.cgi?id=39838
Devin B. devin@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
https://bugs.winehq.org/show_bug.cgi?id=39838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #53183|0 |1 is obsolete| |
--- Comment #3 from Austin English austinenglish@gmail.com --- Created attachment 53216 --> https://bugs.winehq.org/attachment.cgi?id=53216 stubs
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #4 from Austin English austinenglish@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 ;).
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #5 from Devin B. devin@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.
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #6 from Austin English austinenglish@gmail.com --- Could you attach the terminal output, please? It sounds like you used the previous version of the patch.
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #7 from Devin B. devin@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
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #8 from Austin English austinenglish@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?
https://bugs.winehq.org/show_bug.cgi?id=39838
--- Comment #9 from Devin B. devin@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.
https://bugs.winehq.org/show_bug.cgi?id=39838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #10 from Austin English austinenglish@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
https://bugs.winehq.org/show_bug.cgi?id=39838
Devin B. devin@devinbraune.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Devin B. devin@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!
https://bugs.winehq.org/show_bug.cgi?id=39838
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Not fixed yet, patches were not committed.
https://bugs.winehq.org/show_bug.cgi?id=39838
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |57d1171208b2114d82422c1d1af | |2be9b3c86495b Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Austin English austinenglish@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/57d1171208b2114d82422c1d1a...
https://bugs.winehq.org/show_bug.cgi?id=39838
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=39838
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.2.
https://bugs.winehq.org/show_bug.cgi?id=39838
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #15 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.