Bugs item #1672584, was opened at 2007-03-02 09:45
Message generated for change (Settings changed) made by robmen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1672584&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: v3.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jacob Huck (jthuck)
Assigned to: pmarcu (pmarcu)
Summary: Exception during EnumerateCab

Initial Comment:
After upgrading to WiX 3.0.2420, we're now expereiencing random exceptions in 
light.  They tend to happen to the same installs, but the exception changes, 
and at times is successful.

Here are two of the stacks (and the only warning... suspicious, eh?):

D:\builds\systest\EIC\rum\products\eic\install\msi\IceLib\WiX_IceLib.wxs(15) : 
warning LGHT1079 : The cabinet 'Product4.
cab' does not contain any files.  If this installation contains no files, this 
warning can likely be safely ignored.  Ot
herwise, please add files to the cabinet or remove it.
light.exe : error LGHT0001 : The handle is invalid. (Exception from HRESULT: 
0x80070006 (E_HANDLE))

Exception Type: System.Runtime.InteropServices.COMException

Stack Trace:
   at 
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.EnumerateCab(String 
cabinet, PFNNOTIFY notify)
   at 
Microsoft.Tools.WindowsInstallerXml.BinderExtension.ResolveCabinet(FileRowCollection
 fileRows, String& cabinetPath
)
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinetWorkItem(Output 
output, String cabinetDir, MediaRow mediaR
ow, FileRowCollection fileRows, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinetFiles(Output 
output, FileRowCollection fileRows, ArrayList
 fileTransfers, MediaRowCollection mediaRows, String layoutDirectory, Boolean 
compressed)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, 
String databaseFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String 
file)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
Binder temporary directory located at 'c:\temp\nm2ktxjl'.
Validator temporary directory located at 'c:\temp\hntgyo3e'.

D:\builds\systest\EIC\rum\products\eic\install\msi\IceLib\WiX_IceLib.wxs(15) : 
warning LGHT1079 : The cabinet 'Product4.
cab' does not contain any files.  If this installation contains no files, this 
warning can likely be safely ignored.  Ot
herwise, please add files to the cabinet or remove it.
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.EnumerateCab(String 
cabinet, PFNNOTIFY notify)
   at 
Microsoft.Tools.WindowsInstallerXml.BinderExtension.ResolveCabinet(FileRowCollection
 fileRows, String& cabinetPath
)
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinetWorkItem(Output 
output, String cabinetDir, MediaRow mediaR
ow, FileRowCollection fileRows, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinetFiles(Output 
output, FileRowCollection fileRows, ArrayList
 fileTransfers, MediaRowCollection mediaRows, String layoutDirectory, Boolean 
compressed)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, 
String databaseFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String 
file)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
Binder temporary directory located at 'c:\temp\yigyysa2'.


----------------------------------------------------------------------

>Comment By: Rob Mensching (robmen)
Date: 2008-05-15 23:49

Message:
Logged In: YES 
user_id=991639
Originator: NO

This isn't repro'ing in recent builds.  If you have a repro on a recent
build please reopen this bug and provide as much information as possible so
we can continue investigating.

----------------------------------------------------------------------

Comment By: Jacob Huck (jthuck)
Date: 2007-03-02 11:55

Message:
Logged In: YES 
user_id=1447432
Originator: YES

It correctly states that this cab contains no files.

----------------------------------------------------------------------

Comment By: Bob Arnson (barnson)
Date: 2007-03-02 11:11

Message:
Logged In: YES 
user_id=26581
Originator: NO

Obvious first question: Are you building products/modules with no files or
is the first message bogus too?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1672584&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to