Re: [Bugme-new] [Bug 12768] New: usb_alloc_urb() leaks memory together with uvcvideo driver

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

 



On Wed, Feb 25, 2009 at 3:02 AM, Mauro Carvalho Chehab
<mchehab@xxxxxxxxxxxxx> wrote:
> On Tue, 24 Feb 2009 13:57:20 -0800
> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>>> > In the output of /proc/slab_allocators the number of blocks allocated by
>> > usb_alloc_urb() increases, however, the xawtv is no longer running:
>> >
>> > size-2048: 18 usb_alloc_dev+0x1d/0x212 [usbcore]
>> > size-2048: 2280 usb_alloc_urb+0xc/0x2b [usbcore]
>> > size-1024: 100 usb_alloc_urb+0xc/0x2b [usbcore]
>> > size-128: 10 usb_alloc_urb+0xc/0x2b [usbcore]
>> >
>> > Each time xawtv is started and stopped the value increases at the
>> > usb_alloc_urb().
>> >
>> > Expected result: the same memory usage is reached again after xawtv exited.
>> >
>>
>> I assume this is a v4l bug and not a USB core bug?
>
> I guess this is a v4l bug. We've found several memory leaks on em28xx driver,
> fixed at the development -git:
>
> http://git.kernel.org/?p=linux/kernel/git/mchehab/devel.git
>
> I'll do some tests again with the latest em28xx driver to double check if it is
> there any other memory leak. If not, then we could replicate the same approach
> into uvcvideo.
>

haha you never even had a look at the issue itself.

Markus

> Cheers,
> Mauro
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux