home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
TSWriter deadlock potential fix.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DJBlu" data-source="post: 946604" data-attributes="member: 54957"><p>Hi,</p><p></p><p>This thread has been opened so we can get to the root of the problem so we can introduce the fix.</p><p></p><p>The following TSWriter is for 1.3.0 Beta.</p><p></p><p>To use and test.</p><p></p><p>Stop TV Server.</p><p>Make a backup of your original TSWriter.ax</p><p>Download the attached TSWriter.zip and extract the file to [%Program Files%]/Team MediaPortal/TV Server/</p><p>Start the TV Server.</p><p>Wait till/if the error occurs again.</p><p>Upload your TV.log and TSWriter.log to this thread.</p><p></p><p>The more logs we get the better.</p><p></p><p>TSWriter.ax</p><p></p><p>v1 Initial Test [FILE DELETED: superseded]</p><p>v2 Loop catcher in EPG Decoder sub. [FILE DELETED: superseded]</p><p>v3 Additional locks to make the TSWriter thread safe. [FILE DELETED: superseded]</p><p>v4 Edited out commented line in EPG Decoder which was setting m_bParseEPG=false. Changed the CRC32 value storage from int to DWORD. Checked all locks to ensure they should be there. [FILE DELETED: superseded]</p><p>v5 Diskrecorder wasn't updating continuity counter on a stream if it became encrypted/corrupt. [FILE DELETED: superseded]</p><p>v6 Removed v5 changes, removed an autolock in the filter interface. [FILE DELETED: superseded]</p><p>v7 Removed cascaded Autolock in GetTSChannel from TSWriter. [FILE DELETED: superseded]</p><p>v8 Added Critical Section lock to Audio Video Analyzer. [FILE DELETED: superseded]</p><p>v9 Added Critical Section lock to PMT grabber.</p><p>v10 Removed 2 Autolocks from AddChannel/RemoveChannel from TSChannel</p><p>v11 Added further locks</p><p>v12 Added EPG grabber abort when all channels are deleted.</p><p>MPFileWriter.ax</p><p>v13 Added extra logging in EPG Decoder to trap deadlock.</p><p></p><p>v1 Removed Autolock from filter interface. [FILE DELETED: superseded]</p><p>v2 Removed potential Autolock cascade</p><p></p><p><strong>EDIT:</strong> Patched installer files for MP 1.5.0 Pre-release are here - <a href="https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-24#post-1027981" target="_blank">https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-24#post-1027981</a></p><p></p><p><strong>EDIT:</strong> Patch files for MP 1.5.0 Final are here - <a href="https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-26#post-1030415" target="_blank">https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-26#post-1030415</a></p></blockquote><p></p>
[QUOTE="DJBlu, post: 946604, member: 54957"] Hi, This thread has been opened so we can get to the root of the problem so we can introduce the fix. The following TSWriter is for 1.3.0 Beta. To use and test. Stop TV Server. Make a backup of your original TSWriter.ax Download the attached TSWriter.zip and extract the file to [%Program Files%]/Team MediaPortal/TV Server/ Start the TV Server. Wait till/if the error occurs again. Upload your TV.log and TSWriter.log to this thread. The more logs we get the better. TSWriter.ax v1 Initial Test [FILE DELETED: superseded] v2 Loop catcher in EPG Decoder sub. [FILE DELETED: superseded] v3 Additional locks to make the TSWriter thread safe. [FILE DELETED: superseded] v4 Edited out commented line in EPG Decoder which was setting m_bParseEPG=false. Changed the CRC32 value storage from int to DWORD. Checked all locks to ensure they should be there. [FILE DELETED: superseded] v5 Diskrecorder wasn't updating continuity counter on a stream if it became encrypted/corrupt. [FILE DELETED: superseded] v6 Removed v5 changes, removed an autolock in the filter interface. [FILE DELETED: superseded] v7 Removed cascaded Autolock in GetTSChannel from TSWriter. [FILE DELETED: superseded] v8 Added Critical Section lock to Audio Video Analyzer. [FILE DELETED: superseded] v9 Added Critical Section lock to PMT grabber. v10 Removed 2 Autolocks from AddChannel/RemoveChannel from TSChannel v11 Added further locks v12 Added EPG grabber abort when all channels are deleted. MPFileWriter.ax v13 Added extra logging in EPG Decoder to trap deadlock. v1 Removed Autolock from filter interface. [FILE DELETED: superseded] v2 Removed potential Autolock cascade [B]EDIT:[/B] Patched installer files for MP 1.5.0 Pre-release are here - [url]https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-24#post-1027981[/url] [B]EDIT:[/B] Patch files for MP 1.5.0 Final are here - [url]https://forum.team-mediaportal.com/threads/tswriter-deadlock-potential-fix.114898/page-26#post-1030415[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
TSWriter deadlock potential fix.
Contact us
RSS
Top
Bottom