Hi,
I just updated to ImageEn 10.3.0_41640 and I still have 2 issues with ievect.LoadFromFileIev.
First I have a memory leak with softshadow when loading an image from LoadFromFileIev because it raises in the Stream.Read(Name^, q) that follows the softshadow create. Here is the call stack:
System.ZLib.ZDecompressCheckWithoutBufferError(-3)
System.ZLib.TZDecompressionStream.Read(???,1701564)
ievect.TImageEnVect.ReadObj($7D97AF00,87,True,0)
ievect.TImageEnVect.LoadFromStreamIEV($7D95E360,False)
ievect.TImageEnVect.LoadFromFileIEV('ImageNameCorrupted.iev',True)
And I also have an Out of memory with another image. Here is the call stack:
hyieutils.IEStrDup(#1)
hyieutils.IEStrDup('¬'#3'...
ievect.TImageEnVect.AddVObject($19F27C)
ievect.TImageEnVect.ReadObj($7D97AF00,84,True,1)
ievect.TImageEnVect.ReadObj($7D97AF00,84,True,1)
ievect.TImageEnVect.LoadFromStreamIEV($7D95DB40,True)
ievect.TImageEnVect.LoadFromFileIEV('ImageOutOfMemory.iev',True)
I have attached both images a zip file. I'm using FastMM4. While I guess both images are corrupted and that corruption can be very unpredictable, do you think there is anything that could be done to prevent those 2 issues ? Thank you.
attach/RudBus/2022222165358_Images.zip
914 Bytes