-
Vegas corruption…
Hello all,
I’ve been writing a few scripts under Vegas 8.0c, and once in a blue moon have noticed something, not good. Somehow, it is possible to corrupt Vegas and its pointers for the media bins. Its not noticeable to the user, but a script will fail (hard exception – using C#). For example, looking at the data in memory, a bin that might show to the user only 12 or so media clips and sub-bins, says it actually has 40 ‘things’ in the list. I’ve not been able to access any of the things at that level, the code just dies deep within Vegas.
This is the end of the stack trace when the error occurs (was just trying to access the NodeType of the first thing in that bin):
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Sony.Vegas.IMediaCOM.GetMetaPathType(UInt32 mediaID, MetaPathType& metaType)
at Sony.Vegas.Media.CreateInstance(UInt32 mediaID)
at Sony.Vegas.MediaBin.GetItem(Int32 index)
at Sony.Vegas.BaseList`1.get_Item(Int32 index)I’m curious if anyone else has noticed/seen this, might know the cause, maybe a workaround ? I have not been able to get a repeatable case yet (only seen this twice, but has me worried…)
Karl ‘krash’ Goldshmidt
Blur Studio