Re: HTPCInfo plugin for MediaPortal v1.0.7
Hi Micropolis.
HTPC Info plugin maybe have some problems in Mepo:
Look at this htread:
https://forum.team-mediaportal.com/my-tvseries-162/repeated-crash-91472/
I fixed the crashing by disabling your plugin.
I do not know if this is caused by a Windows 7 Update or a StreamedMP skin update! Have not touched my setup except Windows updates and StreamedMP update.
UPDATE! The crash is not caused by HTPCinfo, but seems to be the Infoservice plugin!
But can anyone tell me, why I get these other errors in my logs?
The logs gives the following errors:
2010-12-28 21:20:01.364625 [ERROR][MPMain(1)]: HTPC Info: Frequency Performance Counter Initialization Error. (Error Code: System.InvalidOperationException: Category does not exist.
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at HTPCInfoPlugin.HTPCInfo.InitPerformanceCounters(), Category does not exist.)
2010-12-28 21:20:01.786500 [ERROR][MPMain(1)]: HTPC Info: Speedfan Shared Memory Initialization Error. (Error Code: HTPCInfo.Core.SharedMemoryException: Error accessing shared memory area. (2)
at HTPCInfo.Core.SpeedfanSharedMemory..ctor()
at HTPCInfo.Core.SpeedfanConnector..ctor(Boolean filterZeroValues)
at HTPCInfo.Core.SpeedfanConnector..ctor()
at HTPCInfoPlugin.HTPCInfo.InitConnectors(), Error accessing shared memory area. (2))
2010-12-28 21:20:12.020875 [ERROR][(29)]: MediaPortal: Unhandled exception occured
2010-12-28 21:20:12.036500 [ERROR][(29)]: Exception ystem.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at InfoService.Utils.WeatherUtils.wWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
2010-12-28 21:20:12.036500 [ERROR][(29)]: Exception :Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
2010-12-28 21:20:12.036500 [ERROR][(29)]: site :Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
2010-12-28 21:20:12.036500 [ERROR][(29)]: source :mscorlib
2010-12-28 21:20:12.052125 [ERROR][(29)]: stacktrace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at InfoService.Utils.WeatherUtils.wWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
Hi Micropolis.
HTPC Info plugin maybe have some problems in Mepo:
Look at this htread:
https://forum.team-mediaportal.com/my-tvseries-162/repeated-crash-91472/
I fixed the crashing by disabling your plugin.
I do not know if this is caused by a Windows 7 Update or a StreamedMP skin update! Have not touched my setup except Windows updates and StreamedMP update.
UPDATE! The crash is not caused by HTPCinfo, but seems to be the Infoservice plugin!
But can anyone tell me, why I get these other errors in my logs?
The logs gives the following errors:
2010-12-28 21:20:01.364625 [ERROR][MPMain(1)]: HTPC Info: Frequency Performance Counter Initialization Error. (Error Code: System.InvalidOperationException: Category does not exist.
at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
at System.Diagnostics.PerformanceCounter.Initialize()
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
at HTPCInfoPlugin.HTPCInfo.InitPerformanceCounters(), Category does not exist.)
2010-12-28 21:20:01.786500 [ERROR][MPMain(1)]: HTPC Info: Speedfan Shared Memory Initialization Error. (Error Code: HTPCInfo.Core.SharedMemoryException: Error accessing shared memory area. (2)
at HTPCInfo.Core.SpeedfanSharedMemory..ctor()
at HTPCInfo.Core.SpeedfanConnector..ctor(Boolean filterZeroValues)
at HTPCInfo.Core.SpeedfanConnector..ctor()
at HTPCInfoPlugin.HTPCInfo.InitConnectors(), Error accessing shared memory area. (2))
2010-12-28 21:20:12.020875 [ERROR][(29)]: MediaPortal: Unhandled exception occured
2010-12-28 21:20:12.036500 [ERROR][(29)]: Exception ystem.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at InfoService.Utils.WeatherUtils.wWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
2010-12-28 21:20:12.036500 [ERROR][(29)]: Exception :Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
2010-12-28 21:20:12.036500 [ERROR][(29)]: site :Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)
2010-12-28 21:20:12.036500 [ERROR][(29)]: source :mscorlib
2010-12-28 21:20:12.052125 [ERROR][(29)]: stacktrace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at InfoService.Utils.WeatherUtils.wWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)