****************
Note to all users:
We need help with regression testing for this patch. This means we want to make sure it doesn't introduce any problems for normal every-day use.
Even if you do not have bad signal problems, it will still help us immensely if you could test it on your system and report back (positive feedback is as important as problem reports)
Many thanks
****************
Hi all,
I've created a patch which I hope will fix the problem of tv service crashing when there is a bad incoming signal from the tuner. A bad signal can be caused by a thunderstorm, heavy rain/snow or it could just be weak in the area that you live in.
The crash is caused when the incoming TV packets are corrupted in some way. TSWriter can't always deal with this and so access violations and buffer overruns can occur. (A buffer overrun means that the program has overwritten memory that is wasn't supposed to. This will usually lead to a hard crash)
This patch introduces checks at the key areas where the crash can occur and should hopefully prevent it from happening.
I'm looking for anyone who might be able to help with testing. I've introduced artificial corruption on my system (by deliberately overwriting the incoming data in random places), but I haven't been able to test with a 'genuine' bad signal. If anyone has any channels with a weak signal that can trigger this crash, then it'd be a big help if you could test the attached binary to see if it improves stability.
At the moment this patch is mainly intended to improve the stability of timeshifting and recording. There may still be some stability problems in EPG grabbing, although this patch should still help.
* Note that this is not a magic cure for a bad signal. A bad signal simply cannot be fixed so there will still be picture and sound problems.
To install:
Download the appropriate version of tswriter.zip
Stop tv service
Navigate to: "C:\Program Files\Team MediaPortal\MediaPortal TV Server\" (if you have 64bit windows, this will be "program files (x86)")
Rename the file "tswriter.ax" to "tswriter-old.ax"
Copy the patched version of this file to this folder.
Start tv service
26 June 2011 18:42 - Fixed issue which was causing packet/section parsing to fail in some places
Note to all users:
We need help with regression testing for this patch. This means we want to make sure it doesn't introduce any problems for normal every-day use.
Even if you do not have bad signal problems, it will still help us immensely if you could test it on your system and report back (positive feedback is as important as problem reports)
Many thanks
****************
Hi all,
I've created a patch which I hope will fix the problem of tv service crashing when there is a bad incoming signal from the tuner. A bad signal can be caused by a thunderstorm, heavy rain/snow or it could just be weak in the area that you live in.
The crash is caused when the incoming TV packets are corrupted in some way. TSWriter can't always deal with this and so access violations and buffer overruns can occur. (A buffer overrun means that the program has overwritten memory that is wasn't supposed to. This will usually lead to a hard crash)
This patch introduces checks at the key areas where the crash can occur and should hopefully prevent it from happening.
I'm looking for anyone who might be able to help with testing. I've introduced artificial corruption on my system (by deliberately overwriting the incoming data in random places), but I haven't been able to test with a 'genuine' bad signal. If anyone has any channels with a weak signal that can trigger this crash, then it'd be a big help if you could test the attached binary to see if it improves stability.
At the moment this patch is mainly intended to improve the stability of timeshifting and recording. There may still be some stability problems in EPG grabbing, although this patch should still help.
* Note that this is not a magic cure for a bad signal. A bad signal simply cannot be fixed so there will still be picture and sound problems.
To install:
Download the appropriate version of tswriter.zip
Stop tv service
Navigate to: "C:\Program Files\Team MediaPortal\MediaPortal TV Server\" (if you have 64bit windows, this will be "program files (x86)")
Rename the file "tswriter.ax" to "tswriter-old.ax"
Copy the patched version of this file to this folder.
Start tv service
26 June 2011 18:42 - Fixed issue which was causing packet/section parsing to fail in some places