TV Service crashes every 4 minutes (1 Viewer)

fstruijs

MP Donator
  • Premium Supporter
  • January 20, 2009
    26
    1
    Breda
    Home Country
    Netherlands Netherlands
    Hi,

    Since this week my Mediaportal setup has a problem. It runs fine and I can watch TV or listen to the radio, but after 3 or 4 minutes the TV service crashes.

    This al started 2 days ago. I fixed the problem by removing Microsoft Security essentials, but today the problem is back.

    This week Microsoft has rolled out a lot of updates, so i restored Windows 7 to a restore point from 5 days ago, but it didnt fix the problem.

    I have my loggings attached.

    Any help is appreciated!

    Kind regards,

    Frank
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    There is a problem with the MiniDisplay plugin (from error.log):

    2013-02-15 11:25:30.829034 [ERROR][MPMain(1)]: MiniDisplay:Error while loading driver C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\process\LCDDrivers\LCD2USB.dll: Unable to load DLL 'C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\process\LCDDrivers\LCD2USB.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    .....and from tvserver_tv log:

    2013-02-15 11:29:22.465034 [MiniDisplay(14)]: RemoteControl - Disconnected st : at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
    at System.Environment.get_StackTrace()
    at TvControl.RemoteControl.InvokeEvents()
    at TvControl.RemoteControl.RefreshRemotingConnectionStatus()
    at TvControl.RemoteControl.get_Instance()
    at TvControl.TvServer.<IsAnyCardRecording>b__4()
    at TvControl.WaitFor`1.Run(Func`1 function)
    at TvControl.TvServer.IsAnyCardRecording()
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
    at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
    at MediaPortal.ProcessPlugins.MiniDisplayPlugin.DynaInvoke.InvokeMethod(DynaClassInfo ci, String MethodName, Object[] args)
    at MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.IsCaptureCardRecording()
    at MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplayHelper.SetPluginIcons()
    at MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.DoWork()
    at MediaPortal.ProcessPlugins.MiniDisplayPlugin.MiniDisplay.Run()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
     
    Last edited:

    fstruijs

    MP Donator
  • Premium Supporter
  • January 20, 2009
    26
    1
    Breda
    Home Country
    Netherlands Netherlands
    Hi Owlsroost,

    Thanks for your reply, but the MiniDisplay plugin doesn't cause the TVService crash. I disabled it in Mediaportal setup, but the result is still the same.

    The tvservice even crashes when MP is not running. If I start the tvserver setup en start manual timeshifting, the tvservice stops after appr. 3 minutes and 45 seconds.

    However, when the tvservice is running and and don't watch tv or listen to radiostations (when there is no timeshifting), the tvservice keeps running.

    I moved the timeshifting directories to an other location, but tvservice still stops/crashes.

    I gathered some new loggings with Minidisplay disabled.

    Regards,
    Frank
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    It looks like you have database corruption (from tvserver_tv.log):

    2013-02-15 15:47:53.620455 [EPG Update thread(7)]: Tvservice stopped due to an unhandled app domain exception Error: StatementErrorUnclassified
    Gentle.Common.GentleException: delete from Program where idChannel = ?idChannel and endTime < '2013-02-14 15:47:53'; ---> MySql.Data.MySqlClient.MySqlException: Table 'program' is marked as crashed and should be repaired

    There are instructions somewhere on the forum for running a MySQL database repair.
     

    Users who are viewing this thread

    Top Bottom