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
MediaPortal 1 Talk
Calling all MP New Zealanders (Both of you!!)
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="mm1352000" data-source="post: 1063487" data-attributes="member: 82144"><p>Excellent. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>So let's see...</p><p>Looks like the problem starts with a failed recording at 10:43 AM on the 13th. TV Server fails to stop the tuner:</p><p></p><p></p><p></p><p></p><p>What this shows is that one of the filters in the tuner graph failed to stop. This causes a deadlock very similar to the EPG grabber issue. If everything were working correctly we should see a "[scheduler thread] [INFO ] - debug: IMediaControl stopped! hr = 0x0 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />" entry after that "dvb<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />topGraph".</p><p></p><p>The filter that fails to stop is most likely to be one of the tuner or plugin filters. I'm afraid this is where I have to stop since this could be caused by the plugin (hopefully you know about <a href="https://forum.team-mediaportal.com/threads/mdapi-softcam-support-again.12620/" target="_blank">our policy</a>). If you could reproduce the problem without the plugin enabled then that would probably confirm the tuner filter is not stopping... however I take it that would be difficult given the required downtime on Sky channels for the rest of the family? I would suggest that it would be worth proactively pursuing a solution for this problem. WAF/FAF will quickly drop if TV Server can't timeshift or record reliably... and scheduled service restarts won't help with this. Once a deadlock hits, only a full system reboot will unlock the service.</p><p></p><p>I note that you appear to be pulling in EPG with the XMLTV plugin so I can't see how changing the refresh time for the DVB EPG grabber would make an iota of difference to this problem.</p><p></p><p></p><p>I have the impression you're looking in the wrong place. I think you're referring to:</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers/3_Scan_DVB-S" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers/3_Scan_DVB-S</a></p><p></p><p>I was referring to "allow this card to be used for EPG grabbing":</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers#Edit_Tuner_Settings" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers#Edit_Tuner_Settings</a></p><p></p><p>TV Server config hung because of this:</p><p>[collapse]</p><p>[2014-02-13 18:46:12,849] [Log ] [SetupTv ] [ERROR] - Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine</p><p>Server stack trace: </p><p> at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)</p><p> at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)</p><p> at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)</p><p> at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)</p><p> at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders()</p><p> at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)</p><p> at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)</p><p>Exception rethrown at [0]: </p><p> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)</p><p> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)</p><p> at TvControl.IController.SignalLevel(Int32 cardId)</p><p> at SetupTv.Sections.CardDvbS.UpdateStatus()</p><p> at SetupTv.Sections.CardDvbS.OnSectionActivated()</p><p> at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)[/collapse]</p><p></p><p>I suspect this may be related to the deadlock.</p><p></p><p></p><p>That's due to the deadlock.</p><p></p><p></p><p>Also due to the deadlock.</p><p></p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1063487, member: 82144"] Excellent. :) So let's see... Looks like the problem starts with a failed recording at 10:43 AM on the 13th. TV Server fails to stop the tuner: What this shows is that one of the filters in the tuner graph failed to stop. This causes a deadlock very similar to the EPG grabber issue. If everything were working correctly we should see a "[scheduler thread] [INFO ] - debug: IMediaControl stopped! hr = 0x0 :)" entry after that "dvb:confused:topGraph". The filter that fails to stop is most likely to be one of the tuner or plugin filters. I'm afraid this is where I have to stop since this could be caused by the plugin (hopefully you know about [URL='https://forum.team-mediaportal.com/threads/mdapi-softcam-support-again.12620/']our policy[/URL]). If you could reproduce the problem without the plugin enabled then that would probably confirm the tuner filter is not stopping... however I take it that would be difficult given the required downtime on Sky channels for the rest of the family? I would suggest that it would be worth proactively pursuing a solution for this problem. WAF/FAF will quickly drop if TV Server can't timeshift or record reliably... and scheduled service restarts won't help with this. Once a deadlock hits, only a full system reboot will unlock the service. I note that you appear to be pulling in EPG with the XMLTV plugin so I can't see how changing the refresh time for the DVB EPG grabber would make an iota of difference to this problem. I have the impression you're looking in the wrong place. I think you're referring to: [url]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers/3_Scan_DVB-S[/url] I was referring to "allow this card to be used for EPG grabbing": [url]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/141_Configuration/TV-Server_Configuration/02_TV_Servers#Edit_Tuner_Settings[/url] TV Server config hung because of this: [collapse] [2014-02-13 18:46:12,849] [Log ] [SetupTv ] [ERROR] - Exception :confused:ystem.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine Server stack trace: at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count) at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count) at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer) at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble() at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation) at System.Runtime.Remoting.Channels.Tcp.TcpClientSocketHandler.ReadHeaders() at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at TvControl.IController.SignalLevel(Int32 cardId) at SetupTv.Sections.CardDvbS.UpdateStatus() at SetupTv.Sections.CardDvbS.OnSectionActivated() at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)[/collapse] I suspect this may be related to the deadlock. That's due to the deadlock. Also due to the deadlock. mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Calling all MP New Zealanders (Both of you!!)
Contact us
RSS
Top
Bottom