Testing Channels/Live TV is not working after waiting a few hours without using Serve (1 Viewer)

Meier

Portal Pro
November 1, 2006
242
30
Home Country
Germany Germany
MediaPortal Version: 1.2.1
1. TV Card: Hauppauge Nova S Plus
1. TV Card Type:
1. TV Card Driver:
2. TV Card: Hauppauge 4400
2. TV Card Type:
2. TV Card Driver:


Hello everybody.

Since a few days I have an really interesting Problem with my TV-Server - a complete reinstallation of the MP-TV-Server didn't help:

When I start the server completely new and try to Test a Channel with the TV-Server-Console (under Manual Control) everything is working without a problem - also all Clients are working and both cards can be used without an error. If i now shutdown all clients and wait 2-3hours and then start a Channel Test (under Manual Control) the Console crashes and live TV from a Client is also not working - I then have to restart the TV-Service (which only can be done by either rebooting the complete Server or killing the TVService.exe using the Taskmanager - its not possible to restart the TV-Service by just activation "restart" in the "Services Console") after that everything is working fine again :(

Attached are the logs before the "restart" of TV-Service and after.

Any help would be awesome :)
 

Attachments

  • log-after restart.zip
    91.8 KB
  • log-before restart.zip
    101 KB

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Re: Testing Channels/Live TV is not working after waiting a few hours without using S

    Hi Meier

    The issue is with TsWriter - a deadlock probably caused by the EPG grabber. It is the same problem as discussed -->here<--.

    mm
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    AW: Testing Channels/Live TV is not working after waiting a few hours without using S

    Ah thanks a lot - i found the other thread yesterday but was not sure if its the same problem and didn't want to mix two problems... :)
     

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Home Country
    Germany Germany
    AW: Testing Channels/Live TV is not working after waiting a few hours without using S

    Hey, that sounds promissing. I was having that problem I think ever since I use MP, though it does not appear every time I leave the HTPC for some minutes being idle (tv), but it happens quite often. Pretty annoying if a recordings fails because of that. I will try that and lookmwhat happens.
    So I only need to turn of CRC-check, right? Idle grabbing is OK?
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    AW: Testing Channels/Live TV is not working after waiting a few hours without using S

    The idea (i think) is that just disabling CRC-Check helps and Idle-grabbing is ok - for me it worked fine :)
     

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Home Country
    Germany Germany
    Re: Testing Channels/Live TV is not working after waiting a few hours without using S

    I tested it and deactivating CRC-check didn't do it. Still the same fault - it even felt like tv wouldn't work every time you waited a little longer.
    So I also deactivated the idle-grabbing and that did it! Now I have the system running since five days without reboot and without the need to restart tvservice or MP.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Re: Testing Channels/Live TV is not working after waiting a few hours without using S

    Hi MrCrabs

    While I'm glad you managed to find a workaround for you, would you mind posting your TV Server logs so that I can take a look and see what was going on?

    mm
     

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Home Country
    Germany Germany
    Re: Testing Channels/Live TV is not working after waiting a few hours without using S

    Sure I can. Give me some time and I'll deliver them.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Usa
    Home Country
    Ethiopia Ethiopia
    Re: Testing Channels/Live TV is not working after waiting a few hours without using S

    tvservice in its current state is not thread safe.
    so this most likely is the reason you are seeing this issue.

    I already did major reworks for this in its own branch.
    In fact I'm pretty sure I fixed these issues already as our internal tester 'FreakyJ' reported similar EPG issues.

    What I mean is.. there's no reason in wasting time on debugging this as it's been done already.

    /gibman
     

    Meier

    Portal Pro
    November 1, 2006
    242
    30
    Home Country
    Germany Germany
    AW: Testing Channels/Live TV is not working after waiting a few hours without using S

    So it will be fixed in the next version?
     

    Users who are viewing this thread

    Top Bottom