Timeshifting crashes TSWRITER.ax (1 Viewer)

SciDoctor

Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Tested on vista32, xp and w2ksp4 with the same problem. SVN 16369.
    Happens with subs on or off with tsreader also

    I can record with no problem and also watch while recording but if i try to timeshift live then tswriter.ax crashes the TVSERVICE.

    2007-10-27 18:38:46.937500 [14]: Tvservice stopped due to a app domain exception System.ArgumentNullException: Value cannot be null.
    Parameter name: collection
    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at TvLibrary.TimeShiftingEPGGrabber.OnEpgReceived()
    2007-10-27 18:38:51.984375 [10]: user:sk43g heartbeat received
    2007-10-27 18:39:26.421875 [5]: Controller: Heartbeat Monitor (30+ sec. max idletime allowed)- kicking idle user
    sk43g
    2007-10-27 18:39:26.609375 [6]: user:sk43g heartbeat received
    2007-10-27 18:39:26.656250 [5]: Controller: StopTimeShifting 1
    2007-10-27 18:39:26.718750 [5]: card: StopTimeShifting user:sk43g sub:0
    2007-10-27 18:39:26.734375 [5]: user:sk43g remove
    2007-10-27 18:39:26.734375 [5]: Stopcard
    2007-10-27 18:39:26.750000 [5]: dvb:FreeSubChannel:1 #0
    2007-10-27 18:39:26.750000 [5]: subch:0 Decompose()
    2007-10-27 18:39:26.750000 [5]: subch:0 StopTimeshifting()
    2007-10-27 18:43:36.031250 [1]: Exception in setuptv
    2007-10-27 18:43:36.031250 [1]: System.Threading.ThreadExceptionEventArgs


    Full logs attached.
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Yep. DVB-t EPG grab is causing the problem somewhere.

    With only 'EPG grab while idle' enabled there still is a crash but no logs produced to show an error.

    Only disabling all EPG DVB-t grabing allows a trouble free experience.

    Tested on vista32, Xpsp3 and w2ksp4.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Yep. DVB-t EPG grab is causing the problem somewhere.

    With only 'EPG grab while idle' enabled there still is a crash but no logs produced to show an error.

    Only disabling all EPG DVB-t grabing allows a trouble free experience.

    Tested on vista32, Xpsp3 and w2ksp4.

    Thanks for testing. I hope gemx could have a look on this as he knows how the EPG grabbing works.
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Latest SVN 16435 still has the same problem. TSWriter.ax crashes when timeshifitng is enabled with either of the DVB-T EPG graboptions set 'on' in the management console.

    Recording and DVB-T EPG grab are fine on their own or combined.

    This may point to the client being the problem or the Heartbeat monitor?
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    If a DEV is following this bug thread then the following may be of some help.

    The log files have shown this error during the TSwriter crash

    2007-11-05 20:05:43.453125 [4]: user:sk43g heartbeat received
    2007-11-05 20:05:47.546875 [15]: Tvservice stopped due to a app domain exception System.ArgumentNullException: Value cannot be null.
    Parameter name: collection
    at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at TvLibrary.TimeShiftingEPGGrabber.OnEpgReceived()
    2007-11-05 20:05:48.500000 [4]: user:sk43g heartbeat received

    If you look through the rest of the logs the error isn't occuring everytime the EPG grabs so something specific must be happening on these occasions.

    If i can tetst any further debugging code let me know.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Will have a look at it tomorrow morning :)
     

    lkuech

    Retired Team Member
  • Premium Supporter
  • February 16, 2007
    576
    83
    50
    Hamburg
    Home Country
    Germany Germany
    Hi gemx. Good to see that you are working on this topic :)

    It seems to be related to the "grab epg while timeshifting" function. At least here on my side where I discovered something similar (not really sure if my logs show the same... will check ;)).

    Some time ago this function works pretty well, but since we where able to fix some major bugs with the tswriter this functions seems to be a bit less reliable. I hope you are able to find something.

    Bye
    Lars
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Should be fixed in rev 16455 :)
     

    Users who are viewing this thread

    Top Bottom