http://bugs.winehq.org/show_bug.cgi?id=27557
Summary: Alice: Madness Returns - Securom Matroschka doesn't work out of the box Product: Wine Version: 1.3.22 Platform: x86 OS/Version: Linux Status: NEW Keywords: obfuscation Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: focht@gmx.net
Created an attachment (id=35226) --> (http://bugs.winehq.org/attachment.cgi?id=35226) relay,seh,tid
Game installs fine in wine-1.3.22-300-ga7cc944. Running fails, with: wine AliceMadnessReturns.exe fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00000100 wine: Unhandled page fault on read access to 0x00000000 at wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0023), starting debugger...
never giving me a backtrace. Running under winedbg / running winedbg > bt all never gets me one either.
Protection ID says it's SecuROM Matroschka
-=[ ProtectionID v0.6.4.0 JULY]=- (c) 2003-2010 CDKiLLER & TippeX Build 07/08/10-17:57:05 Ready... Scanning -> C:\Program Files\EA Games\Alice Madness Returns\Game\Alice2\Binaries\Win32\AliceMadnessReturns.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 34058192 (0207AFD0h) Byte(s) -> File Appears to be Digitally Signed @ Offset 02079C58h, size : 01378h / 04984 byte(s) -> File has 3 (03h) bytes of appended data starting at offset 02079C55h [File Heuristics] -> Flag : 00000000000000001000000000000100 (0x00008004) [!] SecuROM Matroschka Package Detected [!] Possible CD/DVD-Key or Serial Check -> SerialNumber [CompilerDetect] -> Visual C++ 7.1 (Visual Studio 2003) - Scan Took : 1.760 Second(s)
relay,seh,tid trace attached.
Feeling lucky Focht? :)
http://bugs.winehq.org/show_bug.cgi?id=27557
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #1 from Anastasius Focht focht@gmx.net 2011-06-22 01:17:53 CDT --- Hello,
sure - the crash is in FT_Thunk wrapper code, currently making it a dupe of bug 27326
--- snip --- ... 002d:Call advapi32.RegOpenKeyExA(80000002,00ed8ae0 "Software\Microsoft\Windows NT\CurrentVersion",00000000,00020019,0187f5bc) ret=0051494c 002d:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0051494c 002d:Call KERNEL32.LoadLibraryA(00e556b8 "ADVAPI32.dll") ret=006c2bbd 002d:Ret KERNEL32.LoadLibraryA() retval=7eb10000 ret=006c2bbd 002d:Call KERNEL32.GetModuleHandleA(00e556b8 "ADVAPI32.dll") ret=006c2be9 002d:Ret KERNEL32.GetModuleHandleA() retval=7eb10000 ret=006c2be9 002d:Call KERNEL32.GetProcAddress(7eb10000,00e556c8 "RegQueryValueExA") ret=006c2bf0 002d:Ret KERNEL32.GetProcAddress() retval=7eb174e0 ret=006c2bf0 002d:Call advapi32.RegQueryValueExA(00000028,00ed8ae0 "CurrentVersion",00000000,00000000,0187f504,0187f5b0) ret=00514978 002d:Ret advapi32.RegQueryValueExA() retval=00000000 ret=00514978 002d:Call advapi32.RegQueryValueExA(00000028,00ed8ae0 "CurrentBuildNumber",00000000,00000000,0187f524,0187f5b0) ret=005149a8 002d:Ret advapi32.RegQueryValueExA() retval=00000000 ret=005149a8 002d:Call KERNEL32.LoadLibraryA(00e556b8 "ADVAPI32.dll") ret=006c2c81 002d:Ret KERNEL32.LoadLibraryA() retval=7eb10000 ret=006c2c81 002d:Call KERNEL32.GetModuleHandleA(00e556b8 "ADVAPI32.dll") ret=006c2cad 002d:Ret KERNEL32.GetModuleHandleA() retval=7eb10000 ret=006c2cad 002d:Call KERNEL32.GetProcAddress(7eb10000,00e556dc "RegCloseKey") ret=006c2cb4 002d:Ret KERNEL32.GetProcAddress() retval=7eb170d8 ret=006c2cb4 002d:Call advapi32.RegCloseKey(00000028) ret=005149b0 002d:Ret advapi32.RegCloseKey() retval=00000000 ret=005149b0 002d:Call KERNEL32.LoadLibraryA(00ed8ae0 "kernel32.dll") ret=00514a03 002d:Ret KERNEL32.LoadLibraryA() retval=7b810000 ret=00514a03 002d:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000 tid=002d 002d:trace:seh:raise_exception info[0]=00000000 002d:trace:seh:raise_exception info[1]=00000000 002d:trace:seh:raise_exception eax=00ef7294 ebx=00ef7240 ecx=00000000 edx=0187f4a7 esi=96ec4a76 edi=00ef72dc 002d:trace:seh:raise_exception ebp=0187f4e8 esp=0187f490 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00010246 002d:trace:seh:call_vectored_handlers calling handler at 0x7e6795d0 code=c0000005 flags=0 002d:trace:seh:call_vectored_handlers handler at 0x7e6795d0 returned 0 002d:trace:seh:call_stack_handlers calling handler at 0xb388a8 code=c0000005 flags=0 --- snip ---
Though the game might be still useful at later time for tracking the "Matroschka" part of copy protection (online check for release date and product activation) if that doesn't work.
Regards
*** This bug has been marked as a duplicate of bug 27326 ***
http://bugs.winehq.org/show_bug.cgi?id=27557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com 2011-07-07 16:15:14 CDT --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=27557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|DUPLICATE |
--- Comment #3 from Austin English austinenglish@gmail.com 2011-08-22 14:21:55 CDT --- Bug 27326 is fixed, but this is still present.
Activation works though, but starting the game crashes: wine: Unhandled page fault on write access to 0x0051c160 at address 0x151a63e (thread 0009), starting debugger... Unhandled exception: page fault on write access to 0x0051c160 in 32-bit code (0x0151a63e). err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 0104a1c0 in module L"alicemadnessreturns"
wine-1.3.26-89-g84da6ae
http://source.winehq.org/git/wine.git/commitdiff/4e4bdbe53e5873c2deef178f81e... and http://source.winehq.org/git/wine.git/commitdiff/b8629f55f1e5ca827b770828365...
got it further, fwiw.
http://bugs.winehq.org/show_bug.cgi?id=27557
--- Comment #4 from Austin English austinenglish@gmail.com 2011-08-22 18:29:07 CDT --- Created an attachment (id=36080) --> (http://bugs.winehq.org/attachment.cgi?id=36080) setthreadcontext fix
This patch from Bernard allows the game to start in current git (make sure you use gcc 4.5+, so that the hotpatch functionality works.
http://bugs.winehq.org/show_bug.cgi?id=27557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27543
http://bugs.winehq.org/show_bug.cgi?id=27557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com 2011-10-09 21:17:52 CDT --- Works fine in wine-1.3.29-274-gc9a8d3b.
http://bugs.winehq.org/show_bug.cgi?id=27557
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2011-10-10 13:13:12 CDT --- Closing bugs fixed in 1.3.30.
http://bugs.winehq.org/show_bug.cgi?id=27557
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b8629f55f1e5ca827b770828365 | |2d9288b9be288 Component|-unknown |ntdll