[Bug 1008821] [NEW] system freezes when I unplug my bluetooth headset

amauricio amauricio.al at gmail.com
Tue Jun 5 03:57:05 UTC 2012


Public bug reported:

I have Nokia BH503 Bluetooth headset, I have random problems to connect
with my bluetooth usb, sometimes found, sometimes not, but the most
terrible thing is when I unplug the headphones, the system freezes.

Some facts:
Xubuntu 12.04 Ubuntu Kernel 3.2.0-24-generic
Note: this problem also happens in Ubuntu, Kubuntu and other distributions with different builds of the packages.

USB Bluetooth> 
 hci0: Type: BR / EDR Bus: USB
BD Address: 00:1 F: 81:00:02:50 ACL MTU: 1021:4 SCO MTU: 180:1
RUNNING UP PSCAN
RX bytes: 710 acl: 0 sco: 0 events: 26 errors: 0
TX bytes: 364 acl: 0 sco: 0 commands: 26 errors: 2
Features: 0xff 0x0d 0x3e 0x76 0x80 0x01 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD SNIFF RSWITCH
Link mode: SLAVE ACCEPT
Name: 'xubuntu-0'
Class: 0x6e0100
Service Classes: Networking, Rendering, Capturing, Audio, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.0 (0x3) Revision: 0x3
LMP Version: 2.0 (0x3) Subversion: 0x3
Manufacturer: Cambridge Silicon Radio (10)

Some outputs kernel.log


Jun  3 19:01:52 angel-G31T-M7 kernel: [  763.866907] Bluetooth: Generic Bluetooth USB driver ver 0.6
Jun  3 19:01:52 angel-G31T-M7 kernel: [  763.867847] usbcore: registered new interface driver btusb
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032826] ------------[ cut here ]------------
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032835] WARNING: at /build/buildd/linux-3.2.0/mm/slub.c:3371 ksize+0x8b/0x90()
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032837] Hardware name: G31T-M7
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032839] Modules linked in: btusb pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth snd_hda_codec_via snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq drm_kms_helper snd_timer snd_seq_device drm snd soundcore snd_page_alloc ppdev i2c_algo_bit mac_hid video parport_pc lp parport usbhid hid r8169
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032870] Pid: 992, comm: Xorg Tainted: G           O 3.2.0-24-generic #39-Ubuntu
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032872] Call Trace:
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032877]  [<c1561fc3>] ? printk+0x2d/0x2f
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032882]  [<c104b2a2>] warn_slowpath_common+0x72/0xa0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032884]  [<c111fdbb>] ? ksize+0x8b/0x90
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032887]  [<c111fdbb>] ? ksize+0x8b/0x90
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032889]  [<c104b2f2>] warn_slowpath_null+0x22/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032892]  [<c111fdbb>] ksize+0x8b/0x90
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032896]  [<c1470a60>] __alloc_skb+0x60/0x200
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032900]  [<c146cf24>] sock_alloc_send_pskb+0xd4/0x210
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032902]  [<c146d07d>] sock_alloc_send_skb+0x1d/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032906]  [<c14fb01c>] unix_stream_sendmsg+0x2dc/0x3f0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032910]  [<c146989f>] do_sock_write.isra.10+0xbf/0xd0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032913]  [<c1469903>] sock_aio_write+0x53/0x70
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032917]  [<c1269f75>] ? apparmor_socket_recvmsg+0x15/0x20
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032920]  [<c14698b0>] ? do_sock_write.isra.10+0xd0/0xd0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032924]  [<c1133284>] do_sync_readv_writev+0xa4/0xe0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032927]  [<c12a5932>] ? _copy_from_user+0x42/0x60
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032930]  [<c1132a6c>] ? rw_verify_area+0x6c/0x120
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032933]  [<c11334d3>] do_readv_writev+0xa3/0x190
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032935]  [<c14698b0>] ? do_sock_write.isra.10+0xd0/0xd0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032938]  [<c1132a6c>] ? rw_verify_area+0x6c/0x120
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032942]  [<c10501fb>] ? do_setitimer+0x13b/0x230
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032945]  [<c11335fe>] vfs_writev+0x3e/0x60
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032947]  [<c113375d>] sys_writev+0x3d/0xa0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032950]  [<c1577144>] syscall_call+0x7/0xb
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032952] ---[ end trace af6183562c47af17 ]---
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.032968] ------------[ cut here ]------------
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033005] kernel BUG at /build/buildd/linux-3.2.0/mm/slub.c:3427!
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033040] invalid opcode: 0000 [#1] SMP 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033072] Modules linked in: btusb pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth snd_hda_codec_via snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq drm_kms_helper snd_timer snd_seq_device drm snd soundcore snd_page_alloc ppdev i2c_algo_bit mac_hid video parport_pc lp parport usbhid hid r8169
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033370] 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033385] Pid: 1992, comm: gnome-control-c Tainted: G        W  O 3.2.0-24-generic #39-Ubuntu ECS G31T-M7/G31T-M7
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033448] EIP: 0060:[<c112185f>] EFLAGS: 00210246 CPU: 0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033481] EIP is at kfree+0x10f/0x120
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033503] EAX: 40000400 EBX: c1470308 ECX: f608a860 EDX: 00000000
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033538] ESI: f53d3120 EDI: ef175e90 EBP: ef175ce8 ESP: ef175cc0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033574]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033605] Process gnome-control-c (pid: 1992, ti=ef174000 task=ef78cbc0 task.ti=ef174000)
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033649] Stack:
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033663]  c14f8eae ef175cd0 c146d91a ef790000 ef175cf8 c1470308 f6089920 ef790000
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033728]  ef790000 ef175e90 ef175cf8 c1470308 ef790000 ef790000 ef175d04 c147035d
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033793]  ef790000 ef175d10 c1470387 ef790000 ef175d28 c14703d0 c146fd96 ef790000
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033856] Call Trace:
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033873]  [<c14f8eae>] ? unix_write_space+0x1e/0x20
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033904]  [<c146d91a>] ? sock_wfree+0x4a/0x60
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033933]  [<c1470308>] ? skb_release_data.part.54+0x78/0x80
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.033968]  [<c1470308>] skb_release_data.part.54+0x78/0x80
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034002]  [<c147035d>] skb_release_data+0x4d/0x60
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034032]  [<c1470387>] __kfree_skb+0x17/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034058]  [<c14703d0>] consume_skb+0x30/0x90
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034085]  [<c146fd96>] ? skb_unlink+0x46/0x60
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034113]  [<c14fb32a>] unix_stream_recvmsg+0x1fa/0x4d0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034145]  [<c1269f75>] ? apparmor_socket_recvmsg+0x15/0x20
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034179]  [<c1468e45>] sock_recvmsg+0x105/0x130
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034208]  [<c1469903>] ? sock_aio_write+0x53/0x70
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034240]  [<c10e6680>] ? find_get_page+0x20/0xa0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034270]  [<c146b169>] sys_recvfrom+0xd9/0x160
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034298]  [<c113356e>] ? do_readv_writev+0x13e/0x190
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034329]  [<c146b22b>] sys_recv+0x3b/0x40
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034357]  [<c146b9f2>] sys_socketcall+0x182/0x2c0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034387]  [<c1577144>] syscall_call+0x7/0xb
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034416]  [<c1570000>] ? ahci_error_intr+0x215/0x324
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034445] Code: e8 8b 75 dc 8b 4d f0 89 04 24 89 f8 89 f2 e8 9c 47 44 00 eb a4 f6 c4 c0 74 11 89 f0 e8 7b f3 fc ff eb 96 8b 76 1c e9 33 ff ff ff <0f> 0b eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 55 89 e5 53 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.034739] EIP: [<c112185f>] kfree+0x10f/0x120 SS:ESP 0068:ef175cc0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.067542] ---[ end trace af6183562c47af18 ]---
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] BUG: unable to handle kernel paging request at 80080028
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] IP: [<c1122591>] __kmalloc+0xb1/0x1e0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] *pde = 00000000 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Oops: 0000 [#2] SMP 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Modules linked in: btusb pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth snd_hda_codec_via snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq drm_kms_helper snd_timer snd_seq_device drm snd soundcore snd_page_alloc ppdev i2c_algo_bit mac_hid video parport_pc lp parport usbhid hid r8169
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Pid: 992, comm: Xorg Tainted: G      D W  O 3.2.0-24-generic #39-Ubuntu ECS G31T-M7/G31T-M7
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] EIP: 0060:[<c1122591>] EFLAGS: 00013286 CPU: 1
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] EIP is at __kmalloc+0xb1/0x1e0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] EAX: 00000000 EBX: 80080028 ECX: 80080028 EDX: 00001fc8
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] ESI: f3802580 EDI: 00001fc8 EBP: ef38fd5c ESP: ef38fd28
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Process Xorg (pid: 992, ti=ef38e000 task=ef3fd860 task.ti=ef38e000)
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Stack:
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  c112ac3e f63532c0 00000000 80080028 ef38fd64 c1827f00 c12a8527 000000d0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  000003c0 00001fc8 00000030 00000000 ef38fdc4 ef38fd64 c12a8527 ef38fd90
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  c12a8435 00000030 00000fdc 000000cb 000000cc 00000000 00000030 00000030
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Call Trace:
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c112ac3e>] ? __mem_cgroup_commit_charge+0x5e/0xb0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c12a8527>] ? sg_kmalloc+0x17/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c12a8527>] sg_kmalloc+0x17/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c12a8435>] __sg_alloc_table+0x55/0x100
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c12a8783>] sg_alloc_table+0x23/0x50
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c12a8510>] ? sg_kfree+0x30/0x30
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c135b702>] intel_gtt_map_memory.part.19+0x22/0x120
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c135b82d>] intel_gtt_map_memory+0x2d/0x40
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f8353c45>] i915_gem_gtt_bind_object+0x75/0xf0 [i915]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f834d877>] i915_gem_object_bind_to_gtt+0x207/0x400 [i915]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f835023e>] i915_gem_fault+0x20e/0x240 [i915]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f82585de>] ? drm_gem_object_lookup+0x3e/0x50 [drm]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c110444a>] __do_fault+0x5a/0x4d0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f8256e18>] ? drm_ioctl+0x378/0x480 [drm]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c1107aac>] handle_pte_fault+0xec/0x220
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c1107ce8>] handle_mm_fault+0x108/0x210
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c157a300>] ? vmalloc_fault+0xee/0xee
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c157a45b>] do_page_fault+0x15b/0x490
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<f8256aa0>] ? drm_copy_field+0x80/0x80 [drm]
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c1142d19>] ? do_vfs_ioctl+0x79/0x2d0
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c1142fdf>] ? sys_ioctl+0x6f/0x80
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c157a300>] ? vmalloc_fault+0xee/0xee
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004]  [<c15777f7>] error_code+0x67/0x6c
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] Code: 01 00 00 8b 06 64 03 05 08 16 8e c1 8b 50 04 89 55 f0 8b 08 85 c9 89 4d d8 0f 84 23 01 00 00 8b 5d d8 8b 46 14 8b 7d f0 8b 55 f0 <8b> 04 03 83 c7 01 89 7d dc 89 f9 8b 3e 89 45 e0 89 c3 8b 45 d8 
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] EIP: [<c1122591>] __kmalloc+0xb1/0x1e0 SS:ESP 0068:ef38fd28
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.056004] CR2: 0000000080080028
Jun  3 19:03:42 angel-G31T-M7 kernel: [  874.067977] ---[ end trace af6183562c47af19 ]---

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bluetooth 4.98-2ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Tue Jun  5 00:29:28 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
InterestingModules: btusb rfcomm bnep bluetooth
MachineType: ECS G31T-M7
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_AR:es
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=92d27dbe-2e46-45bc-9d16-fd1050efe5e4 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/25/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080014
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: G31T-M7
dmi.board.vendor: ECS
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: ECS
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080014:bd02/25/2010:svnECS:pnG31T-M7:pvr1.0:rvnECS:rnG31T-M7:rvr1.0:cvnECS:ct3:cvr1.0:
dmi.product.name: G31T-M7
dmi.product.version: 1.0
dmi.sys.vendor: ECS
hciconfig:
 hci0:	Type: BR/EDR  Bus: USB
 	BD Address: 00:1F:81:00:02:50  ACL MTU: 1021:4  SCO MTU: 180:1
 	DOWN INIT RUNNING 
 	RX bytes:342 acl:0 sco:0 events:10 errors:0
 	TX bytes:33 acl:0 sco:0 commands:11 errors:1
rfkill:
 0: hci0: Bluetooth
 	Soft blocked: no
 	Hard blocked: no

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


** Tags: apport-bug i386 precise

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

Title:
  system freezes when I unplug my bluetooth headset

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



More information about the Ubuntu-bluetooth mailing list