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

Brudertac

MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    @HTPC_Sourcer
    Do you using Intel Graphics? I have installed the latest Driver from Intel yesterday and since then it looks like it works. It is too early to say it is gone but its worth a try if you use Intel HD Graphics too.
    It's all in my sys specs ;) - and yes, I am using the latest Intel driver. You may notice that you need to suspend for quite a long time before the freeze is actually occurring. Overnight is probably a good test, so take a look at your system tomorrow morning again.

    Done that already last Night. But i will see on the next days...
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I tried V6 but still crashes after resuming from hibernate.

    Anwendung: MediaPortal.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: System.AccessViolationException
    Stapel:
    bei DirectShowLib.IMediaControl.GetState(Int32, DirectShowLib.FilterState ByRef)
    bei MediaPortal.Player.TSReaderPlayer.Cleanup()
    bei MediaPortal.Player.TSReaderPlayer.CloseInterfaces()
    bei MediaPortal.Player.BaseTSReaderPlayer.Stop(Boolean)
    bei MediaPortal.Player.BaseTSReaderPlayer.Stop()
    bei MediaPortal.Player.g_Player.doStop(Boolean, Boolean)
    bei MediaPortal.Player.g_Player.Stop()
    bei MediaPortalApp.OnDeviceChange(System.Windows.Forms.Message ByRef)
    bei MediaPortalApp.WndProc(System.Windows.Forms.Message ByRef)
    bei System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
    bei System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
    bei MediaPortal.Util.Win32API.PeekMessage(MSG ByRef, IntPtr, Int32, Int32, Int32)
    bei MediaPortal.D3D.OnIdle(System.Object, System.EventArgs)
    bei System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32)
    bei System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
    bei System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
    bei System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
    bei System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
    bei MediaPortalApp.Main(System.String[])

    and most of the time only the following .net runtime error is logged in the Windows Events:
    Anwendung: MediaPortal.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
    Ausnahmeinformationen: Ausnahmecode c0000005, Ausnahmeadresse 6FC74997

    which of course does not help :-/

    Hi :)

    It seems most likely not related to S3 changes, surely something broken in TSReaderPlayer side.
    So that can be ignored for now, a completely separate from the standby changes in v6.
    MediaPortal.cs :: OnDeviceChange() sees an audio device removal and it stops TSReaderPlayer (thru g_player)
    And then Something goes wrong as GetState panics (it seems the whole DS graph has been already discarded... who knows)
    So that needs a separate fix for it :
    TSReaderPlayer must handle Stopping always in a nice way and it would be wise to stop the player before entering the S3...

    I was helped by other dev for analysing log :) (Thanks m8)
     

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    @HTPC_Sourcer
    Do you using Intel Graphics? I have installed the latest Driver from Intel yesterday and since then it looks like it works. It is too early to say it is gone but its worth a try if you use Intel HD Graphics too.
    It's all in my sys specs ;) - and yes, I am using the latest Intel driver. You may notice that you need to suspend for quite a long time before the freeze is actually occurring. Overnight is probably a good test, so take a look at your system tomorrow morning again.

    Done that already last Night. But i will see on the next days...

    Well, the new Graphic Driver was no Solution. The error is back. (MP is not reacting after resume and show the last time it was active before)
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    @Sebastiii , the only version that worked in a reliable manner for me was V5, which you have removed from this thread. V7 was faulty and V9 freezes every time.

    I don't think that there is just brudertac and I, who are using Intel graphics, hence I am surprised that we don't hear more often about resume problems. At the same time there seem to be more and more comments in different threads that mention similar problems. Is there anybody with similar hardware who can confirm that he is NOT experiencing resume problems?
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    I don't think that there his just brudertac and I, who are using Intel graphics, hence I am surprised that we don't hear more often about resume problems.
    I've had my share of them in the past, but those were related to the MySQL TV database. After i switched to MSSQL all is working fine.

    I do have an Intel HD4000 in my DEV machine, so i'll start up MP before i put it to sleep and will see how it does tomorrow morning. ;)
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    S3 was at least 2 hours every time, and all 3 times, resume went great.
    On my System 2 hours have not been enough to provoke the Crash. Can you verify overnight?
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Is your DEV Machine connected with HDMI to a TV or Receiver?
    HDMI to monitor, yes, no AVR.

    On my System 2 hours have not been enough to provoke the Crash. Can you verify overnight?
    the first test of the 3 was overnight, without issues.

    ** EDIT
    And another test with at least 5 hours before resume, went completely fine with HD4000.
    So i think we can rule out the HD4000 causing resume issues.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom