https://bugs.winehq.org/show_bug.cgi?id=52036
Bug ID: 52036 Summary: Simple match the pairs card game not working with version 6.21 - program dumps Product: Wine Version: 6.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: craigaschulstad@gmail.com Distribution: ---
Created attachment 71040 --> https://bugs.winehq.org/attachment.cgi?id=71040 Debug output of the program error
An older 32 bit Windows C++ program I had built over ten years ago worked fine until the latest iteration of Wine (version 6.21) was released. When launched under the new version, a page fault occurs and the program falls over. I launched the program using the "winedbg" command and have attached the output of that command. FYI, the game utilized the "cards.dll" DLL file. Please let me know if any further debug dumps are needed.
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #1 from Craig Schulstad craigaschulstad@gmail.com --- Created attachment 71041 --> https://bugs.winehq.org/attachment.cgi?id=71041 Illustration of the game as it works
For illustration purposes, I am attaching an image showing what the game looks like both on Windows and on Linux when I was using Wine version 6.20. The game was written in C++ and had been built using Visual C++ back in 2011.
https://bugs.winehq.org/show_bug.cgi?id=52036
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Keywords| |regression
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
Any chance you could do a regressiontest? That would be the quickest way to pinpoint where the bug is I think
Regards
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #3 from Craig Schulstad craigaschulstad@gmail.com --- Dear Louis,
I am a bit unclear on what to do for a regression test. Does that entail running the WINEDEBUG application? Also, I do have a virtual machine still at Wine version 6.20 in which I could run a debug program if that helps. If you could clarify what type of output you want, let me know. In the meantime, I will attempt to use the WINEDEBUG process.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Craig Schulstad from comment #3)
Dear Louis,
I am a bit unclear on what to do for a regression test.
Hi Craig, regressiontesting is described here: https://wiki.winehq.org/Regression_Testing
For that you have to compile wine yourself.
As I understand from your bugreport the program is written by yourself, right? Don`t know if you want to share your program, but if so, you could attach it to bugreport so that other`s could try it/possibly perform regression test
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #5 from Craig Schulstad craigaschulstad@gmail.com --- Dear Louis,
I don't think I have the skill set to do a regression test as noted in the link. But I can provide you with the code set including the executable program I built about ten years ago. I've put everything into a zip file. If you create a 32-bit bottle and place the unzipped folders and files into the bottle, I think you should be able to test out this program. To clarify, I did not write all of the code for this game. It was a set of sample code on the internet to demonstrate how to use DLL files like "cards.dll". The enhancement I made for my enjoyment was to randomize the selected back side of the cards that appear in the game. Also, I did attempt to use the WINEDEBUG function with "relay" parameter. I ran the program debug application using version 6.20, ran the package upgrade to get version 6.21 of Wine, and then reran the debug application to get another log. The logs themselves are huge and I didn't want to attempt to attach them. However, I scanned through both logs and I copied and pasted what appears to be the point where the program falls over making a call to the "lstrcmpiW" function. It appears that for the parameter "SIZINGMARGINS", there is a zero value that possibly is the culprit.
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #6 from Craig Schulstad craigaschulstad@gmail.com --- Created attachment 71081 --> https://bugs.winehq.org/attachment.cgi?id=71081 Zip file containing source code and the executable for testing
Here is the program and supporting files (including a 32-bit version of cards.dll).
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #7 from Craig Schulstad craigaschulstad@gmail.com --- Dear Louis,
I just ran the package update for my version of Linux which included Wine version 6.22. After running the update and launching Wine, I tried out the memory game with the version. The program is again working. My guess is that one of the various bug fixes in this version also fixed my bug issue. There were a bunch of fixes for "ntdll.dll" and that seemed to be where the issue resided. You can close out my bug. Thanks.
Regards,
Craig
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #8 from Jeremy Newman jnewman@codeweavers.com --- The content of attachment 71081 has been deleted for the following reason:
sharing copyrighted content is not allowed (cards.dll)
https://bugs.winehq.org/show_bug.cgi?id=52036
--- Comment #9 from Craig Schulstad craigaschulstad@gmail.com --- Sorry about the attachment. I was thinking that "DLL" was in the public domain. Anyway, as I noted in a previous post, whatever the issue was that was causing that program to fall over (probably something in ntdll.dll), it was subsequently rectified in version 6.22. You may close out this bug. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=52036
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Craig Schulstad from comment #9)
Sorry about the attachment. I was thinking that "DLL" was in the public domain. Anyway, as I noted in a previous post, whatever the issue was that was causing that program to fall over (probably something in ntdll.dll), it was subsequently rectified in version 6.22. You may close out this bug. Thanks.
Resolving fixed then, thanks for reporting back. Do note, that you can close your own reports.
https://bugs.winehq.org/show_bug.cgi?id=52036
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Simple match the pairs card |Match the pairs card game |game not working with |crashes on start |version 6.21 - program | |dumps |
https://bugs.winehq.org/show_bug.cgi?id=52036
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.23.