http://bugs.winehq.org/show_bug.cgi?id=24161
Summary: Anzio version 16.2 fails with ntdll exception Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: giulioo@gmail.com
Created an attachment (id=30405) --> (http://bugs.winehq.org/attachment.cgi?id=30405) Terminal output
System: Ubuntu 10.04 / Wine 1.3.1 (binary from ppa:ubuntu-wine/ppa)
Anzio is a terminal emulator program. Up to version Anzio version 16.0 it worked fine with Wine (1.1.x, 1.2, 1.3.1) I tried upgrading to the latest version (16.2) and this will raise an error and is then terminated (works fine in Windows). I'm experiencing the same issue with Wine versions 1.1.42, 1.2, 1.3.1.
Steps to reproduce:
1) Download and install (9MB) http://www.anzio.com/pub/anzio16/anziowinsetup.exe Installation completes w/o any error.
2) Click on the desktop icon, you are requested to choose a language, choose English, then see the error (EExternalException in module ntdll.dll ...)
I'm attaching the terminal output and the debug output (bzipped) for wine versione 1.3.1 (if this is something you can resolve it would be nice to get this solved in 1.2 too, if not even in 1.1.x).
Thanks
http://bugs.winehq.org/show_bug.cgi?id=24161
--- Comment #1 from Giulio giulioo@gmail.com 2010-08-26 09:31:12 --- Created an attachment (id=30406) --> (http://bugs.winehq.org/attachment.cgi?id=30406) Debug output (bzipped)
http://bugs.winehq.org/show_bug.cgi?id=24161
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| | | |http://www.anzio.com/pub/an | |zio16/anziowinsetup.exe
http://bugs.winehq.org/show_bug.cgi?id=24161
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-26 10:18:17 --- Created an attachment (id=30409) --> (http://bugs.winehq.org/attachment.cgi?id=30409) regfile
just before the crash it tries to open a registry key. After manually adding it, the crash is gone for me (do regedit lua,reg, from attachment)
Maybe the installer failed to write the key, because the "system" key is absent i'll retest on a clean .wine, with that key crated
http://bugs.winehq.org/show_bug.cgi?id=24161
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-26 10:29:14 --- msdn has info about this key: http://msdn.microsoft.com/en-us/library/cc232765%28PROT.10%29.aspx
maybe we should set it by default, but on my XP this key is not present...
http://bugs.winehq.org/show_bug.cgi?id=24161
--- Comment #4 from Giulio giulioo@gmail.com 2010-08-26 11:46:40 --- I verified that with the lua reg key added (before or after the Anzio install) the problem is gone (tested with wine 1.3.1 and 1.1.42).
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=24161
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown Severity|major |normal
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-26 14:22:47 --- the application starts fine on my VM Windows XP without the registry key, so it's a bit of a mystery why it crashes in wine. Setting component to unknown.
http://bugs.winehq.org/show_bug.cgi?id=24161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2010-08-26 14:57:16 --- Hello,
--- quote --- the application starts fine on my VM Windows XP without the registry key, so it's a bit of a mystery why it crashes in wine. Setting component to unknown. --- quote ---
Wine exports Vista+ API (despite reporting itself as "Windows XP") hence the application assumes it is actually running under Vista or later.
http://msdn.microsoft.com/en-us/library/ms724358.aspx
--- snip --- 0009:Call KERNEL32.GetProcAddress(7b810000,0049b1f0 "GetProductInfo") ret=0049b1e2 0009:Ret KERNEL32.GetProcAddress() retval=7b821a80 ret=0049b1e2 0009:Call advapi32.RegOpenKeyExA(80000002,0054cac0 "Software\Microsoft\Windows\CurrentVersion\Policies\System",00000000,000f003f,0032eed4) ret=00448633 0009:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=00448633 0009:Call advapi32.RegQueryValueExA(00000000,0054cb04 "EnableLUA",00000000,0032eeb4,0032eec8,0032eec4) ret=00448e10 0009:Ret advapi32.RegQueryValueExA() retval=00000006 ret=00448e10 0009:Call user32.LoadStringA(00400000,0000ff7a,0032de50,00001000) ret=00408577 0009:Ret user32.LoadStringA() retval=0000001b ret=00408577 0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032ee84) ret=00448e38 0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b835b72 ip=7b835b72 tid=0009 --- snip ---
If Wine unconditionally exports GetProductInfo() it also has to provide the registry keys the application expects to see on a Vista system.
Regards
http://bugs.winehq.org/show_bug.cgi?id=24161
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-26 15:00:11 --- (In reply to comment #6)
Hello,
--- quote --- the application starts fine on my VM Windows XP without the registry key, so it's a bit of a mystery why it crashes in wine. Setting component to unknown. --- quote ---
Wine exports Vista+ API (despite reporting itself as "Windows XP") hence the application assumes it is actually running under Vista or later.
http://msdn.microsoft.com/en-us/library/ms724358.aspx
--- snip --- 0009:Call KERNEL32.GetProcAddress(7b810000,0049b1f0 "GetProductInfo") ret=0049b1e2 0009:Ret KERNEL32.GetProcAddress() retval=7b821a80 ret=0049b1e2 0009:Call advapi32.RegOpenKeyExA(80000002,0054cac0 "Software\Microsoft\Windows\CurrentVersion\Policies\System",00000000,000f003f,0032eed4) ret=00448633 0009:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=00448633 0009:Call advapi32.RegQueryValueExA(00000000,0054cb04 "EnableLUA",00000000,0032eeb4,0032eec8,0032eec4) ret=00448e10 0009:Ret advapi32.RegQueryValueExA() retval=00000006 ret=00448e10 0009:Call user32.LoadStringA(00400000,0000ff7a,0032de50,00001000) ret=00408577 0009:Ret user32.LoadStringA() retval=0000001b ret=00408577 0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032ee84) ret=00448e38 0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b835b72 ip=7b835b72 tid=0009 t --- snip ---
If Wine unconditionally exports GetProductInfo() it also has to provide the registry keys the application expects to see on a Vista system.
Regards
Ok thanks for the info. I guess it's okay then to set the registry key by default. I'll send a patch
http://bugs.winehq.org/show_bug.cgi?id=24161
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-27 13:39:41 CDT --- should be fixed by commit af60f4bb26683d39c14889217aa29716c1f5acf5
regards
http://bugs.winehq.org/show_bug.cgi?id=24161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2010-09-03 14:05:42 CDT --- Closing bugs fixed in 1.3.2.
http://bugs.winehq.org/show_bug.cgi?id=24161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=24161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-10-08 10:40:45 CDT --- Removing 1.2.x milestone from bugs fixed in 1.2.1.
http://bugs.winehq.org/show_bug.cgi?id=24161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |af60f4bb26683d39c14889217aa | |29716c1f5acf5 URL| |http://www.anzio.com/pub/an |http://www.anzio.com/pub/an |zio16/anziowinsetup.exe |zio16/anziowinsetup.exe | Component|-unknown |tools