* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
@ 2016-06-22 10:00 ` bugzilla-daemon
2016-06-22 16:38 ` bugzilla-daemon
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-06-22 10:00 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
Loic Poulain <loic.poulain@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |loic.poulain@intel.com
--- Comment #1 from Loic Poulain <loic.poulain@intel.com> ---
Seems that this memory leak is due to the hci_ll (TI) proto.
Don't think this comes from the generic hci-uart/ldisc part.
To be sure, are you able to reproduce this issue with any other proto (hci_h4,
hci_bcm, hci_intel..)?
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
2016-06-22 10:00 ` [Bug 120691] " bugzilla-daemon
@ 2016-06-22 16:38 ` bugzilla-daemon
2016-07-10 3:11 ` bugzilla-daemon
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-06-22 16:38 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #2 from nico.edev@gmail.com ---
Unfortunately my BT module only support TI protocol and I don't have another
one.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
2016-06-22 10:00 ` [Bug 120691] " bugzilla-daemon
2016-06-22 16:38 ` bugzilla-daemon
@ 2016-07-10 3:11 ` bugzilla-daemon
2016-07-10 3:12 ` bugzilla-daemon
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-07-10 3:11 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
bastienphilbert@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bastienphilbert@gmail.com
--- Comment #3 from bastienphilbert@gmail.com ---
Try the below attached patch.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (2 preceding siblings ...)
2016-07-10 3:11 ` bugzilla-daemon
@ 2016-07-10 3:12 ` bugzilla-daemon
2016-07-19 20:57 ` bugzilla-daemon
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-07-10 3:12 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #4 from bastienphilbert@gmail.com ---
Created attachment 222571
--> https://bugzilla.kernel.org/attachment.cgi?id=222571&action=edit
Test Patch
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (3 preceding siblings ...)
2016-07-10 3:12 ` bugzilla-daemon
@ 2016-07-19 20:57 ` bugzilla-daemon
2016-07-20 8:06 ` bugzilla-daemon
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-07-19 20:57 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #5 from bastienphilbert@gmail.com ---
Are you able to post the object kmemleak is complaining about at that
particular address.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (4 preceding siblings ...)
2016-07-19 20:57 ` bugzilla-daemon
@ 2016-07-20 8:06 ` bugzilla-daemon
2016-08-01 15:55 ` bugzilla-daemon
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-07-20 8:06 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #6 from nico.edev@gmail.com ---
I did not see your post and now I am in business trip. I will try next week and
let you know.
Thanks a lot.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (5 preceding siblings ...)
2016-07-20 8:06 ` bugzilla-daemon
@ 2016-08-01 15:55 ` bugzilla-daemon
2016-08-01 17:35 ` bugzilla-daemon
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-01 15:55 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #7 from nico.edev@gmail.com ---
I tried the patch but problem is still there.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (6 preceding siblings ...)
2016-08-01 15:55 ` bugzilla-daemon
@ 2016-08-01 17:35 ` bugzilla-daemon
2016-08-04 13:57 ` bugzilla-daemon
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-01 17:35 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #8 from bastienphilbert@gmail.com ---
Can you enable kmemleak and use the documentation here to find out what object
is leaking,https://www.kernel.org/doc/Documentation/kmemleak.txt.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (7 preceding siblings ...)
2016-08-01 17:35 ` bugzilla-daemon
@ 2016-08-04 13:57 ` bugzilla-daemon
2016-08-04 14:52 ` bugzilla-daemon
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-04 13:57 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
Nicolas Royer <nroyer@edevice.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nroyer@edevice.com
--- Comment #9 from Nicolas Royer <nroyer@edevice.com> ---
I finally got BT modules with BT controller from Broadcom (BCM4343W: UART H4)
and CSR (CSR8510A10: USB).
The leak is present whatever the controller.
In all cases kmemleak reports leaks in the BT controller driver (hci_ll,
hci_h4, btusb) but also in hci_event.
It looks like the leak is in the HCI layer. I will try to figure out what
object is leaking in hci_event.
Below are kmemleak logs for BCM4343W and CSR8510A10.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (8 preceding siblings ...)
2016-08-04 13:57 ` bugzilla-daemon
@ 2016-08-04 14:52 ` bugzilla-daemon
2016-08-04 14:53 ` bugzilla-daemon
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-04 14:52 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #10 from Nicolas Royer <nroyer@edevice.com> ---
Created attachment 227531
--> https://bugzilla.kernel.org/attachment.cgi?id=227531&action=edit
kmemleak_csr8510a10
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (9 preceding siblings ...)
2016-08-04 14:52 ` bugzilla-daemon
@ 2016-08-04 14:53 ` bugzilla-daemon
2016-08-07 0:58 ` bugzilla-daemon
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-04 14:53 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #11 from Nicolas Royer <nroyer@edevice.com> ---
Created attachment 227541
--> https://bugzilla.kernel.org/attachment.cgi?id=227541&action=edit
kmemleak_bcm4343w
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (10 preceding siblings ...)
2016-08-04 14:53 ` bugzilla-daemon
@ 2016-08-07 0:58 ` bugzilla-daemon
2016-08-07 0:58 ` bugzilla-daemon
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-07 0:58 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #12 from bastienphilbert@gmail.com ---
See if the below patch fixes or does something new in terms of kmemleak
warning(s) you are getting from these bluetooth drivers.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (11 preceding siblings ...)
2016-08-07 0:58 ` bugzilla-daemon
@ 2016-08-07 0:58 ` bugzilla-daemon
2016-08-17 21:30 ` bugzilla-daemon
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-07 0:58 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #13 from bastienphilbert@gmail.com ---
Created attachment 227881
--> https://bugzilla.kernel.org/attachment.cgi?id=227881&action=edit
Bluetooth Test Patch
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (12 preceding siblings ...)
2016-08-07 0:58 ` bugzilla-daemon
@ 2016-08-17 21:30 ` bugzilla-daemon
2016-08-22 12:39 ` bugzilla-daemon
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-17 21:30 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
ingvarthorvald@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ingvarthorvald@gmail.com
--- Comment #14 from ingvarthorvald@gmail.com ---
Can you see if that patch fixed the issue or do I need to write a new one.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (13 preceding siblings ...)
2016-08-17 21:30 ` bugzilla-daemon
@ 2016-08-22 12:39 ` bugzilla-daemon
2016-08-22 14:18 ` bugzilla-daemon
2016-08-23 9:35 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-22 12:39 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #15 from Nicolas Royer <nroyer@edevice.com> ---
Unfortunately the leak is still there.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (14 preceding siblings ...)
2016-08-22 12:39 ` bugzilla-daemon
@ 2016-08-22 14:18 ` bugzilla-daemon
2016-08-23 9:35 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-22 14:18 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
--- Comment #16 from ingvarthorvald@gmail.com ---
Seems someone else has fixed this and moved it upstream so just close this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug 120691] UART HCI memory leak
2016-06-20 13:46 [Bug 120691] New: UART HCI memory leak bugzilla-daemon
` (15 preceding siblings ...)
2016-08-22 14:18 ` bugzilla-daemon
@ 2016-08-23 9:35 ` bugzilla-daemon
16 siblings, 0 replies; 18+ messages in thread
From: bugzilla-daemon @ 2016-08-23 9:35 UTC (permalink / raw)
To: linux-bluetooth
https://bugzilla.kernel.org/show_bug.cgi?id=120691
nico.edev@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |PATCH_ALREADY_AVAILABLE
--- Comment #17 from nico.edev@gmail.com ---
Exactly; I tried this patch and the leak disappeared:
http://marc.info/?l=linux-bluetooth&m=147193208628547
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 18+ messages in thread