DVB-T EPG grabber blocks tuners, TV Server will not be able to use them again

Discussion in '1.3.x' started by igalan, May 15, 2013.

  1. igalan
    • Team MediaPortal

    igalan Retired Team Member

    Joined:
    June 30, 2005
    Messages:
    406
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    IT
    Location:
    Barcelona
    Ratings:
    +11 / 0
    Home Country:
    Spain Spain
    Show System Specs
    MediaPortal Version: 1.3.0

    Description
    I have to manually kill the TV service almost every day (stopping it from TV server configuration or services doesn't work); before version 1.3.0 it lasted several weeks with no issues. I'm pretty sure this is all related to EPG because if I completely disable it, the problem goes away.

    I have deselected the option to grab EPG only for selected channels (I always left it unchecked); then I have enabled only the channels that actually provide data (usually for several other channels as well). Grabbing while idle is enabled, as it's the only way to get the data, besides watching every channel until it has time to grab it -> not a solution. WebEPG is not ideal, several channels have no reliable source. I've disabled EPG for radio channels, as I don't use it for radio.

    Other EPG parameters I'm using:
    • Always try to fill holes is disabled
    • Enable CRC check is enabled (in case it improves stability)
    • Grab EPG only for channels on same transponder is disabled
    • Always try to update existing entries is enabled
    • EPG grabbing while timeshifting / recording enabled, timeout 2 minutes (no clue what values should work best)
    • EPG grabbing while idle enabled, timeout 6 minutes (no clue what values should work best), refresh every 360 minutes (update every 6 hours)

    Here I'm posting a log when this happens. The TV Server configuration was showing the two DVB-T tuners as available. Description of the test:
    1. Launch the TV Server configuration and verify that the two DVB-T tuners are free.
    2. Launch Media Portal and record one channel.
    3. Go to the TV Server configuration and check that one tuner is recording and the other is available.
    4. Start timeshiftting another channel. This fails with the message that there are no available tuners (presumably one is locked by EPG).
    5. I try to stop the TV service, but this also fails.
    6. I finally kill the TV service with the task manager.

    BTW, language ids are duplicated a lot of times. I enable Spanish and Catalan, and in the database I can see like spa,spa,spa,spa,spa,spa,spa,cat,cat,cat.

    Steps to Reproduce:
    1.- Enable EPG while idle.
    2.- Wait a couple of days.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Thanks for reporting here. (y)

    So first, the issue could be that you've enabled the CRC checking. That can cause problems.
    If you disable the CRC checking, does it solve the problem?

    Second, what I saw in the log files was the typical TsWriter deadlock after grabbing for channel "Canal Catala Barcelona".
    http://mantis.team-mediaportal.com/view.php?id=3947
    If you disable grabbing for that channel, does it solve the problem?

    If the second option solves the problem, I will ask you to provide a TS dump for that channel so that we can examine the EPG content.
    http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Debugging/TS_Dumps

    mm
     
    • Like Like x 1
  4. igalan
    • Team MediaPortal

    igalan Retired Team Member

    Joined:
    June 30, 2005
    Messages:
    406
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    IT
    Location:
    Barcelona
    Ratings:
    +11 / 0
    Home Country:
    Spain Spain
    Show System Specs
    Thanks for the help!

    I will disable CRC and EPG for Canal Català and see if it makes a difference. After that I'll need a few days to verify whether the problem is solved or not. If Canal Català does trigger the deadlock I'll post the TS dump.
     
    • Like Like x 1
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Thanks! (y)
    I'm a bit worried that the error is dependent on the content of the EPG. If that is the case, the error could go away after a few days.
    In other words, error might be caused by one description for a program on Friday 17 May. By the time you have checked CRC, that content will not be in the stream anymore.

    So, if it is possible could you please grab the TS dump today?
    Then at least we have a "snapshot" of the EPG content, just in case the problem goes away... and this will allow us to reproduce later.
    Don't worry about uploading until after you've tested CRC etc. :)

    PS: make sure to do the TS dump for at least one minute. The file will be large, but we need to make sure that we get all the EPG content.
     
  6. igalan
    • Team MediaPortal

    igalan Retired Team Member

    Joined:
    June 30, 2005
    Messages:
    406
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    IT
    Location:
    Barcelona
    Ratings:
    +11 / 0
    Home Country:
    Spain Spain
    Show System Specs
    I'm sending the file now, it's called "SPAIN_CANALCATALA_690000_T_CANALCATALABARCELONA_FTA".

    There's about a minute and a half of dump. Please tell me if this dump helps, otherwise I can do another.

    Thank you.
     
    • Like Like x 1
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
    Hello again

    I'm analysing the dump file now, but it seems to be okay.
    Do you still have the TsWriter log file to go with the original logs?
    It would be very helpful if you could supply it...

    mm
     
  8. igalan
    • Team MediaPortal

    igalan Retired Team Member

    Joined:
    June 30, 2005
    Messages:
    406
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    IT
    Location:
    Barcelona
    Ratings:
    +11 / 0
    Home Country:
    Spain Spain
    Show System Specs
    I'll check when I'm back home.
     
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,499
    Likes Received:
    4,712
    Ratings:
    +8,176 / 17
    Home Country:
    New Zealand New Zealand
  10. igalan
    • Team MediaPortal

    igalan Retired Team Member

    Joined:
    June 30, 2005
    Messages:
    406
    Likes Received:
    10
    Gender:
    Male
    Occupation:
    IT
    Location:
    Barcelona
    Ratings:
    +11 / 0
    Home Country:
    Spain Spain
    Show System Specs
    Here are the ones since May 1st, hope it helps. I can do another TS dump if that can help.
     

    Attached Files:

    • TsWriter.zip
      File size:
      171.1 KB
      Uploaded:
      May 16, 2013
      Views:
      165
  11. Requiem
    • Premium Supporter

    Requiem MP Donator

    Joined:
    January 1, 2012
    Messages:
    584
    Likes Received:
    80
    Gender:
    Male
    Ratings:
    +173 / 2
    Home Country:
    Germany Germany
    Show System Specs
    As I was having the same error and switched to WebEPG as a workaround, I'd like to contribute...I'll reenaable the settings and try to reproduce the error now. As I have a multiseat setup, I presume you'll need the TV servers logs only or also the clients logs when this happens`?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!