[MP1-4578] Crashes after standby. (4 Viewers)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    I'm a little late to the party but I am having this issue as well on 1.9.
    Did you bring a bottle?
    I can grab logs tonight if they are wanted.
    Please do so for standard setup 1.9 (and even better 1.10 pre). Depending on what we can see, we may ask you to apply the V11-V13 patches from above.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    Test V12: This looked good. (y)

    System came back as i had left it. I am not 100% sure because of unavailable NIC at resume (normal), which led to some unresponsiveness for some time (again normal with the MusicInfo plugin trying to search in the back). I will take a closer look at the next resume and also increase the resume delay.
     

    Attachments

    • MediaPortal.zip
      24.4 KB

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    Test V12: This looked good. (y)
    With some restrictions. There seems to be some focus issues. When the home screen is coming back I can see that weather Information takes some seconds before a temperature is visible and then the info footer starts moving with data. However, the remote seems to not be functioning and a deliberate move with the keyboard is required.

    Have not looked at V13 yet, but does the different programming match what I observe?
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    Haven't had time to try all patches so I started with trying with original 1.10 pre. I didn't really have problems with this build, I've tested it for 2 days, and multiple long sleeps(6 to 9 hours) without any problems but today I saw some errors in my log today. The weird thing is I haven't seen it crash.

    Code:
    [2014-11-13 08:56:38,333] [Error  ] [MPMain   ] [ERROR] - D3D: D3DERR_OUTOFVIDEOMEMORY - not enough available display memory to perform the operation
    [2014-11-13 08:56:38,360] [Error  ] [MPMain   ] [ERROR] - GUIFont: Failed to load font debug from cache. Trying to recreate it...
    [2014-11-13 08:56:38,371] [Log    ] [MPMain   ] [ERROR] - Exception: System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
       bij MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()
       bij MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortal.D3D.RecoverDevice()
       bij MediaPortalApp.OnDeviceLost(Object sender, EventArgs e)
       bij System.EventHandler.Invoke(Object sender, EventArgs e)
       bij Microsoft.DirectX.Direct3D.Device.raise_DeviceLost(Object i1, EventArgs i2)
       bij Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortalApp.OnDisplayChange(Message& msg)
       bij MediaPortalApp.WndProc(Message& msg)  Message: De objectverwijzing is niet op een exemplaar van een object ingesteld.  Site   : Void InitializeDeviceObjects()  Source : Core  Stack Trace:     bij MediaPortal.GUI.Library.GUIFont.InitializeDeviceObjects()
       bij MediaPortal.GUI.Library.GUIFontManager.InitializeDeviceObjects()
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortal.D3D.RecoverDevice()
       bij MediaPortalApp.OnDeviceLost(Object sender, EventArgs e)
       bij System.EventHandler.Invoke(Object sender, EventArgs e)
       bij Microsoft.DirectX.Direct3D.Device.raise_DeviceLost(Object i1, EventArgs i2)
       bij Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortalApp.OnDisplayChange(Message& msg)
       bij MediaPortalApp.WndProc(Message& msg)
    [2014-11-13 08:56:38,387] [Log    ] [MPMain   ] [ERROR] - Exception: Fout in de toepassing.
    -2005530516 (D3DERR_INVALIDCALL)
       bij Microsoft.DirectX.Direct3D.Device.EvictManagedResources()
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortal.D3D.RecoverDevice()
       bij MediaPortalApp.OnProcess()
       bij MediaPortal.D3D.OnIdle(Object sender, EventArgs e)
       bij System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
       bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.Run(Form mainForm)
       bij MediaPortalApp.Main(String[] args)  Message: Fout in de toepassing.  Site   : Void EvictManagedResources()  Source : Microsoft.DirectX.Direct3D  Stack Trace:     bij Microsoft.DirectX.Direct3D.Device.EvictManagedResources()
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortal.D3D.RecoverDevice()
       bij MediaPortalApp.OnProcess()
       bij MediaPortal.D3D.OnIdle(Object sender, EventArgs e)
       bij System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
       bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.Run(Form mainForm)
       bij MediaPortalApp.Main(String[] args)
    [2014-11-13 08:56:38,388] [Error  ] [MPMain   ] [ERROR] - MediaPortal stopped due to an exception Fout in de toepassing. Microsoft.DirectX.Direct3D    bij Microsoft.DirectX.Direct3D.Device.EvictManagedResources()
       bij MediaPortal.D3D.RecreateSwapChain()
       bij MediaPortal.D3D.RecoverDevice()
       bij MediaPortalApp.OnProcess()
       bij MediaPortal.D3D.OnIdle(Object sender, EventArgs e)
       bij System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
       bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bij System.Windows.Forms.Application.Run(Form mainForm)
       bij MediaPortalApp.Main(String[] args)

    Based on @HTPC_Sourcer testing I will give V12 or V13 a try. I will report back later.

    Update: testing v13 now
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Test V12: This looked good. (y)
    With some restrictions. There seems to be some focus issues. When the home screen is coming back I can see that weather Information takes some seconds before a temperature is visible and then the info footer starts moving with data. However, the remote seems to not be functioning and a deliberate move with the keyboard is required.

    Have not looked at V13 yet, but does the different programming match what I observe?

    Yep V12 didn't have the focus enable on resume :) so remote is not focused
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    I've also tested V13 since yesterday afternoon and it worked just fine this morning according to my girlfriend. I also did a couple of short standby tests yesterday night and it was working great. Didn't had time to check the logs this morning but it seems to be good:) Incase I find anything tonight I will give some more feedback.
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    Just to make the choice a little bit easier:) After 6 hours of standby I did another resume and it was working fine again!

    I also checked all the logs from today and there was no related error like d3d or something just the wrong thread error one time. So seems quite good to me.
     

    Users who are viewing this thread

    Top Bottom