Wix-Users, We are seeing the following access violation in light.exe (filever
2.0.4409.0) that seems to have something to do with concurrent invocation of
two instances of light.exe. Has anyone seen something similar? Unhandled
Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt. at
Microsoft.Tools.WindowsInstallerXml.Msi.Interop.MsiInterop.MsiCloseHandle(IntPtr
database) at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Close() at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Dispose(Boolean disposing) at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Finalize() Two build threads simultaneously laying out two different
MSIs were working at the time of failure (prefix at the beginning of each line
is build-thread index) Excerpts from the build-log showing the immediate
pre-history of the problem is below. “Stop.” message indicates that the build thread
has finished its work. I am omitting non-essential information for clarity. 101>
tools\light.exe -nologo -wx -v0 -out XXXX.msi Xa.wixobj Xb.wixobj Xc.wixobj Z1.wixobj
Z2.wixobj sca.wixlib wixca.wixlib 102>
tools\light.exe -nologo -wx -v0 -out YYYY.msi Ya.wixobj Yb.wixobj Yc.wixobj Z1.wixobj
Z2.wixobj sca.wixlib wixca.wixlib 102>Updating file information. 101>Updating file information. 102>Generating database. 102>Merging modules. 101>Generating database. 101>Merging modules. 102>Processing media information. 102>Cabbing file X0001.aaa . . . . <68 files> 101>Processing media information. 101>Cabbing file Y0001.bbb . . . . <149 files> 102>Importing streams. 102>Importing binary stream from X0001.ccc . . . . <12 streams, icons,
cabs> 101>Importing streams. 101>Importing binary stream from Y0001.ddd . . . . <15 streams, icons,
cabs> 102>Laying out media. 102>Moving file ‘. . .
.\txxd3s8j\XXXX.msi' to ‘ . . . XXXXX.msi'. . . . 102>Stop. . . . . 101>Laying out media. 101>Moving file ‘. . . \b4fepmve\YYYY.msi'
to ‘. . . YYYY.msi’. 101>Copying file ‘. . .
\DIR1\ABCDEF.sys' to ‘. . .\DIR2\ABCDEF.sys'. . . . 101> 101>Unhandled Exception:
System.AccessViolationException: Attempted to read or write protected memory.
This is often an indication that other memory is corrupt. 101> at
Microsoft.Tools.WindowsInstallerXml.Msi.Interop.MsiInterop.MsiCloseHandle(IntPtr
database) 101> at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Close() 101> at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Dispose(Boolean disposing) 101> at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiHandle.Finalize() . . . 101>NMAKE : fatal error U1077: ‘.
. \tools\light.exe' : return code '0xc0000005' 101>Stop. Thanks, Ilya |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users