TSWriter deadlock potential fix. (16 Viewers)

Hello

have now been updated with the version V12 and V2 as follows:

Client A, Frequenz A ok
Client B, Frequenz B ok

Client A, frequenz A and the client B switches to Freqenz A streaming client A is interrupted.

The TV Cam Server Menu: This card can decode 1 channels simultraneously. is selected.
 

Attachments

  • error.zip
    325.4 KB
Last edited:
I am busy at work at the minute but will be moving back onto this when I have a little more time.

Should be in the next week or so.

Thanks.
 
Howdy,

I have just uploaded a version 13 to page 1.

Can you install version 1.3.0 Beta and then copy the v13 tswriter to the tv server directory.

Enable EPG grabbing when idle and stress test.

It will probably fail however there is extra logging that will give me pointers to where it is failing.
 
Hi DJBlu

Just to be certain of what this work you have been doing actually fixes.

  1. EPG whilst idle grabbing
  2. Freeing locked card due to epg being grabbed.
Only asking as just changed back to TVServer from FTR\Argus, and with EPG when idle enabled, I'm getting some really bad side effects, so before I make another thread about this, just thought I would ask to clarify.

Thanks
 
It is number 2 in your list that I am fixing. Well it's a deadlock in the TS Writer which we suspect is caused by the Idle EPG grabber.
 
Cheers for clarifying, looks like idle epg grab needs someone to look at it :(

I am looking at all the code as there are unsafe areas in the SetupTV. Really bad code that isn't thread safe.

There are no checks to see if the main thread has been terminated, i.e. when scanning channels, scanning epg. The background threads then try updating controls and it causes errors. Probably hasn't been an issue as most people leave SetupTV open.
 
Hi,

here are the results. After several hours tv client didn't react anymore. Opening tv program shows the attached screens. See also tv.log for more informations.

ramu
 

Attachments

  • ScreenHunter_115.jpg
    ScreenHunter_115.jpg
    69.2 KB
  • ScreenHunter_116.jpg
    ScreenHunter_116.jpg
    60.2 KB
Hi guys,

I have finished the stuff I had to do with work and am working on this problem again.

I have managed to get the Sub channel error and I can test my self now. I will upload the files when I manage to fix it.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom