MediaPortal Version: 1.1 beta and SVN-Snapshot:-01-08-2010 02-15h
MediaPortal Skin: Blue3Wide
Windows Version: Windows 7 x64 SVN-Snapshot:-01-08-2010 02-15h
Memory: 4Gb
Hello!
Yesterday I thought that I had messed up my installation but now I have fond that it was not so.
I have a huge collection of thumbs mostly related to movingpictures. At startup of Mediaportal there is some traversing of the thumbs directory, not by MovingPictures but by Mediaportal to create some cached images and fonts. This causes the dump below. If I remove the MovingPicture thumbs dir Mediaportal starts fine. It does not matter if I disable the MovingPicture plugin.
I am not sure if it is the images in the Movingpictures thums directory that causes the error or if that is just the once that resulted in the final out of memory. I also have huge number of music thumbs and picture thumbs. The error window that shows at startup says something about out of memory. That could explain why it works on one of my computers and not on the other. It fails on the one that has the tvserver installed too, ie probably less memory for the client.
The out of memory does occure when creating the cached images not realy when creating the cached fonts as the dump shows.
The dump is just a result of the previous out of memory.
I appology for crossposting both in the svn thread and in the bug report forum.
/Erik
2010-01-10 20:09:14.137416 [Warn.][MPMain]: GraphicContext: NO screen calibration file found for resolution 720x556!
2010-01-10 20:09:14.150416 [Info.][MPMain]: GraphicContext: MP will render at 50 FPS, use animations = True
2010-01-10 20:09:14.326426 [Info.][MPMain]: fonts.Dispose()
2010-01-10 20:09:14.332427 [Info.][MPMain]: Load fonts from c:\Public\MediaPortal\Skin\Blue3wide\fonts.xml
2010-01-10 20:09:14.502437 [Debug][MPMain]: fonts.InitializeDeviceObjects()
2010-01-10 20:09:14.583441 [Debug][MPMain]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\Blue3wide\fonts\debug_12.dds
2010-01-10 20:09:14.680447 [Info.][MPMain]: D3D: InitializeDeviceObjects - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()
at MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()
at MediaPortalApp.InitializeDeviceObjects()
at MediaPortal.D3DApp.InitializeEnvironment()
2010-01-10 20:09:14.682447 [Info.][MPMain]: DirectInput: not enabled
2010-01-10 20:09:14.720449 [Info.][MPMain]: X10 debug: Could not get interface
2010-01-10 20:09:14.856457 [Info.][MPMain]: MAP: using custom mappings for Microsoft MCE
2010-01-10 20:09:14.866457 [Info.][MPMain]: MCE: MCE remote enabled
2010-01-10 20:09:14.891459 [Info.][MPMain]: Main: Running
2010-01-10 20:09:14.971463 [Info.][MPMain]: Exception ystem.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MediaPortalApp'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.972463 [Info.][MPMain]: Exception :Cannot access a disposed object.
Object name: 'MediaPortalApp'.
2010-01-10 20:09:14.973463 [Info.][MPMain]: site :Void CreateHandle()
2010-01-10 20:09:14.974464 [Info.][MPMain]: source ystem.Windows.Forms
2010-01-10 20:09:14.974464 [Info.][MPMain]: stacktrace: at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.975464 [Info.][MPMain]: MediaPortal stopped due to an exception Cannot access a disposed object.
Object name: 'MediaPortalApp'. System.Windows.Forms at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.999465 [Debug][MPMain]: Main: SaveLastActiveModule - enabled False
2010-01-10 20:09:14.999465 [Info.][MPMain]: Main: Exiting
2010-01-10 20:09:15.011466 [Info.][MPMain]: fonts.Dispose()
2010-01-10 20:09:15.011466 [Debug][MPMain]: TextureManager: Dispose()
2010-01-10 20:09:15.012466 [Info.][MPMain]: TexturePackerispose()
2010-01-10 20:09:15.012466 [Debug][MPMain]: Windowmanager: closing current window
2010-01-10 20:09:15.013466 [Info.][MPMain]: TexturePacker: Removing packed skin
2010-01-10 20:09:15.713506 [Debug][2]: FastImage: Cleaning up GDI+ before shutting down
MediaPortal Skin: Blue3Wide
Windows Version: Windows 7 x64 SVN-Snapshot:-01-08-2010 02-15h
Memory: 4Gb
Hello!
Yesterday I thought that I had messed up my installation but now I have fond that it was not so.
I have a huge collection of thumbs mostly related to movingpictures. At startup of Mediaportal there is some traversing of the thumbs directory, not by MovingPictures but by Mediaportal to create some cached images and fonts. This causes the dump below. If I remove the MovingPicture thumbs dir Mediaportal starts fine. It does not matter if I disable the MovingPicture plugin.
I am not sure if it is the images in the Movingpictures thums directory that causes the error or if that is just the once that resulted in the final out of memory. I also have huge number of music thumbs and picture thumbs. The error window that shows at startup says something about out of memory. That could explain why it works on one of my computers and not on the other. It fails on the one that has the tvserver installed too, ie probably less memory for the client.
The out of memory does occure when creating the cached images not realy when creating the cached fonts as the dump shows.
The dump is just a result of the previous out of memory.
I appology for crossposting both in the svn thread and in the bug report forum.
/Erik
2010-01-10 20:09:14.137416 [Warn.][MPMain]: GraphicContext: NO screen calibration file found for resolution 720x556!
2010-01-10 20:09:14.150416 [Info.][MPMain]: GraphicContext: MP will render at 50 FPS, use animations = True
2010-01-10 20:09:14.326426 [Info.][MPMain]: fonts.Dispose()
2010-01-10 20:09:14.332427 [Info.][MPMain]: Load fonts from c:\Public\MediaPortal\Skin\Blue3wide\fonts.xml
2010-01-10 20:09:14.502437 [Debug][MPMain]: fonts.InitializeDeviceObjects()
2010-01-10 20:09:14.583441 [Debug][MPMain]: TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\Blue3wide\fonts\debug_12.dds
2010-01-10 20:09:14.680447 [Info.][MPMain]: D3D: InitializeDeviceObjects - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()
at MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()
at MediaPortalApp.InitializeDeviceObjects()
at MediaPortal.D3DApp.InitializeEnvironment()
2010-01-10 20:09:14.682447 [Info.][MPMain]: DirectInput: not enabled
2010-01-10 20:09:14.720449 [Info.][MPMain]: X10 debug: Could not get interface
2010-01-10 20:09:14.856457 [Info.][MPMain]: MAP: using custom mappings for Microsoft MCE
2010-01-10 20:09:14.866457 [Info.][MPMain]: MCE: MCE remote enabled
2010-01-10 20:09:14.891459 [Info.][MPMain]: Main: Running
2010-01-10 20:09:14.971463 [Info.][MPMain]: Exception ystem.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MediaPortalApp'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.972463 [Info.][MPMain]: Exception :Cannot access a disposed object.
Object name: 'MediaPortalApp'.
2010-01-10 20:09:14.973463 [Info.][MPMain]: site :Void CreateHandle()
2010-01-10 20:09:14.974464 [Info.][MPMain]: source ystem.Windows.Forms
2010-01-10 20:09:14.974464 [Info.][MPMain]: stacktrace: at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.975464 [Info.][MPMain]: MediaPortal stopped due to an exception Cannot access a disposed object.
Object name: 'MediaPortalApp'. System.Windows.Forms at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MediaPortalApp.Main(String[] args)
2010-01-10 20:09:14.999465 [Debug][MPMain]: Main: SaveLastActiveModule - enabled False
2010-01-10 20:09:14.999465 [Info.][MPMain]: Main: Exiting
2010-01-10 20:09:15.011466 [Info.][MPMain]: fonts.Dispose()
2010-01-10 20:09:15.011466 [Debug][MPMain]: TextureManager: Dispose()
2010-01-10 20:09:15.012466 [Info.][MPMain]: TexturePackerispose()
2010-01-10 20:09:15.012466 [Debug][MPMain]: Windowmanager: closing current window
2010-01-10 20:09:15.013466 [Info.][MPMain]: TexturePacker: Removing packed skin
2010-01-10 20:09:15.713506 [Debug][2]: FastImage: Cleaning up GDI+ before shutting down