TV server keeps crashing (2 Viewers)

allanp81

Portal Pro
October 24, 2006
917
41
My TV server is randomly crashing and I can't see why.

I've attached the logs but none of it really makes much sense to me.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hello

    Please:
    1. Always use the watchdog to collect log files whenever possible. It gives us exactly what we need to help you. For diagnosing crashes we need the Windows application event log. If you do not have access to the watchdog then you will need to export and post the application event log separately.
    2. Specify when (date and time) the crash(es) occurred, and under what circumstances (eg. what you were doing, how you noticed).
    Without this information it is not possible to help you.

    Regards,
    mm
     

    allanp81

    Portal Pro
    October 24, 2006
    917
    41
    Attached is the logs generated by the watchdog.

    According to event viewer the TV service crashed at about 7:24 (GMT) this morning. I was cycling to work at the time so wasn't doing anything with my server other than it was sat there idle.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Thanks (y)

    The application event log shows the cause of the crash:
    [collapse]
    "03/08/2015 07:23:56";".NET Runtime";"(0)";"Error";"Application: TVService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
    Stack:
    at TvLibrary.Hardware.TeVii.FindDevices()
    at TvLibrary.Hardware.TeVii.CheckAndOpen()
    at TvLibrary.Implementations.DVB.ConditionalAccess..ctor(DirectShowLib.IBaseFilter, DirectShowLib.IBaseFilter, DirectShowLib.IBaseFilter, TvLibrary.Implementations.TvCardBase)
    at TvLibrary.Implementations.DVB.TvCardDvbBase.CompleteGraph(DirectShowLib.IBaseFilter ByRef)
    at TvLibrary.Implementations.DVB.TvCardDVBT.BuildGraph()
    at TvLibrary.Implementations.DVB.TvCardDVBT.BeforeTune(TvLibrary.Interfaces.IChannel, Int32 ByRef)
    at TvLibrary.Implementations.DVB.TvCardDVBT.Tune(Int32, TvLibrary.Interfaces.IChannel)
    at TvService.CardTuner.Tune(TvControl.IUser ByRef, TvLibrary.Interfaces.IChannel, Int32)
    at TvService.CardReservationBase.Tune(TvService.ITvCardHandler, TvControl.IUser ByRef, TvLibrary.Interfaces.IChannel, Int32, TvService.ICardTuneReservationTicket)
    at TvService.TVController.Tune(TvControl.IUser ByRef, TvLibrary.Interfaces.IChannel, Int32, System.Object, System.Object)
    at TvService.TVController.Tune(TvControl.IUser ByRef, TvLibrary.Interfaces.IChannel, Int32, System.Object)
    at TvService.EpgCard.TuneEPGgrabber(TvDatabase.Channel, TvLibrary.Interfaces.IChannel, TvDatabase.Card, TvControl.TvResult)
    at TvService.EpgCard.GrabEpgForChannel(TvDatabase.Channel, TvLibrary.Interfaces.IChannel, TvDatabase.Card)
    at TvService.EpgCard.GrabEpg()
    at TvService.EpgGrabber.GrabEpgOnCard(TvService.EpgCard)
    at TvService.EpgGrabber._epgTimer_Elapsed(System.Object, System.Timers.ElapsedEventArgs)
    at System.Timers.Timer.MyTimerCallback(System.Object)
    at System.Threading.TimerQueueTimer.CallCallbackInContext(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.TimerQueueTimer.CallCallback()
    at System.Threading.TimerQueueTimer.Fire()
    at System.Threading.TimerQueue.FireNextTimers()
    at System.Threading.TimerQueue.AppDomainTimerCallback()
    ";"1026"[/collapse]

    This is coming from a 3rd party (TeVii - a tuner hardware vendor) DLL, via the DVB EPG grabber. Given that the crash originates from the 3rd party DLL (ie. we have no control over it), I'm not sure what we can do about this.
     

    allanp81

    Portal Pro
    October 24, 2006
    917
    41
    That is very odd. I did reinstall my server about a month ago and I only have 1 tuner installed (a blackgold 3620) and have only installed the drivers for that so I have no idea what that other thing is about.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    The TeVii reference comes in when TV Server loads your tuner and checks what kind of tuner it is. It's all well and good for us to agree that your tuner is a Blackgold tuner, and therefore you don't need TeVii-specific tuner handling. However, TV Server doesn't know that. It has to perform the check because for all it knows at the time, your tuner could be a TeVii tuner... and unfortunately that's where the crash is occurring.

    Do you recall approximately when the crashes started?
     

    allanp81

    Portal Pro
    October 24, 2006
    917
    41
    It's been crashing randomly since I reinstalled the server. I would say it's crashing about once a day so far.

    There is a newer version of the blackgold driver (which although they say isn't for this card) which I've installed and works so I will give that a go and see how it behaves.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    I don't expect a new version of the Blackgold driver to help.

    This is not something I'd normally suggest, but given your situation...
    1. Open TV Server configuration.
    2. Go to the manual control section.
    3. Click "stop service".
    4. Open Windows Explorer.
    5. Navigate to the TV Server install directory (typically c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server).
    6. Rename or move TeVii.dll.
    7. In TV Server configuration again, click "start service".
    This may cause more problems than it solves... or not help at all. In general the nature of the crash (being an access violation exception) makes me suspicious that your server is not stable. You may find that the problem "moves" to something else...
     

    Users who are viewing this thread

    Similar threads

    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal, nor media portal plugin on Kodi, but with the Kodi plugin that must be installed in the media portal, as it is not getting detected. I have made a copy of the dll file into the plugins folder as found in my...
    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
    I am following the official documentation for setting up the Kodi plugin in media portal. I have got no issues with media portal...
    Replies
    0
    Views
    230
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    3K
    MP1 MP2 Recording length DE
    If you use "Manual Booking" (left side menu on the "Recording Schedule" panel), you can schedule a recording duration of up to 24 hours. However... That is using the "conventional" TV sources, i.e. a DVB-T tuner, a DVB-S tuner, or an analogue tuner. You stated in your other thread that you are using an IPTV source. Perhaps there is a...
    If you use "Manual Booking" (left side menu on the "Recording Schedule" panel), you can schedule a recording duration of up to 24...
    Is there a limit to recording length? My TVServer recordings all cut off at 3 hours but I can't find a setting anywhere to change...
    Replies
    1
    Views
    468
    OK....perhaps impatient of me I know, but went for a full reinstall....and now up and running once more. Have no idea what was at the root of this problem....still wondering if it may've been due to a Win11 update earlier this week?
    OK....perhaps impatient of me I know, but went for a full reinstall....and now up and running once more. Have no idea what was at...
    Have used MP1.38 64 successfully since it's introduction.....now something has changed. Video folders are still present.....but now...
    Replies
    3
    Views
    2K
    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    675
    Top Bottom