[mythtv] Re: [EXPerimental PATCH] BIG DVB PATCH V1.1

Martin Bene martin.bene at icomedias.com
Fri Nov 12 15:33:51 UTC 2004

Hi Taylor,

Some more info on the backend crash I keep seeing:

#0  0xb6825dc2 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb7dec5ae in SIParser::Reset() (this=0x0) at siparser.cpp:43
#2  0xb7dc7530 in DVBChannel::TuneTransport(dvbchannel&, bool)
(this=0x80e1c90, channel=@0x80e1d14, all=false) at dvbchannel.cpp:1259
#3  0xb7dc5faa in DVBChannel::Tune(dvbchannel&, bool) (this=0x80e1c90,
channel=@0x80e1d14, all=false) at dvbchannel.cpp:1115
#4  0xb7dbc6e8 in DVBChannel::SetChannelByString(QString const&)
(this=0x80e1c90, chan=@0xbe1ff9b4) at dvbchannel.cpp:239
#5  0xb7db0791 in DVBRecorder::Open() (this=0x80f0c80) at
#6  0xb7db2fdc in DVBRecorder::StartRecording() (this=0x80f0c80) at
#7  0xb7d8c02e in SpawnEncode(void*) (param=0x80f0ca8) at tv_rec.cpp:42
#8  0xb682503e in pthread_start_thread () from /lib/libpthread.so.0
#9  0xb66cb97a in clone () from /lib/libc.so.6

This happens if the advanced dvb setup option "Open DVB Channel on
demand" is checked. 

With that option set, the DVB channel is closed after initial setup,
also destroying the siparser object, which doesn't get reinitialised
before use when a frontend connects and wants to watch TV.

The reason I'd set that option: can't use tv_grab_dvb if mythbackend
doesn't release the DVB card if it's not in use.

Bye, Martin

More information about the mythtv-dev mailing list