http://bugs.winehq.org/show_bug.cgi?id=32853
Bug #: 32853
Summary: Microsoft Expression Design 4 (Free Version) installer
fails while trying to check for msi.dll file version
(MsiGetFileVersion)
Product: Wine
Version: 1.5.22
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello folks,
Microsoft Expression Design 4 (Free Version) installer still fails.
Prerequisite: 'winetricks -q dotnet40'
Suffers from bug 32471 hence:
WINEDLLOVERRIDES="d3d9=d" wine ./Design_Trial_en.exe
Managed backtrace:
--- snip ---
(29.44): CLR exception - code e0434352 (first chance)
OS Thread Id: 0x44 (5)
Child SP IP Call Site
093bd8f0 7b83aa73 [HelperMethodFrame: 093bd8f0]
093bd940 08c719e0
Microsoft.WindowsInstaller.Installer.FileVersion(System.String)
093bd958 08c718c4 Microsoft.WindowsInstaller.Installer.get_Version()
093bd968 08c71454 XSetupAct.ConfigMSI.CheckSupportedMsiVersion()
093bd9dc 08c71129 XSetupAct.ConfigMSI.OnTaskWorkerDoWork(System.Object,
System.ComponentModel.DoWorkEventArgs)
093bda10 0439721a
System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
093bda24 04397121
System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
093bdc3c 791421db [HelperMethodFrame_PROTECTOBJ: 093bdc3c]
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr,
System.Object[], System.Object, Int32, Boolean, System.Object[] ByRef)
093bdf90 04396032
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage,
System.Runtime.Remoting.Messaging.IMessageSink)
093bdff4 04395ea5
System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
093be000 04395e59
System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
093be008 04395c9d
System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
093be010 04395aa9
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean)
093be034 0439588b
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
093be048 04394ea6 System.Threading.ThreadPoolWorkQueue.Dispatch()
093be094 04394c3c
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
093be454 791421db [DebuggerU2MCatchHandlerFrame: 093be454]
--- snip ---
Relay trace log:
--- snip ---
...
002e:Call msi.MsiGetFileVersionW(013f03f8
L"C:\\windows\\system32\\Msi.dll",0458da50,0458db44,00000000,0458db40)
ret=08fd03f2
002e:trace:msi:MsiGetFileVersionW L"C:\\windows\\system32\\Msi.dll" 0x458da50 0
(nil) 0
002e:Call version.GetFileVersionInfoSizeW(013f03f8
L"C:\\windows\\system32\\Msi.dll",00000000) ret=7ce994ca
...
002e:Ret version.GetFileVersionInfoSizeW() retval=000006ac ret=7ce994ca
002e:Call ntdll.RtlAllocateHeap(00110000,00000000,000006ac) ret=7ce904de
002e:Ret ntdll.RtlAllocateHeap() retval=072efeb8 ret=7ce904de
002e:Call version.GetFileVersionInfoW(013f03f8
L"C:\\windows\\system32\\Msi.dll",00000000,000006ac,072efeb8) ret=7ce99541
...
002e:Ret version.GetFileVersionInfoW() retval=00000001 ret=7ce99541
002e:Call version.VerQueryValueW(072efeb8,7cef66fe L"\\",0458d904,0458d908)
ret=7ce99592
002e:Ret version.VerQueryValueW() retval=00000001 ret=7ce99592
002e:Call version.VerQueryValueW(072efeb8,7cef57c0
L"\\VarFileInfo\\Translation",0458d900,0458d908) ret=7ce9968a
002e:Ret version.VerQueryValueW() retval=00000001 ret=7ce9968a
002e:Call ntdll.RtlFreeHeap(00110000,00000000,072efeb8) ret=7ce90514
002e:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7ce90514
002e:Ret msi.MsiGetFileVersionW() retval=000000ea ret=08fd03f2
...
--- snip ---
MsiGetFileVersionW() is called a second time, now with pcchVersionBuf properly
set (++pcchVersionBuf of first call):
--- snip ---
...
002e:Call msi.MsiGetFileVersionW(013f03f8
L"C:\\windows\\system32\\Msi.dll",0458da58,0458db44,00000000,0458db40)
ret=08fd03f2
002e:trace:msi:MsiGetFileVersionW L"C:\\windows\\system32\\Msi.dll" 0x458da58
15 (nil) 4
002e:Call version.GetFileVersionInfoSizeW(013f03f8
L"C:\\windows\\system32\\Msi.dll",00000000) ret=7ce994ca
...
002e:Ret version.GetFileVersionInfoSizeW() retval=000006ac ret=7ce994ca
002e:Call ntdll.RtlAllocateHeap(00110000,00000000,000006ac) ret=7ce904de
002e:Ret ntdll.RtlAllocateHeap() retval=072efeb8 ret=7ce904de
002e:Call version.GetFileVersionInfoW(013f03f8
L"C:\\windows\\system32\\Msi.dll",00000000,000006ac,072efeb8) ret=7ce99541
...
002e:Ret version.GetFileVersionInfoW() retval=00000001 ret=7ce99541
002e:Call version.VerQueryValueW(072efeb8,7cef66fe L"\\",0458d914,0458d918)
ret=7ce99592
002e:Ret version.VerQueryValueW() retval=00000001 ret=7ce99592
002e:Call version.VerQueryValueW(072efeb8,7cef57c0
L"\\VarFileInfo\\Translation",0458d910,0458d918) ret=7ce9968a
002e:Ret version.VerQueryValueW() retval=00000001 ret=7ce9968a
002e:Call ntdll.RtlFreeHeap(00110000,00000000,072efeb8) ret=7ce90514
002e:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7ce90514
002e:Ret msi.MsiGetFileVersionW() retval=000000ea ret=08fd03f2
...
002e:Call
KERNEL32.FormatMessageA(00001200,00000000,000000ea,00000000,072ef688,00000400,00000000)
ret=08fd0b83
002e:Ret KERNEL32.FormatMessageA() retval=00000016 ret=08fd0b83
...
002e:Call KERNEL32.MultiByteToWideChar(00000000,00000001,072ef688 "More data
available.\r\n",ffffffff,013f0db0,00000017) ret=793eddaa
...
002e:Call msi.MsiGetLastErrorRecord() ret=08fd0cac
002e:fixme:msi:MsiGetLastErrorRecord
002e:Ret msi.MsiGetLastErrorRecord() retval=00000000 ret=08fd0cac
002e:Call KERNEL32.RaiseException(e0434352,00000001,00000005,0458da44)
ret=791cac08
002e:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83aa73
ip=7b83aa73 tid=002e
002e:trace:seh:raise_exception info[0]=80131501
002e:trace:seh:raise_exception info[1]=00000000
002e:trace:seh:raise_exception info[2]=00000000
002e:trace:seh:raise_exception info[3]=00000000
002e:trace:seh:raise_exception info[4]=79140000
002e:trace:seh:raise_exception eax=7b826849 ebx=7b8b96b0 ecx=79140000
edx=0458d928 esi=0458da00 edi=0458d980
002e:trace:seh:raise_exception ebp=0458d958 esp=0458d8f4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
...
--- snip ---
Pseudo code of app:
--- snip ---
int cchVersionBuf = 0;
int cchLangBuf = 0;
int ret = MsiGetFileVersion( path, szVersionBuf, &cchVersionBuf, NULL,
&cchLangBuf);
if( ret == 0xea) {
reserve( szVersionBuf, ++cchVersionBuf);
ret = MsiGetFileVersion( path, szVersionBuf, &cchVersionBuf, NULL,
&cchLangBuf);
}
--- snip ---
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370122%28v=vs.85%…
--- quote ---
...
The MsiGetFileVersion returns the version string and language string in the
format that the installer expects to find them in the database. If you want
only version information, set lpLangBuf and pcchLangBuf to 0 (zero).
...
lpVersionBuf [out]
Returns the file version.
Set to 0 for language information only.
pcchVersionBuf [in, out]
In and out buffer count as the number of TCHAR.
Set to 0 (zero) for language information only. On input, this is the full
size of the buffer, including a space for a terminating null character. If the
buffer passed in is too small, the count returned does not include the
terminating null character.
lpLangBuf [out]
Returns the file language.
Set to 0 (zero) for version information only.
pcchLangBuf [in, out]
In and out buffer count as the number of TCHAR.
Set to 0 (zero) for version information only. On input, this is the full
size of the buffer, including a space for a terminating null character. If the
buffer passed in is too small, the count returned does not include the
terminating null character.
--- quote ---
Source:
http://source.winehq.org/git/wine.git/blob/5891ce25e5b45e69611c2848b87f9bf7…
---snip ---
3155 static UINT get_file_version( const WCHAR *path, WCHAR *verbuf, DWORD
*verlen,
3156 WCHAR *langbuf, DWORD *langlen )
3157 {
...
3180 if (verlen)
3181 {
3182 if (VerQueryValueW( version, szVersionResource, (LPVOID *)&ffi,
&len ) && len > 0)
3183 {
3184 sprintfW( tmp, szVersionFormat,
3185 HIWORD(ffi->dwFileVersionMS),
LOWORD(ffi->dwFileVersionMS),
3186 HIWORD(ffi->dwFileVersionLS),
LOWORD(ffi->dwFileVersionLS) );
3187 if (verbuf) lstrcpynW( verbuf, tmp, *verlen );
3188 len = strlenW( tmp );
3189 if (len >= *verlen) ret = ERROR_MORE_DATA;
3190 *verlen = len;
3191 }
3192 else
3193 {
3194 if (verbuf) *verbuf = 0;
3195 *verlen = 0;
3196 }
3197 }
3198 if (langlen)
3199 {
3200 if (VerQueryValueW( version, szLangResource, (LPVOID *)&lang, &len
) && len > 0)
3201 {
3202 sprintfW( tmp, szLangFormat, *lang );
3203 if (langbuf) lstrcpynW( langbuf, tmp, *langlen );
3204 len = strlenW( tmp );
3205 if (len >= *langlen) ret = ERROR_MORE_DATA;
3206 *langlen = len;
3207 }
3208 else
3209 {
3210 if (langbuf) *langbuf = 0;
3211 *langlen = 0;
3212 }
3213 }
3214 msi_free( version );
3215 return ret;
3216 }
---snip ---
It seems the app wants only version information but additionally passes
"langlen" by reference (.NET code).
Both, "verlen" and "langlen" ref values get set by MsiGetFileVersion() during
first call.
"verlen" is properly increased by app (NULL terminator) but "langlen" ref value
is ignored by app -> passed again unmodified at second call.
Wine returns ERROR_MORE_DATA because it thinks the app also wants language
information, passing insufficient langlen, leading to app failure.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12414
Summary: Nikon Capture NX does not start
Product: Wine
Version: 0.9.58.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: sciamano(a)iwcdesign.com
Created an attachment (id=11932)
--> (http://bugs.winehq.org/attachment.cgi?id=11932)
Terminal output of the errors Nikon Capture NX 1.3 gives when launched
Running Kubuntu Linux Gutsy Gibbon (7.10) on a Pentium4 2.4GHz and 2Gb of RAM.
Nikon Capture 1.3 installs correctly but won't start.
Terminal log attached
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32099
Bug #: 32099
Summary: Adventure Game Studio 3.2 Crashes on start with C++
Runtime Error
Product: Wine
Version: 1.5.16
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcp
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ezekiel000(a)lavabit.com
Classification: Unclassified
Created attachment 42318
--> http://bugs.winehq.org/attachment.cgi?id=42318
error message
Adventure Game Studio 3.2 Crashes on start with C++ Runtime Error. It shows the
same error dialogue box (see screenshot) twice then hangs with this in the
terminal:
err:module:find_forwarded_export module not found for forward
'msvcm80.?DoDllLanguageSupportValidation@<CrtImplementationDetails>@@YAXXZ'
used by L"C:\\windows\\system32\\msvcm90.dll"
err:module:find_forwarded_export module not found for forward
'msvcm80.?RegisterModuleUninitializer@<CrtImplementationDetails>@@YAXP$AAVEventHandler@System@@@Z'
used by L"C:\\windows\\system32\\msvcm90.dll"
wine: Call from 0x7bc4c1f0 to unimplemented function
msvcm90.dll.?DoDllLanguageSupportValidation@<CrtImplementationDetails>@@YAXXZ,
aborting
err:seh:setup_exception_record stack overflow 1900 bytes in thread 0009 eip
7bc554d3 esp 00230bc4 stack 0x230000-0x231000-0x330000
Adventure Game Studio 3.2 can be downloaded from:
http://www.adventuregamestudio.co.uk/AGS.aspx
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27680
Summary: 64-BIT Aion: Unhandled page fault at address
Product: Wine
Version: 1.3.23
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Acidphase(a)gmail.com
Created an attachment (id=35414)
--> (http://bugs.winehq.org/attachment.cgi?id=35414)
Debugger Dump
Tried to load up Aion's 64-bit client not sure if people want to tackle this
but figure it would help someone in the 64-bit end of development.
I built the wine from the git source tree and I used the Directx9 dll overrides
required to run the 32-bit version of Aion.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=31742
Bug #: 31742
Summary: jre-6u33-windows-x64.exe fails to install completely
Product: Wine
Version: 1.5.13
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tahoar(a)gmail.com
Classification: Unclassified
I tried installing jre-6u33-windows-x64.exe on wine1.5-amd64. The installer
loads and progresses through the installation. It reports a complete
installation. The Java files are istalled in "C:\Program Files\Java\jre6". The
Registry is not updated with the install information, and the
"C:\windows\system32\java.exe" file is missing.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26833
Summary: Avatar demo: wants XAudio2_4.dll
Product: Wine
Version: 1.3.18
Platform: x86
URL: http://news.bigdownload.com/2009/11/17/download-james-
camerons-avatar-the-game-demo/
OS/Version: Linux
Status: NEW
Keywords: download
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
If you remove this Microsoft dll, game has no audio (separate from bug 24639).
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll
L"C:\\windows\\system32\\XAudio2_4.dll"
err:ole:CoGetClassObject no class object {03219e78-5bc3-44d1-b92e-f63d89cc6526}
could be created for context 0x1
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=24639
Summary: James Cameron's Avatar: The Game demo - no sound
without hardware acceleration = emulation
Product: Wine
Version: 1.3.4
Platform: x86
URL: http://news.bigdownload.com/2009/11/17/download-james-
camerons-avatar-the-game-demo/
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Created an attachment (id=31141)
--> (http://bugs.winehq.org/attachment.cgi?id=31141)
terminal output
You'll get sound in the first intro video for Ubisoft, but the menu/game are
silent.
Enable hardware acceleration emulation for ALSA in winecfg, and you're good to
go.
Though the FPS do seem to stutter a bit with emulation enabled...
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22682
Summary: Far Cry 2 fails to start
Product: Wine
Version: 1.1.44
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gugamilare(a)gmail.com
Created an attachment (id=27941)
--> (http://bugs.winehq.org/attachment.cgi?id=27941)
Terminal output
Far Cry 2 downloaded from Steam fails to initialize. When launching for the
first time, Steam tries to install DirectX, .NET 2.0, Punkbuster and MS Visual
C++ 2005 SP1. I had to manually delete the DirectX installer and recreate the
wine prefix in order to avoid the installer to try installing DirectX. Either
way, letting it install DIrectX or not, Far Cry 2 fails to initialize. It
starts by showing a black box in the middle of the screen (probably where the
logo should appear) and a warning window is shown:
"Your video card drivers are too old. Please update them."
Pressing OK, the executable continues for a few seconds until a message in the
terminal output states that the function
d3dx9_36.dll.D3DXGetShaderInputSemantics is missing. Then the application
crashes.
On a side note, I have a Radeon HD 4770 512MB and the latest stable fglrx
drivers from Ubuntu repositories.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26590
Summary: James Cameron's Avatar framerate slow
Product: Wine
Version: 1.3.16
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
With a gt 220 and an e8400, I get about 20-22 fps on wine, which seems low.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.