linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomas Targownik <ttargownik@geicp.com>
To: "Gustavo F. Padovan" <padovan@profusion.mobi>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Memory leak on failed connection attempt
Date: Mon, 20 Jun 2011 13:15:23 +1000	[thread overview]
Message-ID: <1308539723.2042.34.camel@rnd3> (raw)
In-Reply-To: <20110616212645.GF2594@joana>

On Thu, 2011-06-16 at 18:26 -0300, Gustavo F. Padovan wrote:
> Hi Tomas,
> [...]
> I also need the hcidump output of this.
>

Hi Gustavo, 

When running this command, with the remote dongle physically unplugged-
root@mydevice:~# pand --role GN --service PANU --connect
00:0A:94:02:A5:7A

The hcidump output is-
HCI sniffer - Bluetooth packet analyzer ver 2.1
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:0A:94:02:A5:7A ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
    status 0x04 handle 65535 bdaddr 00:0A:94:02:A5:7A type ACL encrypt
0x00
    Error: Page Timeout


I noticed that the leak does not occur on the first run of this command.
The leak appears on the second, and all subsequent runs. The hcidump
output is the same in each case. 

Thank you, 
Tomas Targownik







  reply	other threads:[~2011-06-20  3:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  6:48 Memory leak on failed connection attempt Tomas Targownik
2011-06-02 13:57 ` Gustavo F. Padovan
2011-06-14  7:03   ` Tomas Targownik
2011-06-15 23:22     ` Tomas Targownik
2011-06-16 21:26       ` Gustavo F. Padovan
2011-06-20  3:15         ` Tomas Targownik [this message]
2011-06-23 22:34         ` Tomas Targownik
2011-06-30  5:22           ` Gustavo F. Padovan
2011-07-04  1:40             ` Tomas Targownik

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=1308539723.2042.34.camel@rnd3 \
    --to=ttargownik@geicp.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    /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;
as well as URLs for NNTP newsgroup(s).