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

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    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

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    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,593
    7,055
    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

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    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

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    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

    Similar threads
    OP Title Forum Replies Date
    M MP2 - V2.3 MP2 & USB Problems Submit: Bug Reports 5
    L MP2 - V2.3 Troubles upgrading from MP2 2.2.3 to 2.3 General 0
    T MP2 - V2.3 MP2 x64 won't run Submit: Bug Reports 5
    J Copying Old VHS tapes Newcomers Forum 8
    W MP2 - V2.3 MP2 2.3 Import von Audioquellen / Datenbankprobleme Allgemeines Support- und Diskussionsforum 26
    G MP2 - V2.3 New install and crashing MP2-2.3 General 6
    S MP2 - V2.3 MP2 No video General 6
    W MP2 - V2.3 MP2 Server stürzt immer nach kurzer Zeit ab Allgemeines Support- und Diskussionsforum 50
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 6
    Grisu002 MP2 - V2.3 MP2 2.3 Client startet nicht - bleibt beim Laden hängen Allgemeines Support- und Diskussionsforum 61
    M [solved] MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 2
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 12
    da3dsoul Does MP2 not have any active devs? General 8
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    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 72
    F Problems with new install of MP2 Newcomers Forum 3

    Similar threads

    Top Bottom