Teletext (subtitles) makes MediaPortal crash! (1 Viewer)

nordemoniac

Portal Pro
January 20, 2010
72
5
Home Country
Norway Norway
MediaPortal Version: 1.2.1
Windows Version: Win 7 x64
CPU Type: i3-530
1. TV Card: Terratec
1. TV Card Type: Cinergy C PCI HD
1. TV Card Driver: *401 (Beta)

I have a problem with TeleText (subtitles). This is the error:

Sorry for the norwegian in the code, just ask if it doesn't make any sense. I guess "Kildematrisen" is refering to SourceArray.

"Kildematrisen var ikke lang nok. Kontroller srcIndex og lengde samt matrisens nedre grenser."
This means "The Source Array was not long enough. Control srcIndex and length, also the arrays lower limit."

Makes sense to anyone? Anywhere I can increase "whatever-it-is-asking-for" from 256 to 264?

Code:
2011-11-24 18:25:44.050671 [ERROR][(15)]: Assertion failed in PESDecoder: PES header not 45 as required for teletext PES packets (actual 264)
2011-11-24 18:25:44.052671 [ERROR][(15)]: PESDecoder: Reported header length is bigger than header buffer! : 256 vs 264
2011-11-24 18:25:44.053672 [ERROR][(15)]: Assertion failed in PESDecoder: m_iPesHeaderLen too long! tsPacket length is 188 but m_iPesHeaderLen = 264 and pos = 4
2011-11-24 18:25:44.054672 [ERROR][(15)]: MediaPortal: Unhandled exception occured
2011-11-24 18:25:44.057672 [ERROR][(15)]: Exception   :System.ArgumentException: Kildematrisen var ikke lang nok. Kontroller srcIndex og lengde samt matrisens nedre grenser.
   ved System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   ved MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime)
   ved MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len)
2011-11-24 18:25:44.058672 [ERROR][(15)]: Exception   :Kildematrisen var ikke lang nok. Kontroller srcIndex og lengde samt matrisens nedre grenser.
2011-11-24 18:25:44.058672 [ERROR][(15)]:   site      :Void Copy(System.Array, Int32, System.Array, Int32, Int32, Boolean)
2011-11-24 18:25:44.059672 [ERROR][(15)]:   source    :mscorlib
2011-11-24 18:25:44.060672 [ERROR][(15)]:   stacktrace:   ved System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   ved MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime)
   ved MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len)
 

Muffler

Portal Member
December 18, 2011
11
1
46
Home Country
Belarus Belarus
win 7 x32

2011-12-18 10:51:26.243270 [ERROR][(25)]: MediaPortal: Unhandled exception occured
2011-12-18 10:51:26.247271 [ERROR][(25)]: Exception :confused:ystem.IndexOutOfRangeException: Индекс находился вне границ массива.
в MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime)
в MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len)
2011-12-18 10:51:26.250271 [ERROR][(25)]: Exception :Индекс находился вне границ массива.
2011-12-18 10:51:26.252271 [ERROR][(25)]: site :Void OnTsPacket(Byte[], UInt64)
2011-12-18 10:51:26.254271 [ERROR][(25)]: source :Core
2011-12-18 10:51:26.257271 [ERROR][(25)]: stacktrace: в MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime)
в MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len)
 

Muffler

Portal Member
December 18, 2011
11
1
46
Home Country
Belarus Belarus
crash if switch channel

MediaPortal Version: 1.2.2
MediaPortal Skin: avalon
Windows Version: win7 x32

On TV and open channel1
after switch to channel2
.. channel3
after back channel1 and mp crash
 

mm1352000

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

    How off subtitles ?
    Untick "enable teletext subtitles" on the "subtitle settings" tab in the "TV client" subsection of the "TV" section in MediaPortal configuration.

    p/s/ 1.2.2 crash to :(
    I'm not surprised. My opinion is that this is caused by M***I not properly descrambling the teletext data. As you know, we don't support M****.

    mm
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Re: crash if switch channel

    Hi again

    This is caused by the teletext issue that is already raised -->here<--. Please don't start any more new threads.

    mm
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi once again

    Please try the attached DLL. It probably won't fix the crashing but it will possibly tell us more about the problem.

    1. Close MP.
    2. Take a backup of the Core.dll file in your MP install folder (usually C:\Program Files (x86)\Team MediaPortal\MediaPortal).
    3. Download and extract the attached DLL [for MP 1.2.2 only] into your MP install folder.
    4. Start MP, reproduce the problem if possible, and provide new logs.

    Thanks
    mm
     

    Users who are viewing this thread

    Top Bottom