System.NullReferenceException TvControl.IController.get_Cards (1 Viewer)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    For me it doesn't look like a problem with the patch, can you also upload the other log files?
    And thanks for the time stamps ;)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    I think I have seen this problem before. Refer to the comments starting here:
    https://forum.team-mediaportal.com/...ock-potential-fix.114898/page-29#post-1033905

    The graph does not run.
    [collapse]
    12-11-2013 20:10:32.668 analyzer: reset
    12-11-2013 20:10:32.668 PatParser::Reset
    12-11-2013 20:10:32.684 NIT:Reset
    12-11-2013 20:10:32.684 PatParser::Reset done
    12-11-2013 20:10:32.684 cagrabber: reset
    12-11-2013 20:10:32.700 epg: reset
    12-11-2013 20:10:32.715 epg:ResetEPG()
    12-11-2013 20:10:32.715 mhw reset
    12-11-2013 20:10:32.731 CMpTsFilter::pause()[/collapse]

    [collapse]
    [2013-11-12 20:10:32,575] [Log ] [7 ] [INFO ] - Controller: StartTimeShifting TV3 22
    [2013-11-12 20:10:32,575] [Log ] [7 ] [INFO ] - Controller: epg stop
    [2013-11-12 20:10:32,575] [Log ] [7 ] [INFO ] - Controller: find free card for channel TV3
    [2013-11-12 20:10:32,575] [Log ] [7 ] [INFO ] - Controller: find card for channel TV3
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: got 1 tuning details for TV3
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: channel #1 DVBT:tv:Viasat AB TV3 LINKÖPING Freq:474000 ONID:8945 TSID:1110 SID:3110 PMT:0xC26 FTA:False LCN:3 BandWidth:8
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: card:2 type:DvbIP cannot tune to channel
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: card:3 type:Analog is disabled
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: card:4 type:DvbT can tune to channel
    [2013-11-12 20:10:32,590] [Log ] [7 ] [INFO ] - Controller: card:5 type:DvbC is disabled
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:6 type:DvbC is disabled
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:7 type:DvbT channel not mapped
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:8 type:DvbT channel not mapped
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:9 type:DvbT is disabled
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:10 type:DvbT is disabled
    [2013-11-12 20:10:32,606] [Log ] [7 ] [INFO ] - Controller: card:11 type:DvbT can tune to channel
    [2013-11-12 20:10:32,622] [Log ] [7 ] [INFO ] - Controller: found 2 card(s) for channel
    [2013-11-12 20:10:32,622] [Log ] [7 ] [INFO ] - AdvancedCardAllocation.GetAvailableCardsForChannel took 36 msec
    [2013-11-12 20:10:32,622] [Log ] [7 ] [INFO ] - Controller: found 2 free card(s)
    [2013-11-12 20:10:32,622] [Log ] [7 ] [INFO ] - AdvancedCardAllocation.GetFreeCardsForChannel took 42 msec
    [2013-11-12 20:10:32,622] [Log ] [7 ] [DEBUG] - CardReservationBase.RequestCardTuneReservation: placed reservation with id=66, tuningdetails=DVBT:tv:Viasat AB TV3 LINKÖPING Freq:474000 ONID:8945 TSID:1110 SID:3110 PMT:0xC26 FTA:False LCN:3 BandWidth:8
    [2013-11-12 20:10:32,622] [Log ] [7 ] [DEBUG] - CardReservationBase.RequestCardTuneReservation: placed reservation with id=67, tuningdetails=DVBT:tv:Viasat AB TV3 LINKÖPING Freq:474000 ONID:8945 TSID:1110 SID:3110 PMT:0xC26 FTA:False LCN:3 BandWidth:8
    [2013-11-12 20:10:32,622] [Log ] [7 ] [INFO ] - Controller: card:11 type:DvbT users: 0
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - Controller: card:11 type:DvbT is available
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - Controller: card:4 type:DvbT users: 0
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - Controller: card:4 type:DvbT is available
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - Controller: try max 2 of 2 cards for timeshifting
    [2013-11-12 20:10:32,637] [Log ] [7 ] [DEBUG] - CardReservationBase: tvcard=11, user=setuptv-22--1, dbChannel=22, ticket=66, tunestate=Tuning, stopstate=Idle
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - card: CardTune 11 TV3 LINKÖPING setuptv-22--1:11:-1
    [2013-11-12 20:10:32,637] [Log ] [7 ] [INFO ] - card: Tune on card 11 to subchannel TV3 LINKÖPING
    [2013-11-12 20:10:32,653] [Log ] [7 ] [DEBUG] - card: user: setuptv-22--1:11:-1 tune DVBT:tv:Viasat AB TV3 LINKÖPING Freq:474000 ONID:8945 TSID:1110 SID:3110 PMT:0xC26 FTA:False LCN:3 BandWidth:8
    [2013-11-12 20:10:32,653] [Log ] [7 ] [DEBUG] - TimeShifter.OnBeforeTune: resetting audio/video events
    [2013-11-12 20:10:32,653] [Log ] [7 ] [INFO ] - dvbt: Tune:DVBT:tv:Viasat AB TV3 LINKÖPING Freq:474000 ONID:8945 TSID:1110 SID:3110 PMT:0xC26 FTA:False LCN:3 BandWidth:8
    [2013-11-12 20:10:32,653] [Log ] [7 ] [INFO ] - dvb:confused:ubmiting tunerequest Channel:TV3 LINKÖPING subChannel:-1
    [2013-11-12 20:10:32,668] [Log ] [7 ] [INFO ] - dvb:Getting new subchannel
    [2013-11-12 20:10:32,668] [Log ] [7 ] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2013-11-12 20:10:32,700] [Log ] [7 ] [INFO ] - TvDvbChannel ctor new subchIndex:0
    [2013-11-12 20:10:32,700] [Log ] [7 ] [INFO ] - card: AddTuneEvent card: 11 / subch: 0
    [2013-11-12 20:10:32,700] [Log ] [7 ] [INFO ] - dvb:confused:ubmit tunerequest size:1 new:0
    [2013-11-12 20:10:32,700] [Log ] [7 ] [INFO ] - subch:0 OnBeforeTune
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - dvb:confused:ubmit tunerequest calling put_TuneRequest
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - dvb:confused:ubmit tunerequest done calling put_TuneRequest
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - subch:0 OnAfterTune
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - RunGraph
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - subch:0 OnGraphStart
    [2013-11-12 20:10:32,731] [Log ] [7 ] [INFO ] - dvb: RunGraph
    [/collapse]

    With this TsWriter we can't see whether TsWriter deadlocks in pause (extremely unlikely). I think this is related to TBS tuners, same as with @mcraenz. Hmmm...
     

    J-B-N

    Portal Pro
    December 29, 2005
    196
    20
    Sweden
    Home Country
    Sweden Sweden
    I think I have seen this problem before. Refer to the comments starting here:
    https://forum.team-mediaportal.com/...ock-potential-fix.114898/page-29#post-1033905

    With this TsWriter we can't see whether TsWriter deadlocks in pause (extremely unlikely). I think this is related to TBS tuners, same as with @mcraenz. Hmmm...
    Hmm, yes you might be correct... there might be something fishy going on with the TBS-drivers.

    Is there anything I can do test more? Try the TSWriter from https://forum.team-mediaportal.com/...ock-potential-fix.114898/page-26#post-1030415 ?

    I guess I must use the modified TBS tv-server since my problem seem to occur when using the CAM.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    The TsWriter from there probably won't solve the problem, but it might help to debug because it has more useful logging for checking these kinds of problems. I was hoping @mcraenz might give us an update on whether he has seen the issue again.

    I guess I must use the modified TBS tv-server since my problem seem to occur when using the CAM.
    If your problems only occur when using the CI/CAM... well that is something to report to TBS. If you're able, I think it would be good to prove this by testing with the standard version of TV Server (so CI is not used or even touched) for a few days and see if the problem persists. Otherwise I can only suggest as I did to mcraenz: make sure your EPG grabbing and tuning detail configuration is correct to avoid stressing the tuner with continuous tune requests (might be an overheating problem).
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom