Your message dated Tue, 2 Jun 2009 22:59:05 +0200
with message-id <[email protected]>
and subject line Re: Bug#414894: segfaults on dbus pin request on amd64
has caused the Debian Bug report #414894,
regarding segfaults on dbus pin request on amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
414894: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414894
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bluez-utils
Version: 3.7-1
Severity: important

If I try to connect to a bluetooth device (e.g. with hidd) from an
amd64 machine, hcid eventually segfaults. strace is attached.

piper:/etc/bluetooth# strace -f -o /tmp/hcid.strace hcid
Mar 14 16:44:24 piper hcid[20544]: Bluetooth HCI daemon
Mar 14 16:44:24 piper hcid[20544]: Register path:/org/bluez fallback:1
Mar 14 16:44:24 piper hcid[20544]: HCI dev 0 registered
Mar 14 16:44:24 piper hcid[20544]: Register path:/org/bluez/hci0 fallback:0
Mar 14 16:44:24 piper hcid[20544]: HCI dev 0 already up
Mar 14 16:44:24 piper hcid[20544]: Device hci0 has been added
Mar 14 16:44:24 piper hcid[20544]: Starting security manager 0
Mar 14 16:44:24 piper hcid[20544]: Device hci0 has been activated
Mar 14 16:44:24 piper hcid[20544]: Bluetooth HCI daemon
Mar 14 16:44:24 piper hcid[20544]: Register path:/org/bluez fallback:1
Mar 14 16:44:24 piper hcid[20544]: HCI dev 0 registered
Mar 14 16:44:24 piper hcid[20544]: Register path:/org/bluez/hci0 fallback:0
Mar 14 16:44:24 piper hcid[20544]: HCI dev 0 already up
Mar 14 16:44:24 piper hcid[20544]: Device hci0 has been added
Mar 14 16:44:24 piper hcid[20544]: Starting security manager 0
Mar 14 16:44:24 piper hcid[20544]: Device hci0 has been activated
Mar 14 16:44:37 piper hcid[20544]: pin_code_request (sba=08:00:17:1D:35:D3, 
dba=00:18:13:1B:D4:0F)
Mar 14 16:44:37 piper hcid[20544]: call_passkey_agent(): no agent registered
Mar 14 16:44:37 piper hcid[20544]: pin_code_request (sba=08:00:17:1D:35:D3, 
dba=00:18:13:1B:D4:0F)
Mar 14 16:44:37 piper hcid[20544]: call_passkey_agent(): no agent registered
Mar 14 16:44:42 piper hcid[20544]: Got disconnected from the system message bus
Mar 14 16:44:42 piper hcid[20544]: Got disconnected from the system message bus
Mar 14 16:44:47 piper hcid[20544]: Register path:/org/bluez fallback:1
Mar 14 16:44:47 piper hcid[20544]: Register path:/org/bluez fallback:1
[segfault]

Note how the first attempt fails because hcid does not register with
dbus it seems, so only a /etc/init.d/dbus restart makes things work.
However, then, at the point when a passphrase would be required by
the user (which is where dbus comes in), the programme segfaults.
Reproducible at will.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages bluez-utils depends on:
ii  dbus                        1.0.2-1      simple interprocess messaging syst
ii  libbluetooth2               3.9-1        Library to use the BlueZ Linux Blu
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdbus-1-3                 1.0.2-1      simple interprocess messaging syst
ii  libusb-0.1-4                2:0.1.12-6   userspace USB programming library
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  makedev                     2.3.1-83     creates device files in /dev
ii  module-init-tools           3.3-pre4-2   tools for managing Linux kernel mo
ii  udev                        0.105-3      /dev/ and hotplug management daemo

Versions of packages bluez-utils recommends:
ii  bluez-gnome [bluez-passkey-gn 0.6-1      Bluetooth utilities for GNOME

-- no debconf information

-- 
 .''`.   martin f. krafft <[email protected]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: hcid.strace.bz2
Description: Binary data

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


--- End Message ---
--- Begin Message ---
On Tue, Jun 02, 2009 at 07:18:35PM +0200, martin f krafft wrote:
> also sprach Filippo Giunchedi <[email protected]> [2009.06.01.1742 +0200]:
> > does this old bug still applies? note that with bluez 4.40 there's a
> > bluetooth-agent you can pair with from the commandline, please try that
> 
> I have not seen it since, not even with 3.36.

closing then, thanks

filippo
--
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

If there is any better use for being famous and respected than using
that status to question orthodoxy, I haven't found it yet.
-- Eric S. Raymond


--- End Message ---

Reply via email to