fuselibs icon indicating copy to clipboard operation
fuselibs copied to clipboard

Possible memory leak on Partial Paths - dotnet desktop

Open bwail opened this issue 3 years ago • 0 comments

Bug description Partial Paths page crashes on the ManualTestingApp for dotnet image

To Reproduce On root folder of master branch fork of fuse-open/fuselibs

  1. Execute the following build commands
npm install
npm run build
  1. Execute the following command to run on manual testing app on dotnet npm run dotnet
  2. Click next until you get to Partial Paths screen
  3. Wait a few seconds and the following error appears image

Expected behavior The animation on screen should continue executing normaly

Desktop :

@fuse-open/[email protected] dotnet uno build dotnet Tests/ManualTests/ManualTestingApp/ManualTestingApp.unoproj --run

Uno 2.0.0-beta.10 (build 897) Windows 10 x64 e9bd6aa Copyright (C) 2018-present Fuse Open

Console logs

3: System.OutOfMemoryException: Out of memory.
   at Fuse.Elements.ElementAtlas.PinAndValidateFramebuffer(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\ElementAtlas.uno:line 154
   at Fuse.Elements.ElementBatch.Draw(DrawContext dc, Float4x4 localToClipTransform, Rect scissorRectInClipSpace) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\ElementBatch.uno:line 227
   at Fuse.Elements.ElementBatcher.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\ElementBatcher.uno:line 340
   at Fuse.Elements.Element.DrawNonUnderlayChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 96
   at Fuse.Elements.Element.DrawWithChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 113
   at Fuse.Elements.Element.CompositEffects(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 184
   at Fuse.Elements.Cache.DrawHeuristically(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\Cache.uno:line 83
   at Fuse.Elements.Element.Composit(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 103
   at Fuse.Elements.Element.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Drawing.uno:line 105
   at Fuse.Controls.Panel.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Controls.Panels\Panel.Freeze.uno:line 208
   at Fuse.Elements.Element.DrawNonUnderlayChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 71
   at Fuse.Elements.Element.DrawWithChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 113
   at Fuse.Elements.Element.CompositEffects(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 184
   at Fuse.Elements.Cache.DrawHeuristically(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\Cache.uno:line 83
   at Fuse.Elements.Element.Composit(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 103
   at Fuse.Elements.Element.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Drawing.uno:line 109
   at Fuse.Controls.Panel.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Controls.Panels\Panel.Freeze.uno:line 208
   at Fuse.Elements.Element.DrawNonUnderlayChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 71
   at Fuse.Elements.Element.DrawWithChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 113
   at Fuse.Elements.Element.CompositEffects(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 184
   at Fuse.Elements.Cache.DrawHeuristically(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\Cache.uno:line 83
   at Fuse.Elements.Element.Composit(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 103
   at Fuse.Elements.Element.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Drawing.uno:line 109
   at Fuse.Controls.Panel.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Controls.Panels\Panel.Freeze.uno:line 208
   at Fuse.Elements.Element.DrawNonUnderlayChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 71
   at Fuse.Elements.Element.DrawWithChildren(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Batching.uno:line 113
   at Fuse.Elements.Element.CompositEffects(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 184
   at Fuse.Elements.Cache.DrawHeuristically(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Caching\Cache.uno:line 83
   at Fuse.Elements.Element.Composit(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Effects.uno:line 103
   at Fuse.Elements.Element.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Elements\Element.Drawing.uno:line 109
   at Fuse.Controls.Panel.Draw(DrawContext dc) in D:\Repos\fuselibs\Source\Fuse.Controls.Panels\Panel.Freeze.uno:line 208
   at Fuse.Desktop.DesktopRootViewport.Draw() in D:\Repos\fuselibs\Source\Fuse.Desktop\DesktopRootViewport.uno:line 59

bwail avatar Apr 13 '21 11:04 bwail