http://bugs.winehq.org/show_bug.cgi?id=23850
Summary: Aliens vs Predator (2010) silently exits during startup Product: Wine Version: 1.3.0 Platform: x86 URL: http://www.sega.com/games/aliens-vs-predator/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mblackwell1024@gmail.com
Created an attachment (id=29937) --> (http://bugs.winehq.org/attachment.cgi?id=29937) avp output logs
Application launches, says loading, then quits/exits silently. Only does this in Wine 1.3.0. Wine 1.2 launches the game perfectly.
I've attached a log showing both 1.2 and 1.3.0 output. The last 3 lines in the 1.2 output are posted when the menu successfully loads. The logs don't appear very dissimilar.
http://bugs.winehq.org/show_bug.cgi?id=23850
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression URL|http://www.sega.com/games/a | |liens-vs-predator/ |
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2010-07-30 20:36:59 --- Please post the results of your regression test. http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #2 from Jonathan Strander mblackwell1024@gmail.com 2010-07-30 22:52:56 --- (In reply to comment #1)
Please post the results of your regression test. http://wiki.winehq.org/RegressionTesting
7fe8c7202345ba04425e3dfefb534bcad8fe76fa is the first bad commit commit 7fe8c7202345ba04425e3dfefb534bcad8fe76fa Author: Sven Baars sven.wine@gmail.com Date: Fri Jul 16 15:19:19 2010 +0200
kernel32: Update the Dutch translation.
:040000 040000 afe16ccb81f39a74996ec0d4fa59d9f4db208078 027b6f06a72f8635c65d241d4fa2c7ef233eaf76 M dlls
I'm pretty sure there's no way this is correct. Perhaps I did something wrong. Process was:
git bisect start git bisect good wine-1.2 git bisect bad wine-1.3.0
make clean -j5 && ./configure --disable-tests && make depend -j5 && make -j5
and after every test
git bisect bad
as each test produced the silent crash.
I actually did this twice, once cleaning every time, and once using ccache (just to verify the result was the same each time). Every test produced a bad result. Where do I go from here?
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #3 from Jeff Zaroyko jeffz@jeffz.name 2010-07-30 23:09:12 --- (In reply to comment #2)
as each test produced the silent crash.
That doesn't look right either, normally you'd revert the commit and retest to see if it then works.
You said 1.2 launches the game correctly, so `git checkout wine-1.2`, rebuild and retest to see if that's actually the case when you build Wine yourself, I presume you were using a binary package before?
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #4 from Jonathan Strander mblackwell1024@gmail.com 2010-07-30 23:12:22 --- No, I always build from source.
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #5 from Sven sven.wine@gmail.com 2010-07-31 10:31:37 --- (In reply to comment #4)
No, I always build from source.
But do you still get the same error after 'git checkout wine-1.2'? My commit was just the first one after wine 1.2, which should mean that 1.2 was also broken. Where did you get 1.2 and 1.3.0 from?
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #6 from Jonathan Strander mblackwell1024@gmail.com 2010-07-31 18:17:15 --- (In reply to comment #5)
(In reply to comment #4)
No, I always build from source.
But do you still get the same error after 'git checkout wine-1.2'? My commit was just the first one after wine 1.2, which should mean that 1.2 was also broken. Where did you get 1.2 and 1.3.0 from?
From the same place I would assume most get them: The WineHQ front page.
I honestly think there's something wrong with git itself (Ubuntu Lucid, 1.7.0.4-1) on my box that precludes me from being able to do regression testing.
I note that I can delete all files, checkout 1.3.0, compile, see the failure, delete all files again, checkout 1.2, see the success, but if I checkout 1.3.0 and compile, and then 1.2 and compile I get the same error as 1.3 and the log indicates the gameux stubs that aren't even present in 1.2. --version is a lying liar face and tells me it's 1.2 (though there's no way it is, seeing that). Doing make clean changes nothing. Something that's supposed to be happening isn't.
Is there a way I can work around this weirdness?
http://bugs.winehq.org/show_bug.cgi?id=23850
Jonathan Strander mblackwell1024@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vshader@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #7 from Jonathan Strander mblackwell1024@gmail.com 2010-07-31 19:57:04 --- Nevermind the above question. I found a way to work around it myself. Managed to do a fruitful regression test.
b3a9ce44327bae77dbe3c5e3facaefcb40696834 is the first bad commit commit b3a9ce44327bae77dbe3c5e3facaefcb40696834 Author: Mariusz Pluciński vshader@gmail.com Date: Thu Jul 22 23:59:34 2010 +0200
gameux: Add gameux.dll library stub.
:100755 100755 ead05fb80814c32eb0316918ef470ce9a30c5340 925df236fafe48f7fe0b494128426a97dca05f61 M configure :100644 100644 a3a6c6754eaa33fb13b673d591f0fcaa89ac9e9e 2888d1e117ebc04989bd08ee87210986f712704f M configure.ac :040000 040000 def3e4c77addef0ada074c78c80e98be4c490418 6edccdd4fdf1bf3da601b7c116412d8079701fbe M dlls
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2010-08-01 01:09:47 --- Try set this new module to Disable in winecfg, this will workaround a problem until module is implemented.
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #9 from Jonathan Strander mblackwell1024@gmail.com 2010-08-01 07:58:57 --- (In reply to comment #8)
Try set this new module to Disable in winecfg, this will workaround a problem until module is implemented.
It still crashes with gameux.dll disabled.
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2010-08-01 08:21:55 --- What if you remove it from system32?
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #11 from Mariusz Pluciński vshader@gmail.com 2010-08-01 17:07:06 --- Created an attachment (id=29967) --> (http://bugs.winehq.org/attachment.cgi?id=29967) Quick fix for VerifyAccess method
This very simple fix should let you run the game properly. Please apply it (execute: patch -p1 < 0001-gameux-quick-fix-for-VerifyAccess.patch in main source directory) and submit here the results. Similar fix will be probably part of next wine release, I hope.
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #12 from Jonathan Strander mblackwell1024@gmail.com 2010-08-01 17:10:08 --- (In reply to comment #10)
What if you remove it from system32?
Sorry it was my mistake since I was in a hurry this morning. I disabled it on the incorrect WINEPREFIX. Disabling it works.
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #13 from Jonathan Strander mblackwell1024@gmail.com 2010-08-01 17:21:39 --- (In reply to comment #11)
Created an attachment (id=29967)
--> (http://bugs.winehq.org/attachment.cgi?id=29967) [details]
Quick fix for VerifyAccess method
This very simple fix should let you run the game properly. Please apply it (execute: patch -p1 < 0001-gameux-quick-fix-for-VerifyAccess.patch in main source directory) and submit here the results. Similar fix will be probably part of next wine release, I hope.
Brilliant. Game launches normally, and just to be sure there was no crash further on I loaded a save and it tested fine as well.
http://bugs.winehq.org/show_bug.cgi?id=23850
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23166
http://bugs.winehq.org/show_bug.cgi?id=23850
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vixsandlee@gmail.com
--- Comment #14 from Vincent Povirk madewokherd@gmail.com 2010-08-24 12:46:31 --- *** Bug 23895 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23850
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luis.busquets@ilidium.com
--- Comment #15 from Andrew Nguyen arethusa26@gmail.com 2010-09-12 02:43:23 CDT --- *** Bug 24363 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #16 from Luis Busquets luis.busquets@ilidium.com 2010-09-12 03:56:24 CDT --- If *** Bug 24363 has been marked as a duplicate of this bug. ***, I have found some solution to that bug that could be applied to this one:
IGameExplorer::VerifyAccess seem to verif wheter the current game will be allowed to run for the current user, given the current parental controls settings.
If you modify the stub for this function so that instead of returning E_NOTIMPL it retuns 0 (OK) then the game runs correctly. Is it correct to modify the code in that way? Are you going to propose this change to the stub?
http://bugs.winehq.org/show_bug.cgi?id=23850
--- Comment #17 from Andrew Nguyen arethusa26@gmail.com 2010-09-12 05:01:12 CDT --- (In reply to comment #16)
If *** Bug 24363 has been marked as a duplicate of this bug. ***, I have found some solution to that bug that could be applied to this one:
IGameExplorer::VerifyAccess seem to verif wheter the current game will be allowed to run for the current user, given the current parental controls settings.
If you modify the stub for this function so that instead of returning E_NOTIMPL it retuns 0 (OK) then the game runs correctly. Is it correct to modify the code in that way? Are you going to propose this change to the stub?
Comment #11 captures the essence of your comment, although I can't speak for Mariusz as to what exactly should be committed.
http://bugs.winehq.org/show_bug.cgi?id=23850
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Aliens vs Predator (2010) |Aliens vs Predator (2010) |silently exits during |silently exits during |startup |startup, needs | |IGameExplorer::VerifyAccess | |(parental controls) Ever Confirmed|0 |1
--- Comment #18 from Austin English austinenglish@gmail.com 2010-10-02 14:44:30 CDT --- According to a user in #winehq, this also affects Prototype.
http://bugs.winehq.org/show_bug.cgi?id=23850
byteframe byteframe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byteframe@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23850
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b3a9ce44327bae77dbe3c5e3fac | |aefcb40696834
http://bugs.winehq.org/show_bug.cgi?id=23850
jhgf bernhardloos@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardloos@googlemail.com
--- Comment #19 from jhgf bernhardloos@googlemail.com 2011-09-29 16:52:13 CDT --- should be fixed with http://source.winehq.org/git/wine.git/commit/75f0573964c8d894d99be2909a1728b...
http://bugs.winehq.org/show_bug.cgi?id=23850
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gameux
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com 2011-10-02 13:48:58 CDT --- Please retest with current wine, should be fixed for a while.
http://bugs.winehq.org/show_bug.cgi?id=23850
Jonathan Strander mblackwell1024@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #21 from Jonathan Strander mblackwell1024@gmail.com 2011-10-02 22:35:09 CDT --- Marking this fixed as of current git.
http://bugs.winehq.org/show_bug.cgi?id=23850
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org 2011-10-10 13:12:40 CDT --- Closing bugs fixed in 1.3.30.