http://bugs.winehq.org/show_bug.cgi?id=17115
Summary: Kega Fusion: Segmentation fault occurs with user32.dll from Wine 1.1.13 Product: Wine Version: 1.1.13 Platform: PC-x86-64 URL: http://www.eidolons-inn.net/tiki-index.php?page=kega OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: tgheretford@googlemail.com CC: andrey.turkin@gmail.com
When I start Kega Fusion using Wine 1.1.13, a segmentation fault occurs with wine32.dll. As a result the main window stops responding immediately and must be killed. I knew that Kega Fusion would work in Wine 1.1.12 and have done a regression test as per the instructions in the Wine Wiki.
The regression testing showed the following result:
d2685e7bd7d1c7f595c86ae08ddeaf9c696c43d8 is first bad commit commit d2685e7bd7d1c7f595c86ae08ddeaf9c696c43d8 Author: Andrey Turkin andrey.turkin@gmail.com Date: Mon Jan 12 03:34:30 2009 +0300
ntdll: Add RtlCaptureStackBackTrace stub.
:040000 040000 3c18b09465d2719e256307e0df28d100ce0ff4e7 b2a3ed8ed753b91fd6e86ddf6ab8a1a20ef64ec1 M dlls
Note: a separate issue, but as per instructions in the Wine AppDB, dwmapi.dll is needed before the application will run.
http://bugs.winehq.org/show_bug.cgi?id=17115
--- Comment #1 from Gareth tgheretford@googlemail.com 2009-01-24 11:52:34 --- Created an attachment (id=18959) --> (http://bugs.winehq.org/attachment.cgi?id=18959) Standard console output
http://bugs.winehq.org/show_bug.cgi?id=17115
--- Comment #2 from Andrey Turkin andrey.turkin@gmail.com 2009-01-24 13:51:14 --- (In reply to comment #0)
The regression testing showed the following result:
d2685e7bd7d1c7f595c86ae08ddeaf9c696c43d8 is first bad commit commit d2685e7bd7d1c7f595c86ae08ddeaf9c696c43d8 Author: Andrey Turkin andrey.turkin@gmail.com Date: Mon Jan 12 03:34:30 2009 +0300
ntdll: Add RtlCaptureStackBackTrace stub.
:040000 040000 3c18b09465d2719e256307e0df28d100ce0ff4e7 b2a3ed8ed753b91fd6e86ddf6ab8a1a20ef64ec1 M dlls
Well, it is dwmapi.dll that fails because of missing function (dwmapi is Vista-only and so it may expect functions implemented in Vista to be implemented). Stub I added probably made dwmapi use another logic and fail. Anyway probably not worth investigating for now.
Note: a separate issue, but as per instructions in the Wine AppDB, dwmapi.dll is needed before the application will run.
This is it - instead of trying to make native dwmapi.dll to run we should fix the application to run with builtin - this seems to be not hard at all, I've already sent the patch (http://www.winehq.org/pipermail/wine-patches/2009-January/068314.html) which you can use.
http://bugs.winehq.org/show_bug.cgi?id=17115
--- Comment #3 from Gareth tgheretford@googlemail.com 2009-01-24 15:34:10 --- (In reply to comment #2)
This is it - instead of trying to make native dwmapi.dll to run we should fix the application to run with builtin - this seems to be not hard at all, I've already sent the patch (http://www.winehq.org/pipermail/wine-patches/2009-January/068314.html) which you can use.
Your patch resolved the issue, so thank you for your help. It's now just a case of waiting for it to be fixed in a future Wine release and in turn, the Ubuntu packages I normally use to install Wine.
Thanks
http://bugs.winehq.org/show_bug.cgi?id=17115
--- Comment #4 from Andrey Turkin andrey.turkin@gmail.com 2009-01-26 10:39:13 --- Patch is in git now, will be in next release
http://bugs.winehq.org/show_bug.cgi?id=17115
Gareth tgheretford@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Gareth tgheretford@googlemail.com 2009-01-26 12:56:22 --- Excellent. Marking this bug as resolved.
http://bugs.winehq.org/show_bug.cgi?id=17115
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-01-30 11:05:15 --- Closing bugs fixed in 1.1.14.