Mailing List archive

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

[linux-dvb] Re: changing channel leads to system crash withSkystar2



On Mon, 02 Feb 2004 17:54:22 +0100
Helmut Gildein <h.gildein@worldonline.de> wrote:

> Hi all,
> 
> I solved the problem.
> 
> It appears that the reason for the kernel message
> 
>    kernel: dvb_demux_feed_del: feed not in list (type=0 state=0 pid=a7)
> 
> caused the system to freeze. I modified the routine dvb_demux_feed_del
> in dvb_demux.c not to return after the error appears (see below) and it
> works fine now! May be someone can proof whether this is dangerous to do
> ?
> 
> static void dvb_demux_feed_del(struct dvb_demux_feed *feed)
> {
>   if (!(dvb_demux_feed_find(feed))) {
>    printk(KERN_ERR "%s: feed not in list (type=%x state=%x pid=%x)\n",
> 	__FUNCTION__, feed->type, feed->state, feed->pid);
>    /* return; */
>   }
> 
> 	list_del(&feed->list_head);
> }

Your correction doesn't look right to me.
Maybe it "solves" your problem by pure luck.
If we don't find something, how can we free it?

I hope someone more familiar with this code will reply.

-- 
   Roberto Ragusa    r.ragusa at libero.it


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



Home | Main Index | Thread Index