Re: Fanart Handler Plugin v1.5 (and music fanart scraper)
Awesome
Awesome
Hi,
using the FanartHandlerV1.5, after playing music for a while (it's random, might be during the first track, always within the first hour of music) the music will stop and MP will not respond - task manager is required to quit. This has happened a few times since installing a couple of days ago. I get a bunch of errors in the log -
2010-03-10 11:26:17.500000 [ERROR][MPMain(1)]: render exceptionystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at MediaPortal.GUI.Library.GUIImage.FontEngineDrawTexture(Int32 textureNo, Single x, Single y, Single nw, Single nh, Single uoff, Single voff, Single umax, Single vmax, Int32 color, Single[,] matrix)
at MediaPortal.GUI.Library.GUIImage.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIAnimation.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIButtonControl.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIPlayListButtonControl.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIPlayListItemListControl.RenderButton(Single timePassed, Int32 buttonNr, Int32 x, Int32 y, Boolean gotFocus)
at MediaPortal.GUI.Library.GUIPlayListItemListControl.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIControl.DoRender(Single timePassed, UInt32 currentTime)
at MediaPortal.GUI.Library.GUIFacadeControl.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIControl.DoRender(Single timePassed, UInt32 currentTime)
at MediaPortal.GUI.Library.GUIGroup.Render(Single timePassed)
at MediaPortal.GUI.Library.GUIControl.DoRender(Single timePassed, UInt32 currentTime)
at MediaPortal.GUI.Library.GUIWindow.Render(Single timePassed)
2010-03-10 11:26:17.515625 [ERROR][MPMain(1)]: Exceptionystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at MediaPortal.GUI.Library.GUIFontManager.FontEnginePresentTextures()
at MediaPortal.GUI.Library.GUIFontManager.Present()
at MediaPortal.GUI.Library.GUILayerManager.Render(Single timePassed)
at MediaPortalApp.Render(Single timePassed)
2010-03-10 11:26:17.515625 [ERROR][MPMain(1)]: Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
2010-03-10 11:26:17.515625 [ERROR][MPMain(1)]: site :Void FontEnginePresentTextures()
2010-03-10 11:26:17.515625 [ERROR][MPMain(1)]: source :Core
2010-03-10 11:26:17.515625 [ERROR][MPMain(1)]: stacktrace: at MediaPortal.GUI.Library.GUIFontManager.FontEnginePresentTextures()
at MediaPortal.GUI.Library.GUIFontManager.Present()
at MediaPortal.GUI.Library.GUILayerManager.Render(Single timePassed)
at MediaPortalApp.Render(Single timePassed)
2010-03-10 11:26:26.671875 [ERROR][MPMain(1)]: Exceptionystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
at MediaPortalApp.Render(Single timePassed)
2010-03-10 11:26:26.671875 [ERROR][MPMain(1)]: Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
2010-03-10 11:26:26.671875 [ERROR][MPMain(1)]: site :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
2010-03-10 11:26:26.671875 [ERROR][MPMain(1)]: source :Microsoft.DirectX.Direct3D
2010-03-10 11:26:26.671875 [ERROR][MPMain(1)]: stacktrace: at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
at MediaPortalApp.Render(Single timePassed)
2010-03-10 11:26:26.687500 [ERROR][MPMain(1)]: Exceptionystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
at MediaPortalApp.Render(Single timePassed)
2010-03-10 11:26:26.687500 [ERROR][MPMain(1)]: Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
2010-03-10 11:26:26.687500 [ERROR][MPMain(1)]: site :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
2010-03-10 11:26:26.687500 [ERROR][MPMain(1)]: source :Microsoft.DirectX.Direct3D
2010-03-10 11:26:26.687500 [ERROR][MPMain(1)]: stacktrace: at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
.... and on and on, the log (attached) just keeps on going/growing until I quit. I deleted the FanartHandler database, reinstalled - keeps happening. I reverted back to V1.3 of the FanartHandler and it no longer happens.
Cheers
Hi,
Thank you for this report. Can you please attach the fanarthandler.log that matches the same time as when the error happens in the error.log.
best regards
cul8er
Sweden
Hi,
Next version of this plugin now available (version 1.6). No new features but the new version includes optimization in how random images was handled. An example: loading a basichome screen on a very slow laptop of mine that took about 9 seconds with version 1.5 now are down to about 3. Usage of memory has also gone down due to this optimization.
Please let me know of any issues.
cheers
cul8er