MePo 1.6 client freezes on resume (1 Viewer)

TheBatfink

MP Donator
  • Premium Supporter
  • June 11, 2007
    1,286
    222
    Nottingham
    Home Country
    United Kingdom United Kingdom
    Hi,

    I had this intermittently with 1.5 so upgraded my client to 1.6 but I still have issues. MePo appears to freeze after a resume (clock shows the time the system went to sleep). What I used to find before was this would happen on every resume when my TVServer was offline but it would eventually say connection to TV Server was lost and recover.

    Sometimes I shut down my main MePo machine (which serves the TV) so it can not be woken up on purpose. Maybe it doesn't like this?

    Taskmgr said MePo was still running but there was a not responding task called 'fullscreensplashscreen' or similar. I killed MePo and created the log attached.

    Thanks!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hello

    I could be wrong, but just going on the face value of what I see in the log files...
    [collapse]
    [2014-01-25 10:20:25,637] [Error ] [TvClient-TvHome: HeartBeat transmitter thread] [ERROR] - TvPlugin and TvServer don't have the same version.
    TvServer Version: 1.6.0-17-g99882a4-EXP-Custom.Data.Grabber.and.Series.Link.v.1.6.0
    TvPlugin Version: 1.6.0.0[/collapse]

    [collapse]
    [2014-01-26 06:46:26,431] [Log ] [72 ] [ERROR] - Exception: System.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'MediaPortalApp'.
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart() Message: Cannot access a disposed object.
    Object name: 'MediaPortalApp'. Site : System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean) Source : System.Windows.Forms Stack Trace: at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    at System.Windows.Forms.Control.Invoke(Delegate method)
    at TvPlugin.TVHome.ShowDlgAsynch()
    at TvPlugin.TVHome.ShowDlgThread()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()[/collapse]

    ...I'd guess that the TV plugin may be contributing to the problem, and given that you're running a custom version of the TV Server/plugin I'd ask you to get support from DJBlu. Alternatively, you could revert to standard MP, reproduce the problem and provide fresh log files. Note if you're able to reproduce the problem with standard MP we will need you to stay with standard MP in case further information is required.

    mm
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,286
    222
    Nottingham
    Home Country
    United Kingdom United Kingdom
    I thought when I saw that line in the logs that would be the answer I'd get. I understand why of course.
    I wish the code freeze wasn't in place, this is why we tried again recently to pester to get it included in TVE :(

    He's busy and always was a use at your own risk kinda thing regarding support. I just have no desire for MePo TV setup without his plugin (no offence I know its partly me probably being lazy). I think ultimately I will revert to vanilla MePo and I'll go back to the sky boxes for TV.

    Thanks for taking a look though, appreciated.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    I thought when I saw that line in the logs that would be the answer I'd get. I understand why of course.
    Thanks for your understanding. :)

    I wish the code freeze wasn't in place, this is why we tried again recently to pester to get it included in TVE :(
    Quite frankly I'm not in favour of including it in its current form. I saw the thread but I deliberately refrained from posting as I know there are some people who really like the plugin and I didn't want to start a flame war. Suffice to say that even were the code freeze not in place there would be some "negotiation" that would need to take place. Further (and as I seem to say every time this topic comes up), to my knowledge DJBlu has never asked for his work to be included. That's not a reason for it not to be included. Just saying that I have the impression he has his own priorities.

    He's busy and always was a use at your own risk kinda thing regarding support. I just have no desire for MePo TV setup without his plugin (no offence I know its partly me probably being lazy). I think ultimately I will revert to vanilla MePo and I'll go back to the sky boxes for TV.
    No offence taken. Like I said, I get that some people like the plugin a lot. Do what suits you best. My focus has to be on TV Server's suitability for the whole community, not just a segment.

    mm
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,286
    222
    Nottingham
    Home Country
    United Kingdom United Kingdom
    I get its probably a nasty hacked in thing.. But you have to admit the end result is a great idea for those few that can utilise it.. and when its working obviously ;)

    Will TVE3.5 structure be such that things like this could become an external plugin or is it just not fundamentally possible? (forgive my complete lack of understanding of how TVE does its clever stuff).
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    51
    ::1
    Home Country
    Netherlands Netherlands
    MePo appears to freeze after a resume (clock shows the time the system went to sleep).
    I know the LatestMediaHandler causes about a 30 seconds freeze, but there's more going on. You could disable LMH before you go to bed, and test the next morning. It have a feeling that the main thread is being blocked by the plugin, which prevents the popup (about missing internet connection after S3) to show, which results in a frozen UI.

    Whatever i do (after achieving a responsive GUI after S3 resume), i can't enter the TV section in the first 30 seconds after a resume. When i do, i'm presented with a 20/30 seconds freeze.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,286
    222
    Nottingham
    Home Country
    United Kingdom United Kingdom
    I'll try it out. Its only in the bedroom and infrequently used so bells and whistles like mediahandler can go without problem.

    I assume you don't use DJBlus modification though?

    Failing that I may try once more to get TV and EPG set up with standard MePo one more time. Its been so long since I did, that being spoilt with the auto setup might of convinced me it was more work than it actually was. I have this nagging feeling I couldn't 100% get shut of EPG holes the last time and gave up (maybe prematurely).
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,286
    222
    Nottingham
    Home Country
    United Kingdom United Kingdom
    It's an extension that pushes the last media added to certain other extensions to your skin. If your skin shows you things like the last 3 movies added etc. you have it installed. Fire up Mediaportal Extension Installer and see if its there.

    https://code.google.com/p/latestmediahandler/
    Untitled.png

    EDIT: It's also worth noting that I'm not using the official mediaportal release so my issue could be (and likely is) a result of that so it could be misleading if you're on standard 1.6. That in itself is probably another reason some people don't like support threads when using 'modifications' (catavolt gave me a bashing last week :) and he has a point I suppose).
     
    Last edited:

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    51
    ::1
    Home Country
    Netherlands Netherlands
    I assume you don't use DJBlus modification though?
    Nope, 1.6

    HomeY
    What excatly is the "LatestMediaHandler" ??
    A plugin, as TheBatfink mentioned above ;)

    EDIT: It's also worth noting that I'm not using the official mediaportal release so my issue could be (and likely is) a result of that so it could be misleading if you're on standard 1.6.
    Well, i know i had perfect resume in the past, but lately it's become worse, and last couple of weeks (maybe months...) it's really starting to annoy me, so i've been looking into possible problems. I found at least 3 plugins (of a handful i use) that could cause these problems, but TvService does something too. Just haven't gotten to the bottom of it (yet...).
    Easiest way for you to figure out if it's a plugin or core component, is to start MP with the WatchDog before going to bed.
    Keep in mind that short S3 periods don't trigger the issue (at least not here). I always have to test this stuff overnight or after a workday (few hours standby).
     

    Users who are viewing this thread

    Top Bottom