[Bug 838078] [NEW] bluetoothd crashed leaving traces in syslog

Jeff Lane jeffrey.lane at canonical.com
Wed Aug 31 13:02:44 UTC 2011


Public bug reported:

No idea what caused this or why it happened, but bluetoothd crashed
over-night, leaving traces in syslog.  Bluetooth was not recoverable at
this point, forcing me to reboot to get bluetooth running again.  The
system in question is an Alienware M15x.

Also, I noticed that 'hcitool dev' at least still shows the adapter, I
just can't do anything with it.  And because this just happened at
night, when the machine was sitting idle, I have no idea how to manually
reproduce this either.

Here's a trace from syslog:
Aug 31 08:05:09 klaatu kernel: [375608.479659] ------------[ cut here ]------------
Aug 31 08:05:09 klaatu kernel: [375608.479671] WARNING: at /build/buildd/linux-2.6.38/fs/sysfs/di
r.c:455 sysfs_add_one+0xc8/0xf0()
Aug 31 08:05:09 klaatu kernel: [375608.479677] Hardware name: M15x
Aug 31 08:05:09 klaatu kernel: [375608.479680] sysfs: cannot create duplicate filename '/class/bl
uetooth/hci0:11'
Aug 31 08:05:09 klaatu kernel: [375608.479684] Modules linked in: cryptd aes_x86_64 aes_generic n
ls_utf8 isofs nls_iso8859_1 nls_cp437 vfat fat vboxnetadp vboxnetflt vboxdrv usb_storage uas ipta
ble_filter ip_tables x_tables hid_magicmouse hidp binfmt_misc rfcomm sco bnep l2cap vesafb parpor
t_pc ppdev nfsd nvidia(P) kvm_intel exportfs nfs kvm snd_hda_codec_hdmi lockd arc4 r852 sm_common
 nand fscache joydev snd_hda_codec_idt nfs_acl auth_rpcgss iwlagn snd_hda_intel iwlcore nand_ids 
snd_hda_codec snd_hwdep mac80211 nand_ecc snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd
_seq snd_timer cfg80211 uvcvideo videodev btusb bluetooth v4l2_compat_ioctl32 mtd sunrpc dell_wmi
 lp sparse_keymap parport i7core_edac psmouse edac_core snd_seq_device serio_raw snd soundcore sn
d_page_alloc video usbhid hid firewire_ohci e1000e ahci libahci firewire_core sdhci_pci sdhci crc
_itu_t [last unloaded: ipmi_msghandler]
Aug 31 08:05:09 klaatu kernel: [375608.479843] Pid: 21683, comm: kworker/u:2 Tainted: P        W 
  2.6.38-11-generic #48-Ubuntu
Aug 31 08:05:09 klaatu kernel: [375608.479848] Call Trace:
Aug 31 08:05:09 klaatu kernel: [375608.479859]  [<ffffffff81065cbf>] ? warn_slowpath_common+0x7f/
0xc0
Aug 31 08:05:09 klaatu kernel: [375608.479866]  [<ffffffff81065db6>] ? warn_slowpath_fmt+0x46/0x5
0
Aug 31 08:05:09 klaatu kernel: [375608.479898]  [<ffffffff811d58e8>] ? sysfs_add_one+0xc8/0xf0
Aug 31 08:05:09 klaatu kernel: [375608.479905]  [<ffffffff811d624b>] ? sysfs_do_create_link+0x12b
/0x210
Aug 31 08:05:09 klaatu kernel: [375608.479912]  [<ffffffff811d6343>] ? sysfs_create_link+0x13/0x2
0
Aug 31 08:05:09 klaatu kernel: [375608.479920]  [<ffffffff813b6d93>] ? device_add_class_symlinks+
0xb3/0xd0
Aug 31 08:05:09 klaatu kernel: [375608.479927]  [<ffffffff811d4ac6>] ? sysfs_create_file+0x26/0x3
0
Aug 31 08:05:09 klaatu kernel: [375608.479951]  [<ffffffff813b8238>] ? device_add+0x248/0x410
Aug 31 08:05:09 klaatu kernel: [375608.479957]  [<ffffffff813b7fcb>] ? device_private_init+0x5b/0
x80
Aug 31 08:05:09 klaatu kernel: [375608.479974]  [<ffffffffa01a74e0>] ? add_conn+0x0/0xe0 [bluetoo
th]
Aug 31 08:05:09 klaatu kernel: [375608.479988]  [<ffffffffa01a7534>] ? add_conn+0x54/0xe0 [blueto
oth]
Aug 31 08:05:09 klaatu kernel: [375608.479997]  [<ffffffff8108284d>] ? process_one_work+0x11d/0x4
20
Aug 31 08:05:09 klaatu kernel: [375608.480005]  [<ffffffff810832e9>] ? worker_thread+0x169/0x360
Aug 31 08:05:09 klaatu kernel: [375608.480012]  [<ffffffff81083180>] ? worker_thread+0x0/0x360
Aug 31 08:05:09 klaatu kernel: [375608.480019]  [<ffffffff81087866>] ? kthread+0x96/0xa0
Aug 31 08:05:09 klaatu kernel: [375608.480027]  [<ffffffff8100ce24>] ? kernel_thread_helper+0x4/0
x10
Aug 31 08:05:09 klaatu kernel: [375608.480034]  [<ffffffff810877d0>] ? kthread+0x0/0xa0
Aug 31 08:05:09 klaatu kernel: [375608.480040]  [<ffffffff8100ce20>] ? kernel_thread_helper+0x0/0
x10
Aug 31 08:05:09 klaatu kernel: [375608.480045] ---[ end trace e9014f4e8fabe479 ]---
Aug 31 08:05:09 klaatu kernel: [375608.480088] add_conn: Failed to register connection device
Aug 31 08:05:10 klaatu kernel: [375608.787976] BUG: unable to handle kernel NULL pointer derefere
nce at 0000000000000039
Aug 31 08:05:10 klaatu kernel: [375608.787986] IP: [<ffffffff811d5a35>] sysfs_create_dir+0x35/0xc
0
Aug 31 08:05:10 klaatu kernel: [375608.787998] PGD 0 
Aug 31 08:05:10 klaatu kernel: [375608.788004] Oops: 0000 [#1] SMP 
Aug 31 08:05:10 klaatu kernel: [375608.788009] last sysfs file: /sys/devices/LNXSYSTM:00/device:0
0/PNP0C0A:00/power_supply/BAT0/energy_full
Aug 31 08:05:10 klaatu kernel: [375608.788016] CPU 1 
Aug 31 08:05:10 klaatu kernel: [375608.788018] Modules linked in: cryptd aes_x86_64 aes_generic n
ls_utf8 isofs nls_iso8859_1 nls_cp437 vfat fat vboxnetadp vboxnetflt vboxdrv usb_storage uas ipta
ble_filter ip_tables x_tables hid_magicmouse hidp binfmt_misc rfcomm sco bnep l2cap vesafb parpor
t_pc ppdev nfsd nvidia(P) kvm_intel exportfs nfs kvm snd_hda_codec_hdmi lockd arc4 r852 sm_common
 nand fscache joydev snd_hda_codec_idt nfs_acl auth_rpcgss iwlagn snd_hda_intel iwlcore nand_ids 
snd_hda_codec snd_hwdep mac80211 nand_ecc snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd
_seq snd_timer cfg80211 uvcvideo videodev btusb bluetooth v4l2_compat_ioctl32 mtd sunrpc dell_wmi
 lp sparse_keymap parport i7core_edac psmouse edac_core snd_seq_device serio_raw snd soundcore sn
d_page_alloc video usbhid hid firewire_ohci e1000e ahci libahci firewire_core sdhci_pci sdhci crc
_itu_t [last unloaded: ipmi_msghandler]
Aug 31 08:05:10 klaatu kernel: [375608.788141] 
Aug 31 08:05:10 klaatu kernel: [375608.788146] Pid: 1744, comm: bluetoothd Tainted: P        W   
2.6.38-11-generic #48-Ubuntu Alienware M15x/      
Aug 31 08:05:10 klaatu kernel: [375608.788157] RIP: 0010:[<ffffffff811d5a35>]  [<ffffffff811d5a35
>] sysfs_create_dir+0x35/0xc0
Aug 31 08:05:10 klaatu kernel: [375608.788166] RSP: 0018:ffff880108473a98  EFLAGS: 00010246
Aug 31 08:05:10 klaatu kernel: [375608.788170] RAX: ffff88000b807960 RBX: ffff880002129898 RCX: f
fff8800021298a0
Aug 31 08:05:10 klaatu kernel: [375608.788175] RDX: ffff88007c63ec28 RSI: 0000000000000000 RDI: f
fff880002129898
Aug 31 08:05:10 klaatu kernel: [375608.788180] RBP: ffff880108473ac8 R08: 0000000000000000 R09: f
fff88010b722c00
Aug 31 08:05:10 klaatu kernel: [375608.788185] R10: ffff8801144ce140 R11: dead000000200200 R12: 0000000000000000
Aug 31 08:05:10 klaatu kernel: [375608.788189] R13: 0000000000000000 R14: ffff880002129ac0 R15: 00000000ffffffea
Aug 31 08:05:10 klaatu kernel: [375608.788195] FS:  00007f1df5973740(0000) GS:ffff8800c7040000(0000) knlGS:0000000000000000
Aug 31 08:05:10 klaatu kernel: [375608.788200] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 31 08:05:10 klaatu kernel: [375608.788205] CR2: 0000000000000039 CR3: 0000000109db9000 CR4: 0
0000000000006e0
Aug 31 08:05:10 klaatu kernel: [375608.788210] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0
000000000000000
Aug 31 08:05:10 klaatu kernel: [375608.788215] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0
000000000000400
Aug 31 08:05:10 klaatu kernel: [375608.788221] Process bluetoothd (pid: 1744, threadinfo ffff8801
08472000, task ffff88010f9096e0)
Aug 31 08:05:10 klaatu kernel: [375608.788225] Stack:
Aug 31 08:05:10 klaatu kernel: [375608.788228]  ffff8801144cf200 ffff880137823138 ffff880108473ac
8 ffff880002129898
Aug 31 08:05:10 klaatu kernel: [375608.788236]  00000000fffffffe ffff88000b807960 ffff880108473b0
8 ffffffff812dd0a7
Aug 31 08:05:10 klaatu kernel: [375608.788244]  ffff880108473ae8 ffff880002129898 ffff88000b80796
0 0000000000000000
Aug 31 08:05:10 klaatu kernel: [375608.788252] Call Trace:
Aug 31 08:05:10 klaatu kernel: [375608.788263]  [<ffffffff812dd0a7>] kobject_add_internal+0xb7/0x
240
Aug 31 08:05:10 klaatu kernel: [375608.788271]  [<ffffffff812dd4bd>] kobject_add+0x6d/0xb0
Aug 31 08:05:10 klaatu kernel: [375608.788279]  [<ffffffff813b8105>] device_add+0x115/0x410
Aug 31 08:05:10 klaatu kernel: [375608.788294]  [<ffffffffa008cb9c>] hid_add_device+0x8c/0x1d0 [h
id]
Aug 31 08:05:10 klaatu kernel: [375608.788303]  [<ffffffffa0ef1ff9>] hidp_setup_hid+0x169/0x1c0 [
hidp]
Aug 31 08:05:10 klaatu kernel: [375608.788312]  [<ffffffff81087ff0>] ? wake_bit_function+0x0/0x50
Aug 31 08:05:10 klaatu kernel: [375608.788321]  [<ffffffffa0ef2b97>] hidp_add_connection+0x3e7/0x
430 [hidp]
Aug 31 08:05:10 klaatu kernel: [375608.788330]  [<ffffffffa0ef31b7>] hidp_sock_ioctl+0x247/0x310 
[hidp]
Aug 31 08:05:10 klaatu kernel: [375608.788340]  [<ffffffff81155e27>] ? __kmalloc+0x117/0x160
Aug 31 08:05:10 klaatu kernel: [375608.788348]  [<ffffffff8127b036>] ? security_sk_alloc+0x16/0x2
0
Aug 31 08:05:10 klaatu kernel: [375608.788357]  [<ffffffff814c0e83>] ? sk_prot_alloc+0x83/0x180
Aug 31 08:05:10 klaatu kernel: [375608.788364]  [<ffffffff811555cf>] ? kmem_cache_alloc_trace+0xf
f/0x120
Aug 31 08:05:10 klaatu kernel: [375608.788371]  [<ffffffff814bacd0>] sock_do_ioctl+0x30/0x70
Aug 31 08:05:10 klaatu kernel: [375608.788378]  [<ffffffff814bbc19>] sock_ioctl+0x79/0x2f0
Aug 31 08:05:10 klaatu kernel: [375608.788386]  [<ffffffff811764ff>] do_vfs_ioctl+0x8f/0x360
Aug 31 08:05:10 klaatu kernel: [375608.788393]  [<ffffffff81176861>] sys_ioctl+0x91/0xa0
Aug 31 08:05:10 klaatu kernel: [375608.788399]  [<ffffffff814bd961>] ? sys_socket+0x51/0x80
Aug 31 08:05:10 klaatu kernel: [375608.788406]  [<ffffffff8100c002>] system_call_fastpath+0x16/0x
1b
Aug 31 08:05:10 klaatu kernel: [375608.788410] Code: 83 ec 18 0f 1f 44 00 00 48 85 ff 48 89 fb 0f
 84 98 00 00 00 48 8b 47 18 49 c7 c4 40 81 a4 81 48 85 c0 74 04 4c 8b 60 30 45 31 ed <41> 80 7c 2
4 39 00 75 5b 48 89 df e8 4b 80 10 00 48 85 c0 74 66 
Aug 31 08:05:10 klaatu kernel: [375608.788472] RIP  [<ffffffff811d5a35>] sysfs_create_dir+0x35/0x
c0
Aug 31 08:05:10 klaatu kernel: [375608.788479]  RSP <ffff880108473a98>
Aug 31 08:05:10 klaatu kernel: [375608.788482] CR2: 0000000000000039
Aug 31 08:05:10 klaatu kernel: [375608.788487] ---[ end trace e9014f4e8fabe47a ]---

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bluez 4.91-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Aug 31 08:53:22 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterestingModules: rfcomm sco bnep l2cap btusb bluetooth
MachineType: Alienware M15x
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic root=UUID=acc23352-13ab-4854-b1d7-a1099a5bf3a5 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: bluez
UpgradeStatus: Upgraded to natty on 2011-06-03 (89 days ago)
dmi.bios.date: 08/24/2010
dmi.bios.vendor: Alienware
dmi.bios.version: A08
dmi.board.vendor: Alienware
dmi.board.version: A08
dmi.chassis.type: 8
dmi.chassis.vendor: Alienware
dmi.chassis.version: A08
dmi.modalias: dmi:bvnAlienware:bvrA08:bd08/24/2010:svnAlienware:pnM15x:pvrA08:rvnAlienware:rn:rvrA08:cvnAlienware:ct8:cvrA08:
dmi.product.name: M15x
dmi.product.version: A08
dmi.sys.vendor: Alienware
hciconfig:
 hci0:	Type: BR/EDR  Bus: USB
 	BD Address: 70:F1:A1:00:E2:11  ACL MTU: 1021:8  SCO MTU: 64:8
 	UP RUNNING PSCAN ISCAN 
 	RX bytes:12925 acl:788 sco:0 events:44 errors:0
 	TX bytes:817 acl:9 sco:0 commands:29 errors:0

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty running-unity

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/838078

Title:
  bluetoothd crashed leaving traces in syslog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/838078/+subscriptions



More information about the Ubuntu-bluetooth mailing list