My Score Center - version 2.12.0.0 - 4 May 2014 (for MP 1.6/1.7) (2 Viewers)

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: My Score Center - version 1.1 - 13 dec 2009

    Using Windows7, this is what i get when trying to open plugin configuration window:

    Code:
    System.OutOfMemoryException: Out of memory.
       at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
       at System.Drawing.Font.GetHeight()
       at System.Drawing.Font.get_Height()
       at System.Windows.Forms.Control.get_FontHeight()
       at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
       at System.Windows.Forms.TextBoxBase.get_DefaultSize()
       at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
       at System.Windows.Forms.TextBoxBase..ctor()
       at System.Windows.Forms.TextBox..ctor()
       at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
       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.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at MediaPortal.Plugin.ScoreCenter.ScoreCenterPlugin.ShowPlugin()
       at MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Exact same build, working under XP..
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 1.1 - 13 dec 2009

    Exact same build, working under XP..

    I used to create this MyScoreCenter.Settings.xml under XP and then copy that over to Win7 ;)

    So you have the same pb with win7?

    The error is weird "out of memory":confused:
    I never tried on win7, which version of MediaPortal are you running?
    Is MediaPortal fully functional on win7?

    Regarding the stack it seems to have something to do with the Font. The font used is Tahoma, is this Font missing on win7?


    vrm: I'm working on adding a settings for the page to select on start ;)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: My Score Center - version 1.1 - 13 dec 2009

    using MP 1.1 RC1.. it is fully functional but with bugs in couple of community plugins i have reported..

    vrm: i already copied settings xml and thumbs so i can open the plugin in mediaportal and view scores but still, it would be nice to fix the error..

    FredP42: i will check tahoma font but it should be there. it's clean Win7 install.. i have also searched google for the strange out of memory errors and mostly got hits talking about GDI handles and disposing images or custom controls used on the frame.. dunno if that helps..
     

    vrm

    Portal Pro
    November 7, 2009
    117
    10
    Home Country
    Hungary Hungary
    Re: Re : Re: My Score Center - version 1.1 - 13 dec 2009

    Exact same build, working under XP..

    I used to create this MyScoreCenter.Settings.xml under XP and then copy that over to Win7 ;)

    So you have the same pb with win7?

    The error is weird "out of memory":confused:
    I never tried on win7, which version of MediaPortal are you running?
    Is MediaPortal fully functional on win7?

    Regarding the stack it seems to have something to do with the Font. The font used is Tahoma, is this Font missing on win7?


    vrm: I'm working on adding a settings for the page to select on start ;)

    Same problem? I don't know. I definitely remember that out of memory thing, but lately configurator simply crashes instead. I can't find related errors (or anything about ScoreCenter) in logs now. Tahoma fonts are present.

    Yeah, MP works fine on Win 7 for me. Latest MP svn with an unofficial(?) core.dll that I found in these forums before.
    I use the same svn and core dll on XP too (but only for playing with skin files sometimes).

    Thanks in advance for working on my request :)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: My Score Center - version 1.1 - 13 dec 2009

    any news regarding the error on win7? unfortunately, it's not possible for me to debug on that os..
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Re: My Score Center - version 1.1 - 13 dec 2009

    I'm on Win7/32 and get no memory errors with Score Center, so this seems a bit hit and miss to pinpoint why it works for some and not others.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 1.1 - 13 dec 2009

    any news regarding the error on win7? unfortunately, it's not possible for me to debug on that os..

    Sorry I don't have Windows 7, so I cannot try.
    For what I search OutOfMemoryException also indicates that the system is running out of graphic handle which are limited to 10,000. I have MediaPortal 1.0.2 and the configuration app is using around 500 handles and the score center configuration less then 5. You can check the number of handles in the task manager, on the processes page and use menu View | Select Columns and check Handles.

    When is the exception happening exactly, when you click the config button?
    the 1.1.0RC2 seems to have fix a lot of memory leak did someone try it?

    Paranoid Delusion, when you say it is working for you, you are talking about the configuration?
     

    vrm

    Portal Pro
    November 7, 2009
    117
    10
    Home Country
    Hungary Hungary
    Re: Re : Re: My Score Center - version 1.1 - 13 dec 2009

    Sorry I don't have Windows 7, so I cannot try.
    For what I search OutOfMemoryException also indicates that the system is running out of graphic handle which are limited to 10,000. I have MediaPortal 1.0.2 and the configuration app is using around 500 handles and the score center configuration less then 5. You can check the number of handles in the task manager, on the processes page and use menu View | Select Columns and check Handles.

    Configuration.exe | Handles | 429

    When is the exception happening exactly, when you click the config button?

    Yes.

    the 1.1.0RC2 seems to have fix a lot of memory leak did someone try it?

    Still the same error.
     

    Users who are viewing this thread

    Top Bottom