Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
None
Description
<div><div>1) In TS EPG Grabber (doesn't handle exceptions)</div><div>private void UpdateDatabaseThread() <-- that will crash service if exception happens</div><div>Comes/used from Thread workerThread = new Thread(UpdateDatabaseThread);</div></div><div><br /></div><div><br /></div><div>2) "Unhandled timeout exception causes TV service to shut down" issue</div><div><pre class="brush: csharp;" name="code" style="background-color:#f7f7f7;border:1px solid #d7d7d7;padding:.5em 1em .5em 1em;">[2014-01-21 14:07:12,193] [Log ] [3 ] [INFO ] - Tvservice stopped due to an unhandled app domain exception System.NullReferenceException: Object reference not set to an instance of an object.
at MySql.Data.MySqlClient.MySqlCommand.TimeoutExpired(Object commandObject)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback()</pre><div>Probably timeout in MYSQL connection and looks like the connection would have been opened from some timer callback maybe IDLE EPG grabber?</div></div><p><br /></p>
at MySql.Data.MySqlClient.MySqlCommand.TimeoutExpired(Object commandObject)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback()</pre><div>Probably timeout in MYSQL connection and looks like the connection would have been opened from some timer callback maybe IDLE EPG grabber?</div></div><p><br /></p>