TV Service Stops (1 Viewer)

Brudertac

MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    MediaPortal Version: 1.7.1

    Description
    Hi all,

    we were just watching a previously made Recording and while we are watching the Client lost the Connection to the TV-Server.

    I have packed all Server Logs in a ZIP File (attached)

    Also, in the Windows EventLog there where some TVService Errors:

    Anwendung: TVService.exe
    Frameworkversion: v4.0.30319
    Beschreibung: Der Prozess wurde aufgrund eines Ausnahmefehlers beendet.
    Ausnahmeinformationen: System.AccessViolationException
    Stapel:
    bei TvLibrary.Interfaces.Analyzer.ITsFilter.TimeShiftGetCurrentFilePosition(Int32, Int64 ByRef, Int64 ByRef)
    bei TvLibrary.Implementations.DVB.TvDvbChannel.OnGetTimeShiftFilePosition(Int64 ByRef, Int64 ByRef)
    bei TvLibrary.Implementations.BaseSubChannel.TimeShiftGetCurrentFilePosition(Int64 ByRef, Int64 ByRef)
    bei TvService.TimeShifter.GetCurrentFilePosition(TvControl.IUser ByRef, Int64 ByRef, Int64 ByRef)
    bei TvService.TVController.TimeShiftGetCurrentFilePosition(TvControl.IUser ByRef, Int64 ByRef, Int64 ByRef)
    bei System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)
    bei System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
    bei System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
    bei System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
    bei System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(System.Object[])
    bei System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage ByRef)
    bei System.Runtime.Remoting.Channels.DispatchChannelSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage ByRef, System.Runtime.Remoting.Channels.ITransportHeaders ByRef, System.IO.Stream ByRef)
    bei System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(System.Runtime.Remoting.Channels.IServerChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Channels.ITransportHeaders, System.IO.Stream, System.Runtime.Remoting.Messaging.IMessage ByRef, System.Runtime.Remoting.Channels.ITransportHeaders ByRef, System.IO.Stream ByRef)
    bei System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(System.Object)
    bei System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
    bei System.Runtime.Remoting.Channels.RequestQueue.ProcessNextRequest(System.Runtime.Remoting.Channels.SocketHandler)
    bei System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(System.IAsyncResult)
    bei System.Net.LazyAsyncResult.Complete(IntPtr)
    bei System.Net.ContextAwareResult.CompleteCallback(System.Object)
    bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    bei System.Net.ContextAwareResult.Complete(IntPtr)
    bei System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
    bei System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
    bei System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)


    -------------------------------------------------------------
    AND:

    Name der fehlerhaften Anwendung: TVService.exe, Version: 1.7.1.0, Zeitstempel: 0x535b9101
    Name des fehlerhaften Moduls: TsWriter.ax, Version: 3.0.28.0, Zeitstempel: 0x535b8f95
    Ausnahmecode: 0xc0000005
    Fehleroffset: 0x00025e16
    ID des fehlerhaften Prozesses: 0x2a44
    Startzeit der fehlerhaften Anwendung: 0x01cf63015bd32a08
    Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TVService.exe
    Pfad des fehlerhaften Moduls: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TsWriter.ax
    Berichtskennung: 97d86b90-cf10-11e3-99cd-00224daa79b6

    Steps to Reproduce:
    Not sure how to reproduce. Sorry
     

    Attachments

    • eventlog_Anwendung.zip
      1.3 MB
    • eventlog_System.zip
      2.1 MB
    Last edited by a moderator:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello Brudertac

    You've either installed @regeszter 's custom version of TV Server or enabled the debug feature to include the timeshift buffer in the recording, and that is the cause of the crash. Please disable the debug feature if enabled. It is not supported.

    mm
     

    Brudertac

    MP Donator
  • Premium Supporter
  • October 26, 2006
    978
    277
    Augsburg
    Home Country
    Germany Germany
    Hello

    It is the Standard Version. Thank you, i will disable that option. :)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hello Brudertac

    You've either installed @regeszter 's custom version of TV Server or enabled the debug feature to include the timeshift buffer in the recording, and that is the cause of the crash. Please disable the debug feature if enabled. It is not supported.

    mm

    I think we should to remove this code from the original source.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Hi mm,

    the https://github.com/MediaPortal/MediaPortal-1/blob/master/TvEngine3/TVLibrary/TvService/TsCopier.cs
    and https://github.com/MediaPortal/Medi...Plugin/TvPlugin/TvTimeShiftPositionWatcher.cs

    and the
    public void CopyTimeShiftFile(Int64 position1, string bufferFile1, Int64 position2, string bufferFile2,
    string recordingFile)


    method from the https://github.com/MediaPortal/Medi...TvEngine3/TVLibrary/TvService/TVController.cs

    can be removed from TVE3 & 3.5 because I don't use that and all of them are wrong (and can abort the tvservice).
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    If you're not using TimeShiftGetCurrentFilePosition(), how do you know where to stop the copy (to avoid including garbage in the saved TS buffers)? Seems impossible to me.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    If you're not using TimeShiftGetCurrentFilePosition(), how do you know where to stop the copy (to avoid including garbage in the saved TS buffers)? Seems impossible to me.

    I don't list that method in #7. :p
    I use that, of course. ;)
     

    Users who are viewing this thread

    Top Bottom