2018-06-06, 03:51 AM
Since upgrading today to the latest version, my NPVR Recording Service crashes intermittently when changing channels in Kodi.
I have HDHomerun Connect & Prime set up, and it happens with both tuners
Log files are attached, Event Viewer shows the following:
An unhandled exception occurred and the process was terminated.
Application ID: NRecord.exe
Process ID: 4284
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace: at Native.HDHomeRunCapture.StopStream(Int32 streamHandle)
at NShared.HDHomeRunRecorder.StopStream(Int32 streamHandle)
at NShared.RecordingService.WorkerThread()
at System.Threading.ThreadHelper.ThreadStart_Context(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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Application: NRecord.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at Native.HDHomeRunCapture.StopStream(Int32)
at NShared.HDHomeRunRecorder.StopStream(Int32)
at NShared.RecordingService.WorkerThread()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Faulting application name: NRecord.exe, version: 1.0.0.0, time stamp: 0x5b11f5b4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x096e5eeb
Faulting process id: 0x10bc
Faulting application start time: 0x01d3fd435a577ec4
Faulting application path: C:\Program Files (x86)\NPVR\NRecord.exe
Faulting module path: unknown
Report Id: 855ded7c-6937-11e8-80f3-3c4a92f111eb
Faulting package full name:
Faulting package-relative application ID:
I have HDHomerun Connect & Prime set up, and it happens with both tuners
Log files are attached, Event Viewer shows the following:
An unhandled exception occurred and the process was terminated.
Application ID: NRecord.exe
Process ID: 4284
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace: at Native.HDHomeRunCapture.StopStream(Int32 streamHandle)
at NShared.HDHomeRunRecorder.StopStream(Int32 streamHandle)
at NShared.RecordingService.WorkerThread()
at System.Threading.ThreadHelper.ThreadStart_Context(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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Application: NRecord.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at Native.HDHomeRunCapture.StopStream(Int32)
at NShared.HDHomeRunRecorder.StopStream(Int32)
at NShared.RecordingService.WorkerThread()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Faulting application name: NRecord.exe, version: 1.0.0.0, time stamp: 0x5b11f5b4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x096e5eeb
Faulting process id: 0x10bc
Faulting application start time: 0x01d3fd435a577ec4
Faulting application path: C:\Program Files (x86)\NPVR\NRecord.exe
Faulting module path: unknown
Report Id: 855ded7c-6937-11e8-80f3-3c4a92f111eb
Faulting package full name:
Faulting package-relative application ID: