﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
10183	Mythfrontend crash on local broadcasts	Håkon Alstadheim <hakon@…>	JYA	"Mythfrontend crashes whenever I try to play a local broadcast, or a broadcast directly preceding or following such.

Background:[[BR]]
In DVB-T in Norway local broadcasts are sent with different identifiers in the stream from what the channel shows the rest of the day. This used to crash in early 0.24, until it was fixed. Now in current head it has been broken since I can remember. This failure mode might be a regression from ticket #6703 , it is the same programmes and the same channel that is failing again, i.e. a recordings containing switch-over from one PID to another.

To illustrate the phenomenon, running this:
{{{
for f in *.mpg ; do
    CHANID=$(echo -n $f |sed -e 's/_.*/ /' )
    echo -n ""$CHANID""
    mplayer -tsprobe 10000000 -frames 0 -identify  $f 2>/dev/null| grep -m 1 -e '^VIDEO' || echo $f error
done| sort -u
}}}
On one of my recording directories, gives this (blank lines added and old channel-ids removed for
clarity)
{{{
1102 VIDEO H264(pid=525) AUDIO AAC LATM(pid=692) SUB Teletext(pid=576)  PROGRAM N. 1
1102 VIDEO H264(pid=525) AUDIO AAC LATM(pid=693) SUB Teletext(pid=576)  PROGRAM N. 1

1103 VIDEO H264(pid=521) AUDIO AAC LATM(pid=676) SUB Teletext(pid=576)  PROGRAM N. 1
1103 VIDEO H264(pid=521) AUDIO AAC LATM(pid=677) SUB DVB(pid=604)  PROGRAM N. 1
1103 VIDEO H264(pid=521) AUDIO AAC LATM(pid=677) SUB Teletext(pid=576)  PROGRAM N. 1

2009 VIDEO H264(pid=512) AUDIO AAC LATM(pid=640) SUB Teletext(pid=576)  PROGRAM N. 1
2009 VIDEO H264(pid=512) AUDIO AAC LATM(pid=641) SUB Teletext(pid=576)  PROGRAM N. 1
2009 VIDEO H264(pid=515) AUDIO AAC LATM(pid=652) SUB Teletext(pid=576)  PROGRAM N. 1
2009 VIDEO:  [DVSD]  720x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)

}}}
Channel 2009 gives recordings that cause crashes.

I have a sample of the start of a crashing recording here:

<http://alstadheim.priv.no/midnytt-start-til-bt.mpg> (10Mb)
(note: it is on a slow home ADSL-line with a dynamic IP-address)

I am running
{{{
Package: mythtv-frontend
Maintainer: MythTV Ubuntu Maintainers <ubuntu-mythtv@lists.ubuntu.com>
Architecture: i386
Version: 2:0.25.0~master.20111121.4f506d0-0ubuntu0mythbuntu3
}}}

4f506d0 refers to git commit

I will attach a terminal capture from the run (with myth output) and a gdb log with a backtrace  (and a full thread backtrace)
They can be found here aswell
<http://alstadheim.priv.no/mythfrontend-crash-run-stdout.txt>
<http://alstadheim.priv.no/mythfrontend-backtrace.log>

"	Bug Report - Crash	closed	minor	unknown	MythTV - DVB	Master Head	medium	Fixed	DVB-T		0
