[Pkg-bluetooth-maintainers] Bug#501222: /usr/sbin/hcid: falls into a infinite loop

Oleg Broytmann phd at phd.pp.ru
Sun Oct 5 17:30:24 UTC 2008


Package: bluez-utils
Version: 3.36-1
File: /usr/sbin/hcid
Severity: grave
Justification: renders package unusable

Hello!

I am using a notebook with a builtin bluetooth:

$ lsusb | grep -Fi bluetooth
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

In Debian 4.0 "etch" it was working perfectly; I used obexftp to backup the
address book of my mobile phone; I also used pppd to connect to the Net
using GPRS service.

After I upgraded to Debian 5 "testing soon to be lenny" bluetooth stopped
working.

For quite some time I'm using command-line passkey-agent compiled from
bluez-utils/examples (I use neither GNOME nor KDE). After upgrade to "lenny"
the passkey-agent cannot connect to hcid. When I start the agent hcid
reports in syslog:

Oct  3 21:17:01 nb2 hcid[19272]: register_passkey_agent called without any adapter info!

and then falls into an infinite loop:

Oct  3 21:17:32 nb2 last message repeated 1847660 times
Oct  3 21:18:33 nb2 last message repeated 3590576 times
Oct  3 21:19:34 nb2 last message repeated 2631673 times
Oct  3 21:20:35 nb2 last message repeated 2627346 times
Oct  3 21:21:36 nb2 last message repeated 3120581 times
Oct  3 21:22:37 nb2 last message repeated 3591808 times
Oct  3 21:23:38 nb2 last message repeated 3656546 times
Oct  3 21:24:39 nb2 last message repeated 3694883 times
Oct  3 21:25:40 nb2 last message repeated 3688772 times
Oct  3 21:26:41 nb2 last message repeated 3656076 times
Oct  3 21:27:42 nb2 last message repeated 3695098 times
Oct  3 21:28:43 nb2 last message repeated 3180151 times
Oct  3 21:29:44 nb2 last message repeated 3720729 times
Oct  3 21:30:45 nb2 last message repeated 3712572 times
Oct  3 21:31:46 nb2 last message repeated 3567973 times
Oct  3 21:32:46 nb2 last message repeated 3700042 times
Oct  3 21:33:46 nb2 last message repeated 3664592 times
Oct  3 21:34:46 nb2 last message repeated 3685666 times
Oct  3 21:35:43 nb2 last message repeated 3278761 times

After that it cannot be killed, only kill -9 really kills it, and after
being killed it won't start - it logs "Unable to get on D-BUS"; to overcome
this I have to restart dbus (could the entire problem be related to dbus,
not bluetooth or hcid?); then hcid starts but still doesn't work.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages bluez-utils depends on:
ii  dbus                         1.2.1-3     simple interprocess messaging syst
ii  libbluetooth2                3.36-1      Library to use the BlueZ Linux Blu
ii  libc6                        2.7-13      GNU C Library: Shared libraries
ii  libdbus-1-3                  1.2.1-3     simple interprocess messaging syst
ii  libglib2.0-0                 2.16.5-1    The GLib library of C routines
ii  libusb-0.1-4                 2:0.1.12-12 userspace USB programming library
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  makedev                      2.3.1-88    creates device files in /dev
ii  module-init-tools            3.4-1       tools for managing Linux kernel mo
ii  udev                         0.125-6     /dev/ and hotplug management daemo

Versions of packages bluez-utils recommends:
pn  bluez-audio                   <none>     (no description available)
pn  obex-data-server              <none>     (no description available)

Versions of packages bluez-utils suggests:
pn  bluez-firmware                <none>     (no description available)
pn  bluez-gnome | kdebluetooth    <none>     (no description available)

-- no debconf information

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Pkg-bluetooth-maintainers mailing list