MP2.2pre Client crash while streaming Live TV from remote MP2.2pre Server (both offline) (1 Viewer)

Status
Not open for further replies.

amatesi

MP Donator
  • Premium Supporter
  • October 3, 2013
    9
    12
    39
    Italy Italy
    MediaPortal 2 Version: 2.2

    Description
    Setup:
    • (upstairs) MP2.2pre Server connected to WLAN and TV antenna.
    • (downstairs) MP2.2pre Client connected to WLAN AP via Ethernet.
    • No Internet (only internal (W)LAN traffic).
    Full log files attached (extracts below) - The issue occurred on the 29th of Sep 2018 at 18.29.

    How to reproduce issue.
    1. Ensure you have the above setup.
    2. Ensure you are offline (ie. both client & server are unable to get to Internet).
    3. Play Live TV on the client - a crash will eventually occur.

    MP2.2pre Client log extract:
    [2018-09-29 18:19:16,308] [928729 ] [Thread10 ] [INFO ] - Started refeshing News Feeds ...
    [2018-09-29 18:19:28,299] [940719 ] [Thread10 ] [WARN ] - Unable to load default news feeds xml from server: The remote name could not be resolved: 'install.team-mediaportal.com'
    [2018-09-29 18:19:28,299] [940719 ] [Thread10 ] [INFO ] - Finished refeshing News Feeds ...
    [2018-09-29 18:29:00,191] [1512612] [151 ] [ERROR] - ApplicationLauncher: Unhandled exception in application
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Plugins.SlimTv.Client.Models.SlimTvClientModel.<Update>d__143.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    # MP2.2pre Client log.

    Windows Event Viewer Application Log extract:
    Application: MP2-Client.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    at MediaPortal.Plugins.SlimTv.Client.Models.SlimTvClientModel+<Update>d__143.MoveNext()
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    # Windows Event Viewer Application Log.

    Steps to Reproduce:
    Play Live TV on the client - a crash will eventually occur.
     

    Attachments

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Hello,

    Please set log level to DEBUG an repeat. Then upload full logs, including the ones from server. Also please don't delete the event logs.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Thank you.

    a crash will eventually occur
    Does this mean that you can play Live TV for some time, but at some point the app is crashing on your client? Does this also happen if you allow internet connections?

    The crash appears to happen in connection with
    [2018-10-01 01:19:39,472] [90917 ] [22 ] [DEBUG] - AsyncWebLoadOperation: Failed to download http://[fe80::6154:25f1:20e3:f943]:...ttype=Banner&name=RACING.COM&width=0&height=0 - The remote server returned an error: (404) Not Found.
    [...]
    [2018-10-01 01:29:00,356] [651802 ] [22 ] [ERROR] - ApplicationLauncher: Unhandled exception in application
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Plugins.SlimTv.Client.Models.SlimTvClientModel.<Update>d__143.MoveNext()
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    @amatesi I checked the method and could not see obvious issues. I have compiled a DEBUG version of the TV plugin. Could you please take a backup of existing folder C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTv.Client and extract the attached archive into this folder?

    Then run MP2-Client again and reproduce the issue. Attach log files, I hope to get a line number of the crash source :)
     

    Attachments

    amatesi

    MP Donator
  • Premium Supporter
  • October 3, 2013
    9
    12
    39
    Italy Italy
    Hi @HTPCSourcer & @morpheus_xx and thank you for your replies and your effort in troubleshooting this issue (much appreciated).

    @HTPCSourcer: the answer to your question is yes - Live TV works for 10mins then the client stops (crashes, takes you back to Desktop). Note: currently my Internet is down & I'm waiting for my provider to fix it (using the phone at time o/t writing).

    • The good news is that I might have worked out what is causing this issue :)
    On the MP2-Server -> TV Server Configuration -> Plugins, I did enable WebEPG (in order to get EPGs from the Internet).

    • I have now DISABLED WebEPG Plugin and MP2-Client LiveTV has been stable for the past hour, so (if that is an indication), I welcome you guys to review the WebEPG Plugin "Internet checks" code section.

    Thanks again and I will update this thread accordingly if my issue recurs with WebEPG disabled & no Internet.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    I did enable WebEPG
    Ah, WebEPG is a plugin that comes together with the TV package that we use as such. We (MP2 team) don't maintain the plugins that are deployed together with the TV part. The good news is that you don't really need it as there a re better solutions around, e.g. 'EPG Buddy'. A quick search should give you the reference to the respective English thread from where you can find the download link.

    I will mark this thread therefore as "No Bug".
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    I will mark this thread therefore as "No Bug".
    I just had the same experience where TV crashes the client app to desktop with the same crash dump as yours. I now set up the attached plugin version to collect more data if it happens again. However, I have TV now up since five hours and nothing happened.

    It could be useful if you also exchanged the dll and actively triggered the issue to create an error log with more data to follow up on.
     
    Last edited:
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R [solved] MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 5
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    Similar threads

























    Top Bottom