http://bugs.winehq.org/show_bug.cgi?id=25690
Summary: Silverfall fails to start (possible Securom issue) Product: Wine Version: 1.3.10 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: damian.dixon@gmail.com
Created an attachment (id=32724) --> (http://bugs.winehq.org/attachment.cgi?id=32724) terminal output
Silverfall and its standalone expansion SF:Earth Awakening quit silently, shortly after starting (without a crash dialogue). The commit causing the issue was introduced in yesterday's git:
a9bbd7dc86aff14308e0a5491e0f660fe3c49a2e is the first bad commit commit a9bbd7dc86aff14308e0a5491e0f660fe3c49a2e Author: Damian Dixon damian.dixon@gmail.com Date: Sat Jan 1 20:19:55 2011 +0000
advapi32: Implement SetEntriesInAclA by calling SetEntriesInAclW.
Reverting the patch fixed the issue.
It seems the issue is somehow related to Securom (the games contain serial check/online activation) which worked before the regression. Some other titles are also affected: e.g. the Sam & Max series from Telltale's. It also has Securom online activation and now they fail to start in the current git.
Please, let me know if you need a log with specific debug channels enabled.
wine-1.3.10-304-gf859535
http://bugs.winehq.org/show_bug.cgi?id=25690
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #1 from GyB gyebro69@gmail.com 2011-01-07 11:43:15 CST --- I tried again the game (Silverfall) with wine-1.3.10-395-gef0f358. This time I created a new prefix and installed the game again. On the first startup of the game the Securom activation dialogue is popping up and it asks for the serial. After pressing on <Activate> the progress bar halts at some point and Securom shows an error message: 'Activation process has been terminated. Please make sure the serial has been entered correctly. Internal error message: userdata commit failed.' (I'm sure I entered the serial correctly).
I repeated the same procedure using Wine-1.3.10 and the activation went without issues. I'm afraid I'm going to reach the activation limits after some more testing ;)
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #2 from GyB gyebro69@gmail.com 2011-01-08 06:07:46 CST --- Created an attachment (id=32772) --> (http://bugs.winehq.org/attachment.cgi?id=32772) +advapi,+file,+reg,+tid log
It seems this bug affects only a certain version of Securom namely 7.42.xx (version information was retrieved by Protection Id). I have a couple of games with former version of Securom (7.3x, 7.41.x) and they are still starting properly with Wine-1.3.11. I was wrong about the Telltale games: they're working with 1.3.11 so only Silverfall is affected.
http://bugs.winehq.org/show_bug.cgi?id=25690
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Austin English austinenglish@gmail.com 2011-01-10 14:28:17 CST --- *** Bug 25702 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #4 from Dan Kegel dank@kegel.com 2011-01-10 18:11:09 CST --- Also affects Plants Vs. Zombies. Ack!
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com 2011-01-10 19:06:29 CST --- Created an attachment (id=32808) --> (http://bugs.winehq.org/attachment.cgi?id=32808) advapi32: Only attempt multibyte conversion when ptstrName is a string.
Please try this patch.
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #6 from Dan Kegel dank@kegel.com 2011-01-10 19:11:41 CST --- Works here, though I do see a compiler warning, security.c: In function 'SetEntriesInAclA': security.c:3564: warning: assignment from incompatible pointer type
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #7 from GyB gyebro69@gmail.com 2011-01-11 08:55:05 CST --- The patch hasn't fixed the problem in Silverfall. Do you need a new debug log with the patch applied?
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #8 from Andrew Nguyen arethusa26@gmail.com 2011-01-12 13:27:04 CST --- (In reply to comment #7)
The patch hasn't fixed the problem in Silverfall. Do you need a new debug log with the patch applied?
The patch I attached had some problems, but a revised version was committed as 97fa635fc71d80252445e4f3c5d42a93c90c586b. If that still doesn't fix the problem, then please attach a new log.
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #9 from GyB gyebro69@gmail.com 2011-01-12 13:59:44 CST --- Created an attachment (id=32829) --> (http://bugs.winehq.org/attachment.cgi?id=32829) (new) +advapi,+file,+reg,+tid debug log
The issue is still present after your patch committed, in wine-1.3.11-151-geb11dee. I attached a new log created with the current git but it is almost the same as my previous one.
In the meantime I found the demo of Plants vs. Zombies which comes with the same Securom version (7.42) so anyone can test it (only 40 MB download size). http://gamestore.revision3.com/games/plants-vs-zombies-game-of-the-year-edit...
How to reproduce the issue in the demo: 1. Install the demo in a clean prefix. 2. After starting the demo a Securom warning will pop up saying: 'Could not write license data!...' and it will terminate.
If you install the demo with Wine-1.3.10 another Securom message is showing which informs you that you can either try the demo for 30 minutes or you can buy/activate the product. Choosing to play the demo it will start properly.
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #10 from GyB gyebro69@gmail.com 2011-01-12 14:27:48 CST --- Created an attachment (id=32830) --> (http://bugs.winehq.org/attachment.cgi?id=32830) screenshot-comparison of logs
Andrew, if that helps I can attach the same log created by Wine-1.3.10 where the game started correctly. I'm not the one who can interpret such logs but as far as I can see only a "SecuROM" registry key is opened/created under USER\S-1-5-4\Software then something happens and the game quits silently. While in Wine-1.3.10 the game successfully creates/opens the "License Information" key and sets the values of the "datasecu" and "rkeysecu" keys and it will continue to load.
http://bugs.winehq.org/show_bug.cgi?id=25690
Alexander Karatarakis danimothonline@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danimothonline@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #11 from Andrew Nguyen arethusa26@gmail.com 2011-01-18 17:23:25 CST --- Created an attachment (id=32896) --> (http://bugs.winehq.org/attachment.cgi?id=32896) server: Filter the WOW registry access flags before the access check.
Please try this patch. I've tested it successfully with the Plants vs. Zombies demo
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #12 from GyB gyebro69@gmail.com 2011-01-18 21:57:15 CST --- (In reply to comment #11)
Created an attachment (id=32896)
--> (http://bugs.winehq.org/attachment.cgi?id=32896) [details]
server: Filter the WOW registry access flags before the access check.
Please try this patch. I've tested it successfully with the Plants vs. Zombies demo
Yes, that fixed the issue in Silverfall, too.
http://bugs.winehq.org/show_bug.cgi?id=25690
--- Comment #13 from Dan Kegel dank@kegel.com 2011-01-21 21:38:07 CST --- The patch lets Sam and Max start, too. Ship it :-)
http://bugs.winehq.org/show_bug.cgi?id=25690
Javier Kohen jkohen@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jkohen@users.sourceforge.ne | |t
http://bugs.winehq.org/show_bug.cgi?id=25690
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #14 from GyB gyebro69@gmail.com 2011-01-24 11:33:09 CST --- The patch has been committed. Fixed in wine-1.3.12-58-g86eb9c2. Thank you for taking the time to fix it.
http://bugs.winehq.org/show_bug.cgi?id=25690
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2011-02-04 13:21:43 CST --- Closing bugs fixed in 1.3.13.
https://bugs.winehq.org/show_bug.cgi?id=25690
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ed657182ee3a9f39a1093564eec | |aeb472423bc92 CC| |focht@gmx.net Component|advapi32 |wineserver Regression SHA1| |a9bbd7dc86aff14308e0a5491e0 | |f660fe3c49a2e