From: "Németh Márton" <nm127@freemail.hu>
To: Markus Rechberger <mrechberger@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Mauro Carvalho Chehab <mchehab@infradead.org>,
linux-media@vger.kernel.org, bugme-daemon@bugzilla.kernel.org
Subject: Re: [Bugme-new] [Bug 12768] New: usb_alloc_urb() leaks memory together with uvcvideo driver
Date: Wed, 25 Feb 2009 08:44:00 +0100 [thread overview]
Message-ID: <49A4F6C0.5060503@freemail.hu> (raw)
In-Reply-To: <d9def9db0902241935h3e9303ebpaa43ec2ae03b4dc2@mail.gmail.com>
Please, please, please, can we concentrate on the subject?
What I did with the other out-of-tree em28xx-new driver was that
I printed out the urb->kref.refcount before and after each urb operation.
The result was that when the urb->complete function is called, the reference
count was still 2, instead of 1.
I could imagine three possible errors:
1. there is a bug in uvcvideo driver
2. there is a bug in v4l framework
3. there is a bug in usb subsystem
It would be good if someone who have a deeper knowledge than me on these fields could
give some hints or debug patches which would lead us closer to the solution.
Regards,
Márton Németh
next prev parent reply other threads:[~2009-02-25 7:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-12768-10286@http.bugzilla.kernel.org/>
2009-02-24 21:57 ` [Bugme-new] [Bug 12768] New: usb_alloc_urb() leaks memory together with uvcvideo driver Andrew Morton
2009-02-24 22:37 ` Markus Rechberger
2009-02-25 2:02 ` Mauro Carvalho Chehab
2009-02-25 2:15 ` Markus Rechberger
2009-02-25 3:23 ` Andrew Morton
2009-02-25 3:35 ` Markus Rechberger
2009-02-25 7:44 ` Németh Márton [this message]
2009-02-25 12:49 ` Mauro Carvalho Chehab
2009-02-25 21:55 ` Laurent Pinchart
2009-02-26 1:39 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A4F6C0.5060503@freemail.hu \
--to=nm127@freemail.hu \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=mrechberger@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox