TV server keeps crashing (1 Viewer)

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,577
    8,224
    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,577
    8,224
    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,577
    8,224
    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,577
    8,224
    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

    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs have played. If I press Next, it will start playing the next song. This happens with BASS and Wasapi players. It does not happen if I use Internal dshow player (which doesn't sound as good as either of...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Playing audio cd's keeps stopping at random in the middle of songs. It can happen on the first song or sometimes after a few songs...
    Replies
    0
    Views
    439
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling with. If you take the previous version (1.31) it should work as expected. For IPTV there is also a different option (with different pros and cons): Onlinevideos. I'm using that sometimes for my IPTV as...
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling...
    Hi I am trying to play a m3u file from my IPTV provider, but when I try to install the TV part of Media Portal v1.3.2 I get an...
    Replies
    1
    Views
    591
    Hi CyberSimion Have now got MP 1.31 working ok Stopped Network Adaptor waking computer (Computer now not waking from sleep other than to record scheduled programs) Activated Power Scheduler and ticked all boxes under EPG tag (XmLTv guide now downloaded and installed as scheduled) I think my problem with MP 1.32 install re scheduled...
    Hi CyberSimion Have now got MP 1.31 working ok Stopped Network Adaptor waking computer (Computer now not waking from sleep other...
    I have just installed MP 2.4 I have set up for ICE TV XMTV guide Followed all instructions for set up ( as for MP 1 ) Guide...
    Replies
    14
    Views
    1K
    I have not experienced that myself, and I don't know of any reason why that might occur (but my knowledge of how TV Server works is not extensive). It is strange that you mention this because there are now four DVB-T channels in the UK that behave in the same way (this is new for the UK). I think that these might be some sort of...
    I have not experienced that myself, and I don't know of any reason why that might occur (but my knowledge of how TV Server works is...
    I am running MePo 1.32 X86 on Windows 11 Ryzen 9 7900X 32GB DDR5 RAM 1TB NVME Boot Drive 4TB NVME Data drive RTX 3060 12GB I have...
    Replies
    10
    Views
    1K
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11. Saved me a lot of time having to debug the code. Thanks for the tip!
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11...
    Hello, I spent a couple of days trying to resolve this issue and cannot figure it out. I have set up MediaPortal Server on an old...
    Replies
    2
    Views
    860
    Top Bottom