Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Kernel oops on 2.6.6



Hi,

Christian Fraenkel wrote:
> I am writing a small dvr software for my nova-ci, and noticed that I was 
> unable (after some time) to open /dev/adapter0/demux0. (open() blocks)
> my dmesg shows the following oops:
> 
> dvb_demux_feed_del: feed not in list (type=0 state=0 pid=ffff)
> Unable to handle kernel paging request at virtual address eaa1e7a8
>  printing eip:
> ca85cdcc
> *pde = 00000000
> Oops: 0002 [#1]
> PREEMPT
> CPU:    0
> EIP:    0060:[<ca85cdcc>]    Not tainted
> EFLAGS: 00010202   (2.6.6)
> EIP is at dvbdmx_release_ts_feed+0x9c/0xc0 [dvb_core]

There seems to be a bug in error handling when DMX_SET_PES_FILTER is
called with an invalid pes_type. So don't do that ;-/

I don't know how to fix this yet. Essentially, if dmx_ts_feed_set()
fails because pes_type is invalid, dvbdmx_release_ts_feed() must
not try to do the following:

	if (feed->ts_type & TS_DECODER)
		demux->pesfilter[feed->pes_type] = NULL;

Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index