We are seeing an access violation in light.exe (filever 2.0.4103.0)
when creating the cab file for the debug target (happens when the cab
file size exceeds 2 GB) -

light.exe : error LGHT0001 : Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

Exception Type: System.AccessViolationException

Stack Trace:
   at Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String
cabinetDir , String cabinetName, CompressionLevel level, ArrayList
files, ImportStreamColle ction importStreams, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(String
databasePath, Output output, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

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.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose(Boolean dispo
sing)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Finalize()
dmake.exe:  Error code 129, while making 'debug'

Going by the build log just before the error its in the cabbing stage -

Cabbing file Interaction_Center_su_readme.html from 'Interaction_Center_su_readm
e.html'.
Cabbing file Interaction_Center_su_summary.html from
'Interaction_Center_su_summary.html'.
Cabbing file Interaction_Center_su_new_features.html from 'Interaction_Center_su
_new_features.html'.
Cabbing file su_dummy_0.txt from 'su_dummy.txt'.
Cabbing file su_dummy_1.txt from 'su_dummy.txt'.
Cabbing file su_dummy_2.txt from 'su_dummy.txt'.
Cabbing file su_dummy_3.txt from 'su_dummy.txt'.
Cabbing file su_dummy_4.txt from 'su_dummy.txt'.
Cabbing file su_dummy_5.txt from 'su_dummy.txt'.


Is it possible to pull the exception handler off of light.exe to
return a meaningful error code. Moving to the most recent 2.0.4820.0
version returns the same exception stack.

Thanks,

Raj

-------------------------------------------------------------------------
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

Reply via email to