TSWriter deadlock potential fix. (6 Viewers)

SciDoctor

Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Managed to get two of the four tuners locked and unresponsive after they had recordings/timeshifting on them, I could see from the MP GUI two streams still showing active when there shouldn't be, setuptv did open at this point and I managed a screen shot.

    MP and tvserver became unresponsive at this point requiring a hard reboot; neither could I stop tvservice or kill tvservice.
    locked tuners.JPG

    Streams on card 14 and 15 do not exist.

    Logs attached if this helps.
     
    Last edited:

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Some further stress testing to seek out problems and if you look at the subchannel numbering in this

    Subchannels wrong on tuner 15..JPG
    On tuner 15 there is a mix of '11' and '10'; they should just be '11'.

    There is also a failed stream on tuner 15 shown as idle, this tends to lead to the tuner being locked and crahing the service.

    33 streams.JPG

    Even though I have 36 streams active the GUI only shows 33
     
    Last edited:

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Hi,

    tvserver hangs an other time. Here are two screenshoots.

    1. Excaption: Got I by trying to open tvsetup
    2. OS Errormessage that tvserver service could't be stopped by net stop

    I had to kill tvserver again and could restart it with net start
     

    Attachments

    • ScreenHunter_62.jpg
      ScreenHunter_62.jpg
      44.7 KB
    • ScreenHunter_63.jpg
      ScreenHunter_63.jpg
      41.6 KB

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Have a look to the timespamp. Meanwhile the server crahed and rebooted and I do not know why. TVsetup was open...
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    SciDoctor ramu

    Hi guys.

    I have just uploaded a new version of MPFileWriter.ax on page 1 which I believe is causing issues with deadlocks. Can you try MPFileWriter.ax(v1) with TSWriter.ax(v6)

    Can you test these new files and report back in this thread.

    Thanks.
     
    Last edited:

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    It maybe yes.

    Give the files from the first page a go. If it works then let me know.

    Thanks.
     

    mylle

    Portal Pro
    April 14, 2005
    574
    66
    Denmark
    Home Country
    Denmark Denmark
    Just tried V6 and did a stresstest. Noticed that average msec went up from around 800ms to 1200ms :(
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Passed the stress loading of tuners; recordings plus timeshift epg without issues, then a couple of hours of standard use timeshifting and random channel changes stop/start buffers etc and didn't get any problems (random BSOD) .
    Using MPFileWriter.ax(v1) with TSWriter.ax(v6)

    active recordings1.JPG setuptv new stress test.JPG

    The PC returned from sleep this morning so tvservice is still responsive and will continue testing .

    Looks good so far.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom