home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Mediaportal crash while watching TV
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mikeyko" data-source="post: 299230" data-attributes="member: 67594"><p><strong>TV-Server Version</strong>: latest SVN + IPTV patch</p><p><strong>MediaPortal Version</strong>: latest SVN</p><p><strong>MediaPortal Skin</strong>: XFace</p><p><strong>Windows Version</strong>: Vista x64 SP1</p><p><strong>CPU Type</strong>: Core 2 Duo E6750</p><p><strong>HDD</strong>: Samsung 500 GB</p><p><strong>Memory</strong>: 4 GB</p><p><strong>Motherboard</strong>: Asus P5K Deluxe</p><p><strong>Video Card</strong>: ATI HD2600 Pro</p><p><strong>Video Card Driver</strong>: Catalyst 8.8</p><p><strong>Sound Card</strong>: ADI on board</p><p><strong>Sound Card AC3</strong>: SPD/IF</p><p><strong>Sound Card Driver</strong>: 41</p><p><strong>1. TV Card</strong>: Avermedia Hybrid</p><p><strong>1. TV Card Type</strong>: </p><p><strong>1. TV Card Driver</strong>: </p><p><strong>2. TV Card</strong>: IPTV</p><p><strong>2. TV Card Type</strong>: </p><p><strong>2. TV Card Driver</strong>: </p><p><strong>3. TV Card</strong>: </p><p><strong>3. TV Card Type</strong>: </p><p><strong>3. TV Card Driver</strong>: </p><p><strong>4. TV Card</strong>: </p><p><strong>4. TV Card Type</strong>: </p><p><strong>4. TV Card Driver</strong>: </p><p><strong>MPEG2 Video Codec</strong>: Microsoft</p><p><strong>MPEG2 Audio Codec</strong>: Microsoft</p><p><strong>h.264 Video Codec</strong>: Cyberlink 7.3</p><p><strong>Satelite/CableTV Provider</strong>: </p><p><strong>HTPC Case</strong>: Zalman 160</p><p><strong>Cooling</strong>: </p><p><strong>Power Supply</strong>: Zalman 460 W</p><p><strong>Remote</strong>: Zalman</p><p><strong>TV</strong>: Panasonic TH-42PV60EH</p><p><strong>TV - HTPC Connection</strong>: HDMI</p><p></p><p>I am experiencing ocassionally Mediaportal crash while watching TV. Problem is in teletext decoder where proper array length checking is missing:</p><p></p><p>2008-08-30 14:19:58.665000 [ERROR][17]: MediaPortal: Unhandled exception occured</p><p>2008-08-30 14:19:58.893000 [ERROR][17]: Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.IndexOutOfRangeException: Index was outside the bounds of the array.</p><p> at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\PESDecoder.cs:line 130</p><p> at MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\TeletextReceiver.cs:line 85</p><p>2008-08-30 14:19:58.893000 [ERROR][17]: Exception :Index was outside the bounds of the array.</p><p>2008-08-30 14:19:58.893000 [ERROR][17]: site :Void OnTsPacket(Byte[], UInt64)</p><p>2008-08-30 14:19:58.894000 [ERROR][17]: source :Core</p><p>2008-08-30 14:19:58.894000 [ERROR][17]: stacktrace: at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\PESDecoder.cs:line 130</p><p> at MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\TeletextReceiver.cs:line 85</p><p></p><p>In code, it is this line:</p><p></p><p>if (tsPacket[pos+0]==0 && tsPacket[pos+1]==0 && tsPacket[pos+2]==1)</p><p></p><p>I can make workaround for me, but it will be better if someone from mediaportal devs will look at this and fix it in proper way</p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="mikeyko, post: 299230, member: 67594"] [b]TV-Server Version[/b]: latest SVN + IPTV patch [b]MediaPortal Version[/b]: latest SVN [b]MediaPortal Skin[/b]: XFace [b]Windows Version[/b]: Vista x64 SP1 [b]CPU Type[/b]: Core 2 Duo E6750 [b]HDD[/b]: Samsung 500 GB [b]Memory[/b]: 4 GB [b]Motherboard[/b]: Asus P5K Deluxe [b]Video Card[/b]: ATI HD2600 Pro [b]Video Card Driver[/b]: Catalyst 8.8 [b]Sound Card[/b]: ADI on board [b]Sound Card AC3[/b]: SPD/IF [b]Sound Card Driver[/b]: 41 [b]1. TV Card[/b]: Avermedia Hybrid [b]1. TV Card Type[/b]: [b]1. TV Card Driver[/b]: [b]2. TV Card[/b]: IPTV [b]2. TV Card Type[/b]: [b]2. TV Card Driver[/b]: [b]3. TV Card[/b]: [b]3. TV Card Type[/b]: [b]3. TV Card Driver[/b]: [b]4. TV Card[/b]: [b]4. TV Card Type[/b]: [b]4. TV Card Driver[/b]: [b]MPEG2 Video Codec[/b]: Microsoft [b]MPEG2 Audio Codec[/b]: Microsoft [b]h.264 Video Codec[/b]: Cyberlink 7.3 [b]Satelite/CableTV Provider[/b]: [b]HTPC Case[/b]: Zalman 160 [b]Cooling[/b]: [b]Power Supply[/b]: Zalman 460 W [b]Remote[/b]: Zalman [b]TV[/b]: Panasonic TH-42PV60EH [b]TV - HTPC Connection[/b]: HDMI I am experiencing ocassionally Mediaportal crash while watching TV. Problem is in teletext decoder where proper array length checking is missing: 2008-08-30 14:19:58.665000 [ERROR][17]: MediaPortal: Unhandled exception occured 2008-08-30 14:19:58.893000 [ERROR][17]: Exception :System.IndexOutOfRangeException: Index was outside the bounds of the array. at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\PESDecoder.cs:line 130 at MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\TeletextReceiver.cs:line 85 2008-08-30 14:19:58.893000 [ERROR][17]: Exception :Index was outside the bounds of the array. 2008-08-30 14:19:58.893000 [ERROR][17]: site :Void OnTsPacket(Byte[], UInt64) 2008-08-30 14:19:58.894000 [ERROR][17]: source :Core 2008-08-30 14:19:58.894000 [ERROR][17]: stacktrace: at MediaPortal.Player.Teletext.PESDecoder.OnTsPacket(Byte[] tsPacket, UInt64 presentTime) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\PESDecoder.cs:line 130 at MediaPortal.Player.Teletext.TeletextReceiver.OnTSPacket(IntPtr pbuf, Int32 len) in C:\work\projects\mediaportal\trunk\mediaportal\Core\Player\Teletext\TeletextReceiver.cs:line 85 In code, it is this line: if (tsPacket[pos+0]==0 && tsPacket[pos+1]==0 && tsPacket[pos+2]==1) I can make workaround for me, but it will be better if someone from mediaportal devs will look at this and fix it in proper way :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Mediaportal crash while watching TV
Contact us
RSS
Top
Bottom