Re: kernel OOPS when releasing usb webcam (random)

From: Antonio Ospite
Date: Tue Oct 18 2011 - 04:43:15 EST


On Mon, 17 Oct 2011 17:05:19 -0700 (PDT)
David Rientjes <rientjes@xxxxxxxxxx> wrote:

> On Mon, 17 Oct 2011, Tomas M. wrote:
>
> > im getting the following null pointer dereference from time to time when
> > releasing a usb camera.
> >
> > maybe this trace is of assistance...please reply to my mail since im not
> > subscribed.
> >
>
> I suspect this is happening in v4l2_device_unregister_subdev(). Adding
> Guennadi, Mauro, and linux-media.
>
> > BUG: unable to handle kernel NULL pointer dereference at 0000006c
> > IP: [<f90be6c2>] v4l2_device_release+0xa2/0xf0 [videodev]

Hi,

I sent a fix for a similar trace last week:
http://patchwork.linuxtv.org/patch/8124/

Tomas, can you test it fixes the problem for you too?

Thanks,
Antonio

--
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

Attachment: pgp00000.pgp
Description: PGP signature