Long delay when browsing a device (obex)

Bug #543163 reported by Oliver Joos
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: bluez

Pairing with phone works flawlessly. But while browsing through obex nautilus often does nothing for 30...60 seconds. dmseg and syslog don't show any problem. In Lucid alpha 2 and 3 there were (recoverable) kernel crashes while browsing. Since Lucid beta 1 there are no crashes or lost connections anymore - just those long timeouts. In Karmic there are no such timeouts.

I use a Live-CD of Lucid beta 1 on a HP Compaq nx8220 and a Nokia N81:
$ lsusb
Bus 003 Device 002: ID 03f0:011d Hewlett-Packard Integrated Bluetooth Module
...

I hope I guessed the package right. I'd be glad to submit further infos about this bug. It's easy to reproduce for me.
---
Architecture: i386
DistroRelease: Ubuntu 10.04
InterestingModules: rfcomm sco bnep l2cap btusb bluetooth
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Hewlett-Packard HP Compaq nx8220 (PY517EA#ABD)
Package: bluez 4.60-0ubuntu8
PackageArchitecture: i386
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=(loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/lucid-desktop-i386.iso noeject noprompt --
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 07/11/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68DTV Ver. F.16
dmi.board.name: 0934
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 43.1D
dmi.chassis.asset.tag: oliverhp
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68DTVVer.F.16:bd07/11/2007:svnHewlett-Packard:pnHPCompaqnx8220(PY517EA#ABD):pvrF.16:rvnHewlett-Packard:rn0934:rvrKBCVersion43.1D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq nx8220 (PY517EA#ABD)
dmi.product.version: F.16
dmi.sys.vendor: Hewlett-Packard
hciconfig:
 hci0: Type: USB
  BD Address: 00:16:41:7C:AC:64 ACL MTU: 377:10 SCO MTU: 16:0
  UP RUNNING PSCAN
  RX bytes:7288368 acl:22683 sco:0 events:1045 errors:0
  TX bytes:25573 acl:1239 sco:0 commands:42 errors:0
rfkill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Hi Oliver,

First could open a terminal and type the following "apport-collect 543163", this will help me to know your setup.
secondly, on a terminal and do the following:
$ cd /usr/share/doc/obexd-client/examples/
$ ./list-folders xx:xx:xx:xx:xx:xx / (where xx:xx:xx:xx:xx:xx is the address of your device)
and then provide another path, as you would browse in a graphical browser.

tell me if you encounter the same problem.

summary: - 30 sec timeouts since Lucid
+ Long delay when browsing a device (obex)
Revision history for this message
Oliver Joos (oliver-joos) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Oliver Joos (oliver-joos) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : Dependencies.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : Lspci.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : Lsusb.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : ProcModules.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : UdevDb.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : UdevLog.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote : syslog.txt

apport information

Revision history for this message
Oliver Joos (oliver-joos) wrote :

I reproduced the bug by booting a Live-CD of Lucid 10.04 final release. See the apport infos above.

To reproduce I disconnect, reconnect and then browse my Nokia N81. I realized that each time before the described delay of about 26 secs occurs, there is a smaller delay (some seconds) while browsing through directories on the phone. This smaller delay is unpredictable but only occurred when changing back to a parent directory that already has been opened before:

I attach here a log file produced by "sudo hcidump -XYt > $HOME/hci.log" while doing this:
1. Browse files on device...
2. Click on E:/ (memory card in the phone)
3. Click on Images/
4. Click on a subdir of Images/
5. Click back on E:/ => delay of some seconds
6. Drag&Drop a file from E:/ to Desktop => delay of about 26 secs

Revision history for this message
Oliver Joos (oliver-joos) wrote :

@Baptiste: Sorry, I nearly forgot: I never saw a delay when using /usr/share/doc/obexd-client/examples/list-folders.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bluez (Ubuntu):
status: New → Confirmed
Revision history for this message
Konrad Zapałowicz (kzapalowicz) wrote :

This is reported against an old version of Ubuntu and many things has changed since then. Because of that we won't fix this issue however if this behavior repeats on a modern version please fill a bug report against it and we will take it from there.

Changed in bluez (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.