New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 670462 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner:
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Multiple "bluez::BluezDBusManager::Get" buddy crashes within a few minutes (required reboot every time)

Project Member Reported by roy...@google.com, Dec 1 2016

Issue description

Noticed multiple crashes during CFM meeting on my buddy devices. Haven't seen this before.
Filing for tracking.

https://drive.google.com/open?id=0Bx12NVyIouI0b013aUdGYkdjMm8


2016-12-01T13:41:04.758808-08:00 WARNING kernel: [    6.022962] ------------[ cut here ]------------
2016-12-01T13:41:04.758816-08:00 WARNING kernel: [    6.022986] WARNING: CPU: 1 PID: 4277 at /mnt/host/source/src/third_party/kernel/v3.14/drivers/net/wireless-3.8/iwl7000/mac80211/rate.c:311 __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]()
2016-12-01T13:41:04.758818-08:00 NOTICE kernel: [    6.023004] no supported rates (0xe0) in rate_mask 0x7 with flags 0x0
2016-12-01T13:41:04.758822-08:00 NOTICE kernel: [    6.023011] Modules linked in: i2c_dev uinput cmac memc_x86 x86_pkg_temp_thermal snd_soc_sst_bdw_rt5650_mach iio_trig_sysfs snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_soc_sst_haswell_pcm snd_soc_sst_dsp snd_soc_sst_acpi snd_soc_rt5645 snd_soc_rl6231 fuse zram ip6table_filter ip6_tables btusb btbcm btintel bluetooth iwlmvm r8169 mii iwlwifi iwl7000_mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev cros_ec_accel kfifo_buf industrialio snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ppp_async ppp_generic slhc tun
2016-12-01T13:41:04.758824-08:00 NOTICE kernel: [    6.023107] CPU: 1 PID: 4277 Comm: grep Not tainted 3.14.0 #1
2016-12-01T13:41:04.758825-08:00 NOTICE kernel: [    6.023114] Hardware name: GOOGLE Buddy, BIOS Google_Buddy.6301.202.5 01/09/2016
2016-12-01T13:41:04.758827-08:00 NOTICE kernel: [    6.023122]  0000000000000000 000000000bda6e51 ffff88017ed03880 ffffffff8fc08c25
2016-12-01T13:41:04.758828-08:00 NOTICE kernel: [    6.023135]  ffff88017ed038c8 ffff88017ed038b8 ffffffff8f65d88f ffffffffc00f007a
2016-12-01T13:41:04.758830-08:00 NOTICE kernel: [    6.023146]  ffff88016b0f3628 ffff8800775c4737 ffff88016b0f3630 0000000000000000
2016-12-01T13:41:04.758831-08:00 NOTICE kernel: [    6.023158] Call Trace:
2016-12-01T13:41:04.758833-08:00 NOTICE kernel: [    6.023162]  <IRQ>  [<ffffffff8fc08c25>] dump_stack+0x4d/0x6f
2016-12-01T13:41:04.758835-08:00 NOTICE kernel: [    6.023178]  [<ffffffff8f65d88f>] warn_slowpath_common+0x7f/0x98
2016-12-01T13:41:04.758837-08:00 NOTICE kernel: [    6.023193]  [<ffffffffc00f007a>] ? __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:41:04.758839-08:00 NOTICE kernel: [    6.023205]  [<ffffffff8f65d8ff>] warn_slowpath_fmt+0x57/0x73
2016-12-01T13:41:04.758840-08:00 NOTICE kernel: [    6.023218]  [<ffffffffc00f007a>] __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:41:04.758842-08:00 NOTICE kernel: [    6.023234]  [<ffffffffc00f03fe>] __iwl7000_ieee80211_get_tx_rates+0x27a/0x4c3 [iwl7000_mac80211]
2016-12-01T13:41:04.758844-08:00 NOTICE kernel: [    6.023249]  [<ffffffffc00f0c48>] rate_control_get_rate+0x11b/0x128 [iwl7000_mac80211]
2016-12-01T13:41:04.758846-08:00 NOTICE kernel: [    6.023265]  [<ffffffffc00fc77c>] __iwl7000_ieee80211_tx_dequeue+0x326/0x4a9 [iwl7000_mac80211]
2016-12-01T13:41:04.758847-08:00 NOTICE kernel: [    6.023287]  [<ffffffffc00fe53a>] __iwl7000_ieee80211_probereq_get+0xcd4/0xe18 [iwl7000_mac80211]
2016-12-01T13:41:04.758849-08:00 NOTICE kernel: [    6.023303]  [<ffffffffc0100664>] __ieee80211_subif_start_xmit+0x185/0x1b0 [iwl7000_mac80211]
2016-12-01T13:41:04.758850-08:00 NOTICE kernel: [    6.023318]  [<ffffffffc010069f>] ieee80211_subif_start_xmit+0x10/0x14 [iwl7000_mac80211]
2016-12-01T13:41:04.758852-08:00 NOTICE kernel: [    6.023330]  [<ffffffff8fb3bd5e>] dev_hard_start_xmit+0x2ab/0x451
2016-12-01T13:41:04.758853-08:00 NOTICE kernel: [    6.023339]  [<ffffffff8fb545dc>] sch_direct_xmit+0x73/0x170
2016-12-01T13:41:04.758855-08:00 NOTICE kernel: [    6.023347]  [<ffffffff8fb3c0e4>] __dev_queue_xmit+0x1e0/0x3dd
2016-12-01T13:41:04.758856-08:00 NOTICE kernel: [    6.023356]  [<ffffffff8fb3c2f1>] dev_queue_xmit+0x10/0x12
2016-12-01T13:41:04.758858-08:00 NOTICE kernel: [    6.023364]  [<ffffffff8fb45cec>] neigh_resolve_output+0x16e/0x189
2016-12-01T13:41:04.758859-08:00 NOTICE kernel: [    6.023374]  [<ffffffff8fbced5a>] ip6_finish_output2+0x364/0x3db
2016-12-01T13:41:04.758861-08:00 NOTICE kernel: [    6.023383]  [<ffffffff8fbd1365>] ip6_finish_output+0x6a/0x6f
2016-12-01T13:41:04.758862-08:00 NOTICE kernel: [    6.023392]  [<ffffffff8fbd13d1>] ip6_output+0x67/0xa2
2016-12-01T13:41:04.758863-08:00 NOTICE kernel: [    6.023400]  [<ffffffff8fbe92a1>] dst_output+0xf/0x11
2016-12-01T13:41:04.758865-08:00 NOTICE kernel: [    6.023407]  [<ffffffff8fbe9cbc>] mld_sendpack+0x177/0x27c
2016-12-01T13:41:04.758866-08:00 NOTICE kernel: [    6.023416]  [<ffffffff8fbeba1e>] mld_ifc_timer_expire+0x269/0x2c8
2016-12-01T13:41:04.758868-08:00 NOTICE kernel: [    6.023425]  [<ffffffff8fbeb7b5>] ? mld_dad_timer_expire+0x75/0x75
2016-12-01T13:41:04.758869-08:00 NOTICE kernel: [    6.023434]  [<ffffffff8f668309>] call_timer_fn+0x45/0x11b
2016-12-01T13:41:04.758870-08:00 NOTICE kernel: [    6.023442]  [<ffffffff8fbeb7b5>] ? mld_dad_timer_expire+0x75/0x75
2016-12-01T13:41:04.758872-08:00 NOTICE kernel: [    6.023451]  [<ffffffff8f668ec2>] run_timer_softirq+0x1c4/0x204
2016-12-01T13:41:04.758873-08:00 NOTICE kernel: [    6.023459]  [<ffffffff8f6621f2>] __do_softirq+0xfe/0x29b
2016-12-01T13:41:04.758875-08:00 NOTICE kernel: [    6.023466]  [<ffffffff8f66250e>] irq_exit+0x3f/0x86
2016-12-01T13:41:04.758876-08:00 NOTICE kernel: [    6.023474]  [<ffffffff8fc131f7>] smp_apic_timer_interrupt+0x35/0x41
2016-12-01T13:41:04.758878-08:00 NOTICE kernel: [    6.023483]  [<ffffffff8fc11fca>] apic_timer_interrupt+0x6a/0x70
2016-12-01T13:41:04.758879-08:00 NOTICE kernel: [    6.023489]  <EOI>  [<ffffffff8f77af6a>] ? fsnotify+0x248/0x27c
2016-12-01T13:41:04.758881-08:00 NOTICE kernel: [    6.023502]  [<ffffffff8f7470b6>] ? do_sync_read+0x66/0x99
2016-12-01T13:41:04.758882-08:00 NOTICE kernel: [    6.023510]  [<ffffffff8f746f65>] fsnotify_access+0x56/0x5d
2016-12-01T13:41:04.758883-08:00 NOTICE kernel: [    6.023517]  [<ffffffff8f747409>] vfs_read+0xaf/0xbb
2016-12-01T13:41:04.758885-08:00 NOTICE kernel: [    6.023524]  [<ffffffff8f747b00>] SyS_read+0x5f/0xa3
2016-12-01T13:41:04.758892-08:00 NOTICE kernel: [    6.023533]  [<ffffffff8fc1141c>] system_call_fastpath+0x20/0x25
2016-12-01T13:41:04.758894-08:00 WARNING kernel: [    6.023541] ---[ end trace 06825ce764b44502 ]---



2016-12-01T13:44:58.307395-08:00 WARNING kernel: [   21.262216] ------------[ cut here ]------------
2016-12-01T13:44:58.307410-08:00 WARNING kernel: [   21.262233] WARNING: CPU: 0 PID: 9699 at /mnt/host/source/src/third_party/kernel/v3.14/drivers/media/v4l2-core/videobuf2-core.c:1185 __fill_vb2_buffer+0x65/0x29a()
2016-12-01T13:44:58.307415-08:00 NOTICE kernel: [   21.262247] Modules linked in: rfcomm uinput i2c_dev cmac snd_soc_sst_bdw_rt5650_mach memc_x86 x86_pkg_temp_thermal snd_hda_codec_hdmi iio_trig_sysfs snd_hda_intel snd_hda_controller snd_hda_codec snd_soc_sst_haswell_pcm snd_hwdep snd_soc_sst_dsp snd_soc_rt5645 snd_soc_rl6231 snd_soc_sst_acpi fuse zram ip6table_filter ip6_tables iwlmvm btusb btbcm btintel bluetooth r8169 mii iwlwifi iwl7000_mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev cros_ec_accel kfifo_buf industrialio snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ppp_async ppp_generic slhc tun
2016-12-01T13:44:58.307417-08:00 NOTICE kernel: [   21.262351] CPU: 0 PID: 9699 Comm: V4L2DecoderThre Tainted: G        W    3.14.0 #1
2016-12-01T13:44:58.307418-08:00 NOTICE kernel: [   21.262359] Hardware name: GOOGLE Buddy, BIOS Google_Buddy.6301.202.5 01/09/2016
2016-12-01T13:44:58.307420-08:00 NOTICE kernel: [   21.262368]  0000000000000000 00000000c736d667 ffff88006bf2bbc8 ffffffffb6808c25
2016-12-01T13:44:58.307421-08:00 NOTICE kernel: [   21.262380]  0000000000000000 ffff88006bf2bc00 ffffffffb625d88f ffffffffb667a281
2016-12-01T13:44:58.307422-08:00 NOTICE kernel: [   21.262391]  ffff88006bf2bdd0 ffff880177214000 ffff880177214058 0000000000000000
2016-12-01T13:44:58.307424-08:00 NOTICE kernel: [   21.262402] Call Trace:
2016-12-01T13:44:58.307426-08:00 NOTICE kernel: [   21.262411]  [<ffffffffb6808c25>] dump_stack+0x4d/0x6f
2016-12-01T13:44:58.307428-08:00 NOTICE kernel: [   21.262420]  [<ffffffffb625d88f>] warn_slowpath_common+0x7f/0x98
2016-12-01T13:44:58.307429-08:00 NOTICE kernel: [   21.262428]  [<ffffffffb667a281>] ? __fill_vb2_buffer+0x65/0x29a
2016-12-01T13:44:58.307431-08:00 NOTICE kernel: [   21.262436]  [<ffffffffb625d9a1>] warn_slowpath_null+0x1a/0x1c
2016-12-01T13:44:58.307432-08:00 NOTICE kernel: [   21.262444]  [<ffffffffb667a281>] __fill_vb2_buffer+0x65/0x29a
2016-12-01T13:44:58.307434-08:00 NOTICE kernel: [   21.262452]  [<ffffffffb667c564>] __buf_prepare+0x14d/0x252
2016-12-01T13:44:58.307435-08:00 NOTICE kernel: [   21.262460]  [<ffffffffb667c854>] vb2_internal_qbuf+0x91/0x217
2016-12-01T13:44:58.307436-08:00 NOTICE kernel: [   21.262485]  [<ffffffffb667ca18>] vb2_qbuf+0x3e/0x45
2016-12-01T13:44:58.307444-08:00 NOTICE kernel: [   21.262494]  [<ffffffffb6683b70>] go2001_qbuf+0x7e/0x8a
2016-12-01T13:44:58.307445-08:00 NOTICE kernel: [   21.262502]  [<ffffffffb666e7d4>] v4l_qbuf+0x3b/0x44
2016-12-01T13:44:58.307447-08:00 NOTICE kernel: [   21.262510]  [<ffffffffb666fb31>] __video_do_ioctl+0x1a7/0x28a
2016-12-01T13:44:58.307448-08:00 NOTICE kernel: [   21.262519]  [<ffffffffb666f761>] video_usercopy+0x2ae/0x4c0
2016-12-01T13:44:58.307449-08:00 NOTICE kernel: [   21.262527]  [<ffffffffb666f98a>] ? video_ioctl2+0x17/0x17
2016-12-01T13:44:58.307451-08:00 NOTICE kernel: [   21.262536]  [<ffffffffb6233dc7>] ? __do_page_fault+0x2f2/0x386
2016-12-01T13:44:58.307452-08:00 NOTICE kernel: [   21.262545]  [<ffffffffb666f988>] video_ioctl2+0x15/0x17
2016-12-01T13:44:58.307454-08:00 NOTICE kernel: [   21.262552]  [<ffffffffb666af3b>] v4l2_ioctl+0x79/0x100
2016-12-01T13:44:58.307455-08:00 NOTICE kernel: [   21.262562]  [<ffffffffb6356af5>] do_vfs_ioctl+0x355/0x416
2016-12-01T13:44:58.307456-08:00 NOTICE kernel: [   21.262570]  [<ffffffffb6356c0d>] SyS_ioctl+0x57/0x79
2016-12-01T13:44:58.307458-08:00 NOTICE kernel: [   21.262578]  [<ffffffffb681161f>] tracesys+0xe7/0xec
2016-12-01T13:44:58.308268-08:00 WARNING kernel: [   21.262806] ---[ end trace dedb838fed319d7f ]---

2016-12-01T13:44:42.620347-08:00 WARNING kernel: [    5.911748] ------------[ cut here ]------------
2016-12-01T13:44:42.620350-08:00 WARNING kernel: [    5.911771] WARNING: CPU: 0 PID: 46 at /mnt/host/source/src/third_party/kernel/v3.14/drivers/net/wireless-3.8/iwl7000/mac80211/rate.c:311 __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]()
2016-12-01T13:44:42.620351-08:00 NOTICE kernel: [    5.911789] no supported rates (0xe0) in rate_mask 0x7 with flags 0x0
2016-12-01T13:44:42.620355-08:00 NOTICE kernel: [    5.911796] Modules linked in: uinput i2c_dev cmac snd_soc_sst_bdw_rt5650_mach memc_x86 x86_pkg_temp_thermal snd_hda_codec_hdmi iio_trig_sysfs snd_hda_intel snd_hda_controller snd_hda_codec snd_soc_sst_haswell_pcm snd_hwdep snd_soc_sst_dsp snd_soc_rt5645 snd_soc_rl6231 snd_soc_sst_acpi fuse zram ip6table_filter ip6_tables iwlmvm btusb btbcm btintel bluetooth r8169 mii iwlwifi iwl7000_mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev cros_ec_accel kfifo_buf industrialio snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ppp_async ppp_generic slhc tun
2016-12-01T13:44:42.620357-08:00 NOTICE kernel: [    5.911894] CPU: 0 PID: 46 Comm: kworker/u4:2 Not tainted 3.14.0 #1
2016-12-01T13:44:42.620358-08:00 NOTICE kernel: [    5.911901] Hardware name: GOOGLE Buddy, BIOS Google_Buddy.6301.202.5 01/09/2016
2016-12-01T13:44:42.620360-08:00 NOTICE kernel: [    5.911916] Workqueue: phy0 ieee80211_ibss_leave [iwl7000_mac80211]
2016-12-01T13:44:42.620361-08:00 NOTICE kernel: [    5.911924]  0000000000000000 00000000ef7a3c40 ffff8800784c79a8 ffffffffb6808c25
2016-12-01T13:44:42.620363-08:00 NOTICE kernel: [    5.911936]  ffff8800784c79f0 ffff8800784c79e0 ffffffffb625d88f ffffffffc00f007a
2016-12-01T13:44:42.620364-08:00 NOTICE kernel: [    5.911948]  ffff88017413c628 ffff880074c7c737 ffff88017413c600 0000000000000000
2016-12-01T13:44:42.620365-08:00 NOTICE kernel: [    5.911959] Call Trace:
2016-12-01T13:44:42.620367-08:00 NOTICE kernel: [    5.911968]  [<ffffffffb6808c25>] dump_stack+0x4d/0x6f
2016-12-01T13:44:42.620369-08:00 NOTICE kernel: [    5.911977]  [<ffffffffb625d88f>] warn_slowpath_common+0x7f/0x98
2016-12-01T13:44:42.620371-08:00 NOTICE kernel: [    5.911991]  [<ffffffffc00f007a>] ? __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:44:42.620373-08:00 NOTICE kernel: [    5.912003]  [<ffffffffb625d8ff>] warn_slowpath_fmt+0x57/0x73
2016-12-01T13:44:42.620374-08:00 NOTICE kernel: [    5.912013]  [<ffffffffb62688e7>] ? try_to_del_timer_sync+0x63/0x83
2016-12-01T13:44:42.620376-08:00 NOTICE kernel: [    5.912026]  [<ffffffffc00f007a>] __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:44:42.620377-08:00 NOTICE kernel: [    5.912040]  [<ffffffffc00f0113>] __iwl7000_rate_control_send_low+0x6e/0xdf [iwl7000_mac80211]
2016-12-01T13:44:42.620379-08:00 NOTICE kernel: [    5.912071]  [<ffffffffc0206f85>] iwl_mvm_schedule_csa_period+0x1460/0x1f46 [iwlmvm]
2016-12-01T13:44:42.620393-08:00 NOTICE kernel: [    5.912098]  [<ffffffffc00f0bfb>] rate_control_get_rate+0xce/0x128 [iwl7000_mac80211]
2016-12-01T13:44:42.620395-08:00 NOTICE kernel: [    5.912113]  [<ffffffffc00fc77c>] __iwl7000_ieee80211_tx_dequeue+0x326/0x4a9 [iwl7000_mac80211]
2016-12-01T13:44:42.620397-08:00 NOTICE kernel: [    5.912130]  [<ffffffffc00fef45>] __iwl7000_ieee80211_reserve_tid+0x8c7/0xf3b [iwl7000_mac80211]
2016-12-01T13:44:42.620398-08:00 NOTICE kernel: [    5.912144]  [<ffffffffc00dee57>] ? sta_info_get+0x74/0x8c [iwl7000_mac80211]
2016-12-01T13:44:42.621850-08:00 NOTICE kernel: [    5.912158]  [<ffffffffc00ffaa0>] ? ieee80211_check_fast_xmit+0x4e7/0x783 [iwl7000_mac80211]
2016-12-01T13:44:42.621853-08:00 NOTICE kernel: [    5.912173]  [<ffffffffc00ffefa>] __iwl7000_ieee80211_tx_prepare_skb+0x1be/0x203 [iwl7000_mac80211]
2016-12-01T13:44:42.621855-08:00 NOTICE kernel: [    5.912187]  [<ffffffffc00fffd6>] ieee80211_xmit+0x97/0xa0 [iwl7000_mac80211]
2016-12-01T13:44:42.621857-08:00 NOTICE kernel: [    5.912200]  [<ffffffffc0100a0e>] __ieee80211_tx_skb_tid_band+0x68/0x162 [iwl7000_mac80211]
2016-12-01T13:44:42.621859-08:00 NOTICE kernel: [    5.912215]  [<ffffffffc00e96b2>] __ieee80211_start_rx_ba_session+0x5b5/0x5dd [iwl7000_mac80211]
2016-12-01T13:44:42.621860-08:00 NOTICE kernel: [    5.912230]  [<ffffffffc00e9726>] ieee80211_process_addba_request+0x4c/0x52 [iwl7000_mac80211]
2016-12-01T13:44:42.621862-08:00 NOTICE kernel: [    5.912244]  [<ffffffffc00ed335>] ieee80211_ibss_leave+0x6a4/0x1391 [iwl7000_mac80211]
2016-12-01T13:44:42.621863-08:00 NOTICE kernel: [    5.912254]  [<ffffffffb62756ae>] process_one_work+0x187/0x2d0
2016-12-01T13:44:42.621865-08:00 NOTICE kernel: [    5.912262]  [<ffffffffb6276381>] worker_thread+0x143/0x202
2016-12-01T13:44:42.621866-08:00 NOTICE kernel: [    5.912270]  [<ffffffffb627623e>] ? rescuer_thread+0x2c3/0x2c3
2016-12-01T13:44:42.621868-08:00 NOTICE kernel: [    5.912278]  [<ffffffffb627b357>] kthread+0x108/0x110
2016-12-01T13:44:42.621869-08:00 NOTICE kernel: [    5.912286]  [<ffffffffb627b24f>] ? __kthread_parkme+0x67/0x67
2016-12-01T13:44:42.621870-08:00 NOTICE kernel: [    5.912295]  [<ffffffffb681136c>] ret_from_fork+0x7c/0xb0
2016-12-01T13:44:42.621872-08:00 NOTICE kernel: [    5.912303]  [<ffffffffb627b24f>] ? __kthread_parkme+0x67/0x67
2016-12-01T13:44:42.621873-08:00 WARNING kernel: [    5.912310] ---[ end trace dedb838fed319d7e ]---


2016-12-01T13:54:14.732979-08:00 WARNING kernel: [    5.964935] ------------[ cut here ]------------
2016-12-01T13:54:14.732991-08:00 WARNING kernel: [    5.964960] WARNING: CPU: 1 PID: 681 at /mnt/host/source/src/third_party/kernel/v3.14/drivers/net/wireless-3.8/iwl7000/mac80211/rate.c:311 __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]()
2016-12-01T13:54:14.732993-08:00 NOTICE kernel: [    5.964977] no supported rates (0xe0) in rate_mask 0x7 with flags 0x0
2016-12-01T13:54:14.732997-08:00 NOTICE kernel: [    5.964984] Modules linked in: i2c_dev uinput cmac snd_soc_sst_bdw_rt5650_mach memc_x86 x86_pkg_temp_thermal snd_hda_codec_hdmi iio_trig_sysfs snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_soc_sst_haswell_pcm snd_soc_sst_dsp snd_soc_rt5645 snd_soc_sst_acpi snd_soc_rl6231 fuse zram ip6table_filter ip6_tables iwlmvm btusb btbcm btintel bluetooth r8169 mii iwlwifi iwl7000_mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev cros_ec_accel kfifo_buf industrialio snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ppp_async ppp_generic slhc tun
2016-12-01T13:54:14.732999-08:00 NOTICE kernel: [    5.965080] CPU: 1 PID: 681 Comm: wpa_supplicant Not tainted 3.14.0 #1
2016-12-01T13:54:14.733000-08:00 NOTICE kernel: [    5.965088] Hardware name: GOOGLE Buddy, BIOS Google_Buddy.6301.202.5 01/09/2016
2016-12-01T13:54:14.733002-08:00 NOTICE kernel: [    5.965096]  0000000000000000 0000000077ffabfd ffff88017ed03880 ffffffffac008c25
2016-12-01T13:54:14.733003-08:00 NOTICE kernel: [    5.965108]  ffff88017ed038c8 ffff88017ed038b8 ffffffffaba5d88f ffffffffc00f007a
2016-12-01T13:54:14.733005-08:00 NOTICE kernel: [    5.965119]  ffff88016c4be828 ffff880074dd0737 ffff88016c4be830 0000000000000000
2016-12-01T13:54:14.733006-08:00 NOTICE kernel: [    5.965131] Call Trace:
2016-12-01T13:54:14.733008-08:00 NOTICE kernel: [    5.965135]  <IRQ>  [<ffffffffac008c25>] dump_stack+0x4d/0x6f
2016-12-01T13:54:14.733010-08:00 NOTICE kernel: [    5.965151]  [<ffffffffaba5d88f>] warn_slowpath_common+0x7f/0x98
2016-12-01T13:54:14.733012-08:00 NOTICE kernel: [    5.965165]  [<ffffffffc00f007a>] ? __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:54:14.733013-08:00 NOTICE kernel: [    5.965177]  [<ffffffffaba5d8ff>] warn_slowpath_fmt+0x57/0x73
2016-12-01T13:54:14.733015-08:00 NOTICE kernel: [    5.965189]  [<ffffffffc00f007a>] __iwl7000_ieee80211_rate_control_unregister+0x41d/0x448 [iwl7000_mac80211]
2016-12-01T13:54:14.733017-08:00 NOTICE kernel: [    5.965204]  [<ffffffffc00f03fe>] __iwl7000_ieee80211_get_tx_rates+0x27a/0x4c3 [iwl7000_mac80211]
2016-12-01T13:54:14.733018-08:00 NOTICE kernel: [    5.965219]  [<ffffffffc00f0c48>] rate_control_get_rate+0x11b/0x128 [iwl7000_mac80211]
2016-12-01T13:54:14.733020-08:00 NOTICE kernel: [    5.965235]  [<ffffffffc00fc77c>] __iwl7000_ieee80211_tx_dequeue+0x326/0x4a9 [iwl7000_mac80211]
2016-12-01T13:54:14.733021-08:00 NOTICE kernel: [    5.965251]  [<ffffffffc00fe53a>] __iwl7000_ieee80211_probereq_get+0xcd4/0xe18 [iwl7000_mac80211]
2016-12-01T13:54:14.733023-08:00 NOTICE kernel: [    5.965267]  [<ffffffffc0100664>] __ieee80211_subif_start_xmit+0x185/0x1b0 [iwl7000_mac80211]
2016-12-01T13:54:14.733025-08:00 NOTICE kernel: [    5.965282]  [<ffffffffc010069f>] ieee80211_subif_start_xmit+0x10/0x14 [iwl7000_mac80211]
2016-12-01T13:54:14.733026-08:00 NOTICE kernel: [    5.965293]  [<ffffffffabf3bd5e>] dev_hard_start_xmit+0x2ab/0x451
2016-12-01T13:54:14.733028-08:00 NOTICE kernel: [    5.965303]  [<ffffffffabf545dc>] sch_direct_xmit+0x73/0x170
2016-12-01T13:54:14.733029-08:00 NOTICE kernel: [    5.965311]  [<ffffffffabf3c0e4>] __dev_queue_xmit+0x1e0/0x3dd
2016-12-01T13:54:14.733031-08:00 NOTICE kernel: [    5.965320]  [<ffffffffabf3c2f1>] dev_queue_xmit+0x10/0x12
2016-12-01T13:54:14.733032-08:00 NOTICE kernel: [    5.965329]  [<ffffffffabf45cec>] neigh_resolve_output+0x16e/0x189
2016-12-01T13:54:14.733033-08:00 NOTICE kernel: [    5.965339]  [<ffffffffabfced5a>] ip6_finish_output2+0x364/0x3db
2016-12-01T13:54:14.733035-08:00 NOTICE kernel: [    5.965348]  [<ffffffffabfd1365>] ip6_finish_output+0x6a/0x6f
2016-12-01T13:54:14.733036-08:00 NOTICE kernel: [    5.965356]  [<ffffffffabfd13d1>] ip6_output+0x67/0xa2
2016-12-01T13:54:14.733038-08:00 NOTICE kernel: [    5.965364]  [<ffffffffabfe92a1>] dst_output+0xf/0x11
2016-12-01T13:54:14.733039-08:00 NOTICE kernel: [    5.965372]  [<ffffffffabfe9cbc>] mld_sendpack+0x177/0x27c
2016-12-01T13:54:14.733041-08:00 NOTICE kernel: [    5.965380]  [<ffffffffabfeba1e>] mld_ifc_timer_expire+0x269/0x2c8
2016-12-01T13:54:14.733042-08:00 NOTICE kernel: [    5.965389]  [<ffffffffabfeb7b5>] ? mld_dad_timer_expire+0x75/0x75
2016-12-01T13:54:14.733043-08:00 NOTICE kernel: [    5.965399]  [<ffffffffaba68309>] call_timer_fn+0x45/0x11b
2016-12-01T13:54:14.733045-08:00 NOTICE kernel: [    5.965407]  [<ffffffffabfeb7b5>] ? mld_dad_timer_expire+0x75/0x75
2016-12-01T13:54:14.733046-08:00 NOTICE kernel: [    5.965415]  [<ffffffffaba68ec2>] run_timer_softirq+0x1c4/0x204
2016-12-01T13:54:14.733048-08:00 NOTICE kernel: [    5.965423]  [<ffffffffaba621f2>] __do_softirq+0xfe/0x29b
2016-12-01T13:54:14.733049-08:00 NOTICE kernel: [    5.965431]  [<ffffffffaba6250e>] irq_exit+0x3f/0x86
2016-12-01T13:54:14.733051-08:00 NOTICE kernel: [    5.965438]  [<ffffffffac0131f7>] smp_apic_timer_interrupt+0x35/0x41
2016-12-01T13:54:14.733052-08:00 NOTICE kernel: [    5.965447]  [<ffffffffac011fca>] apic_timer_interrupt+0x6a/0x70
2016-12-01T13:54:14.733054-08:00 NOTICE kernel: [    5.965454]  <EOI>  [<ffffffffac01141c>] ? system_call_fastpath+0x20/0x25
2016-12-01T13:54:14.733055-08:00 WARNING kernel: [    5.965465] ---[ end trace 22a1aec855d020e5 ]---

2016-12-01T13:41:21.523744-08:00 WARNING kernel: [   22.595919] ------------[ cut here ]------------
2016-12-01T13:41:21.523757-08:00 WARNING kernel: [   22.595934] WARNING: CPU: 0 PID: 17177 at /mnt/host/source/src/third_party/kernel/v3.14/drivers/media/v4l2-core/videobuf2-core.c:1185 __fill_vb2_buffer+0x65/0x29a()
2016-12-01T13:41:21.523763-08:00 NOTICE kernel: [   22.595948] Modules linked in: rfcomm i2c_dev uinput cmac memc_x86 x86_pkg_temp_thermal snd_soc_sst_bdw_rt5650_mach iio_trig_sysfs snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_soc_sst_haswell_pcm snd_soc_sst_dsp snd_soc_sst_acpi snd_soc_rt5645 snd_soc_rl6231 fuse zram ip6table_filter ip6_tables btusb btbcm btintel bluetooth iwlmvm r8169 mii iwlwifi iwl7000_mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev cros_ec_accel kfifo_buf industrialio snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ppp_async ppp_generic slhc tun
2016-12-01T13:41:21.523765-08:00 NOTICE kernel: [   22.596049] CPU: 0 PID: 17177 Comm: V4L2DecoderThre Tainted: G        W    3.14.0 #1
2016-12-01T13:41:21.523767-08:00 NOTICE kernel: [   22.596057] Hardware name: GOOGLE Buddy, BIOS Google_Buddy.6301.202.5 01/09/2016
2016-12-01T13:41:21.523768-08:00 NOTICE kernel: [   22.596065]  0000000000000000 00000000c5acc959 ffff88016a07fbc8 ffffffff8fc08c25
2016-12-01T13:41:21.523770-08:00 NOTICE kernel: [   22.596076]  0000000000000000 ffff88016a07fc00 ffffffff8f65d88f ffffffff8fa7a281
2016-12-01T13:41:21.523771-08:00 NOTICE kernel: [   22.596088]  ffff88016a07fdd0 ffff88006b76d800 ffff88006b76d858 0000000000000000
2016-12-01T13:41:21.523772-08:00 NOTICE kernel: [   22.596099] Call Trace:
2016-12-01T13:41:21.523775-08:00 NOTICE kernel: [   22.596109]  [<ffffffff8fc08c25>] dump_stack+0x4d/0x6f
2016-12-01T13:41:21.523776-08:00 NOTICE kernel: [   22.596118]  [<ffffffff8f65d88f>] warn_slowpath_common+0x7f/0x98
2016-12-01T13:41:21.523778-08:00 NOTICE kernel: [   22.596126]  [<ffffffff8fa7a281>] ? __fill_vb2_buffer+0x65/0x29a
2016-12-01T13:41:21.523779-08:00 NOTICE kernel: [   22.596135]  [<ffffffff8f65d9a1>] warn_slowpath_null+0x1a/0x1c
2016-12-01T13:41:21.523781-08:00 NOTICE kernel: [   22.596142]  [<ffffffff8fa7a281>] __fill_vb2_buffer+0x65/0x29a
2016-12-01T13:41:21.523782-08:00 NOTICE kernel: [   22.596150]  [<ffffffff8fa7c564>] __buf_prepare+0x14d/0x252
2016-12-01T13:41:21.523784-08:00 NOTICE kernel: [   22.596158]  [<ffffffff8fa7c854>] vb2_internal_qbuf+0x91/0x217
2016-12-01T13:41:21.523785-08:00 NOTICE kernel: [   22.596166]  [<ffffffff8fa7ca18>] vb2_qbuf+0x3e/0x45
2016-12-01T13:41:21.523786-08:00 NOTICE kernel: [   22.596174]  [<ffffffff8fa83b70>] go2001_qbuf+0x7e/0x8a
2016-12-01T13:41:21.523788-08:00 NOTICE kernel: [   22.596182]  [<ffffffff8fa6e7d4>] v4l_qbuf+0x3b/0x44
2016-12-01T13:41:21.523789-08:00 NOTICE kernel: [   22.596190]  [<ffffffff8fa6fb31>] __video_do_ioctl+0x1a7/0x28a
2016-12-01T13:41:21.523791-08:00 NOTICE kernel: [   22.596198]  [<ffffffff8fa6f761>] video_usercopy+0x2ae/0x4c0
2016-12-01T13:41:21.523792-08:00 NOTICE kernel: [   22.596206]  [<ffffffff8fa6f98a>] ? video_ioctl2+0x17/0x17
2016-12-01T13:41:21.523794-08:00 NOTICE kernel: [   22.596215]  [<ffffffff8f633dc7>] ? __do_page_fault+0x2f2/0x386
2016-12-01T13:41:21.523795-08:00 NOTICE kernel: [   22.596223]  [<ffffffff8fa6f988>] video_ioctl2+0x15/0x17
2016-12-01T13:41:21.523796-08:00 NOTICE kernel: [   22.596231]  [<ffffffff8fa6af3b>] v4l2_ioctl+0x79/0x100
2016-12-01T13:41:21.523798-08:00 NOTICE kernel: [   22.596240]  [<ffffffff8f756af5>] do_vfs_ioctl+0x355/0x416
2016-12-01T13:41:21.523799-08:00 NOTICE kernel: [   22.596248]  [<ffffffff8f756c0d>] SyS_ioctl+0x57/0x79
2016-12-01T13:41:21.523801-08:00 NOTICE kernel: [   22.596256]  [<ffffffff8fc1161f>] tracesys+0xe7/0xec
2016-12-01T13:41:21.523802-08:00 WARNING kernel: [   22.596262] ---[ end trace 06825ce764b44503 ]---


 
Cc: vmr@chromium.org posciak@chromium.org yungleem@chromium.org
Owner: harpreet@chromium.org
So this is on M55 beta channel.

harpreet@ - have you seen this on M55?

vmr@, posciak@ - I see a lot of go2001 in the stacktrace but not sure whether it's just a warning or the root cause of this.

royans told me that this problem started happening only 30 minutes prior to filing this issue, and before this, everything was fine.
Owner: ----
royans@ - what are the symptoms you are seeing when it crashes? Does the screen go blank? Is there any error shown like error_007, error_005, etc.? Does it crash only when in hangout session?


We have not seen crashes on the buddy we use for release testing.


I see kernel errors related to go2001 on royans@ buddy but I also see similar logs on our test buddy though we have not seen it crash.

messages:4969:2016-12-01T13:44:58.308279-08:00 ERR kernel: [   21.262901] go2001 0000:03:00.0: go2001_dec_g_fmt_cap:1574 Frame info not available yet


Comment 3 by roy...@google.com, Dec 1 2016

The device left the meeting and I couldn't rejoin it. I can't recall exactly what it looked like, but to join the meeting back again I had to eventually reboot in each of the instances.

Comment 4 by roy...@google.com, Dec 2 2016

Just had the reboot again.

- The device just dies completely and black out the screen
- Then it reboots without user intervention and recovers into regular CFM page
 

Comment 5 by roy...@google.com, Dec 2 2016

This has the new logs (all2.tgz)
https://drive.google.com/open?id=0Bx12NVyIouI0R2QyUXJfQk9oOUU

Comment 6 by vmr@chromium.org, Dec 2 2016

Certainly there are stack traces coming from the go2001 kernel stack. posciak@ knows the driver details better, but to me it seems the buffer has been sent for processing and the device times out in the processing causing the crash.

If this is specific to a device, it may be a faulty hardware unit.

Also, earlier on the log there are signs of failures in the WiFi driver.

Comment 7 by roy...@google.com, Dec 2 2016

Cc: bkemler@chromium.org
Labels: ReleaseBlock-Stable OS-Chrome
The crashes are continuing. I think 55 is very unstable for buddy.
I recommend blocking 55 to Buddy until this is triaged.

Comment 8 by vmr@chromium.org, Dec 2 2016

Is it the same device or are you experiencing this on multiple devices?

Comment 9 by roy...@google.com, Dec 2 2016

This is happening to only one device. I have another buddy nearby which is on 54 and working fine. I'm happy to move it to 55 if no one else is attempting to do this.
I setup a buddy on M55 and have it in a hangout session. It has not crashed yet (been up for ~45 mins).

Comment 11 by roy...@google.com, Dec 2 2016

can u check the logs and see if there are silent crashes ?

Comment 12 by roy...@google.com, Dec 2 2016

I just completed bringing up a new device on 55. Even though it hasn't rebooted or crashed as I described before, I do see stack traces in messages log file.

Comment 13 by vmr@chromium.org, Dec 2 2016

Is the stack trace similar for go2001 driver?
Labels: Stability-Crash
Following crash was reported by Royans buddy with cliend id: 169d36ca0e0247af821aa2ec42b79c24

https://crash.corp.google.com/browse?stbtiq=d52a355f00000000


Stack Quality96%Show frame trust levels
0x00007f458633fa5d	(chrome -bluez_dbus_manager.cc:246 )	bluez::BluezDBusManager::Get
0x00007f458631f3e0	(chrome -bluetooth_advertisement_bluez.cc:123 )	bluez::BluetoothAdvertisementBlueZ::Unregister
0x00007f458631f54b	(chrome -bluetooth_advertisement_bluez.cc:107 )	bluez::BluetoothAdvertisementBlueZ::~BluetoothAdvertisementBlueZ
0x00007f458631f5e0	(chrome -bluetooth_advertisement_bluez.cc:108 )	bluez::BluetoothAdvertisementBlueZ::~BluetoothAdvertisementBlueZ
0x00007f4584eb4b4b	(chrome -ref_counted.h:137 )	extensions::BluetoothApiAdvertisement::~BluetoothApiAdvertisement
0x00007f4584eb4b70	(chrome -bluetooth_api_advertisement.cc:32 )	extensions::BluetoothApiAdvertisement::~BluetoothApiAdvertisement
0x00007f458425819a	(chrome -unique_ptr.h:76 )	std::_Rb_tree<CPDFSDK_Annot*, std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > >, std::_Select1st<std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > > >, std::less<CPDFSDK_Annot*>, std::allocator<std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > > > >::_M_destroy_node
0x00007f45842585d7	(chrome -stl_tree.h:1277 )	std::_Rb_tree<CPDFSDK_Annot*, std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > >, std::_Select1st<std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > > >, std::less<CPDFSDK_Annot*>, std::allocator<std::pair<CPDFSDK_Annot* const, std::unique_ptr<CFFL_FormFiller, std::default_delete<CFFL_FormFiller> > > > >::_M_erase
0x00007f4584eb5080	(chrome -stl_tree.h:754 )	extensions::ApiResourceManager<extensions::BluetoothApiAdvertisement, extensions::NamedThreadTraits<extensions::BluetoothApiAdvertisement> >::ApiResourceData::~ApiResourceData
0x00007f45841afa54	(chrome -ref_counted.h:407 )	base::internal::BindState<base::FilePath (AudioDebugRecordingsHandler::*)(), scoped_refptr<AudioDebugRecordingsHandler> >::Destroy
0x00007f4583eadcd4	(chrome -callback_internal.h:130 )	base::PendingTask::~PendingTask
0x00007f45856e7c87	(chrome -message_loop.cc:442 )	base::MessageLoop::DeletePendingTasks
0x00007f45856e7e8a	(chrome -message_loop.cc:120 )	base::MessageLoop::~MessageLoop
0x00007f4584abb30a	(chrome -message_loop.h:475 )	base::MessageLoopForUI::~MessageLoopForUI
0x00007f4584abb900	(chrome -browser_main_loop.cc:464 )	content::BrowserMainLoop::~BrowserMainLoop
0x00007f4584ac0539	(chrome -unique_ptr.h:76 )	content::BrowserMainRunnerImpl::Shutdown
0x00007f4584abb028	(chrome -browser_main.cc:48 )	content::BrowserMain
0x00007f458538df50	(chrome -content_main_runner.cc:779 )	content::ContentMainRunnerImpl::Run
0x00007f458538caea	(chrome -content_main.cc:20 )	content::ContentMain
0x00007f45841162b5	(chrome -chrome_main.cc:97 )	ChromeMain
0x00007f458176ffb5	(libc-2.19.so -libc-start.c:292 )	__libc_start_main
0x00007f45841160ed	(chrome + 0x011c60ed )	_start
0x00007fffdab4aac7		
The buddy we are using also had a chrome crash where the UI became non-responsive. This happened once about an hour after it was in a hangout session. It has since been in another hangout session (~ 2 hours) and has not crashed again.

Uploaded the crash files to https://pantheon.corp.google.com/storage/browser/chromiumos-test-logs/bugfiles/cr/670462/?pli=1


Also, I do not see any go2001 errors in the logs for this buddy.

$ grep -nr 'go2001'
lspci_output.txt:157:	Kernel driver in use: go2001
console-ramoops.txt:350:[    0.417939] go2001 0000:03:00.0: Probing GO2001
console-ramoops.txt:351:[    0.418278] go2001 0000:03:00.0: GO2001 successfully initialized.
console-ramoops.txt:467:[    1.762129] go2001 0000:03:00.0: GO2001 ver: 1/-1383285373, VP8 decoder: 1731285080/393248 VP8 encoder: 1211189264/1046000, VP9 decoder: 1731330392/0
stateful.txt:53891:drwxr-xr-x  2 root root 4096 Dec  1 01:11 go2001-fw-1.10-r1
stateful.txt:54170:/mnt/stateful_partition/var_overlay/db/pkg/media-libs/go2001-fw-1.10-r1:
stateful.txt:54197:-rw-r--r--  1 root root  461 Dec  1 01:11 go2001-fw-1.10-r1.ebuild
system_level_logs/log/messages:527:2016-12-02T19:14:17.312363+00:00 INFO kernel: [    0.408126] go2001 0000:03:00.0: Probing GO2001
system_level_logs/log/messages:528:2016-12-02T19:14:17.312364+00:00 DEBUG kernel: [    0.408365] go2001 0000:03:00.0: irq 62 for MSI/MSI-X
system_level_logs/log/messages:529:2016-12-02T19:14:17.312366+00:00 INFO kernel: [    0.408481] go2001 0000:03:00.0: GO2001 successfully initialized.
system_level_logs/log/messages:689:2016-12-02T19:14:17.517239+00:00 INFO kernel: [    3.527288] go2001 0000:03:00.0: GO2001 ver: 1/-1383285373, VP8 decoder: 1731285080/393248 VP8 encoder: 1211189264/1046000, VP9 decoder: 1731330392/0
system_level_logs/log/messages:1326:2016-12-02T19:16:29.749197+00:00 NOTICE kernel: [  134.541627]  [<ffffffffa7e83c3b>] go2001_qbuf+0x7e/0x8a
lspci_numeric_output.txt:157:	Kernel driver in use: go2001

Comment 16 by roy...@google.com, Dec 2 2016

Labels: -Pri-2 Pri-1

Comment 17 by roy...@google.com, Dec 5 2016

Got another crash on my buddy unit. Logs in here (all3.tgz)
https://drive.google.com/corp/drive/folders/0Bx12NVyIouI0R2QyUXJfQk9oOUU

Comment 18 by roy...@google.com, Dec 5 2016

Additionally
1) The second unit on ChromeOS 55 hasn't rebooted yet
2) But I do see some stack traces in the logs still (one even from today) 
The WARNs with stacktraces in the initial report from go2001 driver are benign and expected, they warn about usage of deprecated kernel API.


"go2001 0000:03:00.0: go2001_dec_g_fmt_cap:1574 Frame info not available yet" messages are normally also benign and mean that Chrome tried to discover the current stream format/resolution, but it wasn't available yet, perhaps due to a missing keyframe at the beginning of the stream. Decoding should continue normally once a keyframe is reached. They should not result in crashes.


The reason for Chrome crashes reported in the logs uploaded appears to be due to the stack in #14. Are you perhaps using any bluetooth devices, and/or any Chrome extensions that could be querying bluetooth devices?

There is no evidence why the device hard rebooted.

Comment 20 by roy...@google.com, Dec 6 2016

Labels: -Pri-1 -ReleaseBlock-Stable Pri-2
@posciak: Thanks for details. It helps.
- These are CFM units. There are nothing else attached.
- Well: Its possible the unit I have has hardware issues.
- I'll: Wait for more crashes from the non-crashing unit before I escalate this bug further.


Cc: r...@chromium.org
Owner: josephsih@chromium.org
Summary: Multiple "bluez::BluezDBusManager::Get" buddy crashes within a few minutes (required reboot every time) (was: Multiple buddy crashes within a few minutes (required reboot every time))
royans@ could you reboot the buddy and stop CFM from auto launching and disable bluetooth (if its enabled) and see if your buddy still continues to crash.


cc'ing rkc@ josephsih@ to comment on the bluetooth related trace in #14
Owner: mcchou@chromium.org
Status: Assigned (was: Untriaged)
Miao, the crash in #14 may be related to the crash you investigated earlier. Could you look into this?
Owner: r...@chromium.org
After taking a look, this is different from the crash that I investigated earlier. This looks more like a Chrome issue on API resource manager or bluez::BluezDBusManager but not in BlueZ. We found that this crash was triggered during the Chrome shutdown, and g_bluez_dbus_manager, the static member of bluez::BluezDBusManager, has been invalidated (see the following code).

// static
BluezDBusManager* bluez::BluezDBusManager::Get() {
  CHECK(g_bluez_dbus_manager)
      << "bluez::BluezDBusManager::Get() called before Initialize()";
  return g_bluez_dbus_manager;
}

Rahul, can you think of any case where a race condition can happen between the shutdown of bluez::BluezDBusManager and the destructing BluetoothApiAdvertisement?

There is only two possibilities for the above CHECK() to fail: (1) BluezDBusManager::CreateGlobalInstance is never called before chrome bring-down (2) BluezDBusManager::Shutdown() was called before destructing the BluetoothApiAdvertisement which triggers BluetoothAdvertisementBlueZ::Unregister() failing the CHECK. 

// static                                                                                                                                                                                                                                                                                 
void BluezDBusManager::Shutdown() {
  // Ensure that we only shutdown BluezDBusManager once.
  CHECK(g_bluez_dbus_manager);
  BluezDBusManager* dbus_manager = g_bluez_dbus_manager;
  g_bluez_dbus_manager = nullptr;
  g_using_bluez_dbus_manager_for_testing = false;
  delete dbus_manager;
  VLOG(1) << "BluezDBusManager Shutdown completed";
}

Owner: st...@chromium.org
Cc: -posciak@chromium.org

Comment 26 by roy...@google.com, Jan 18 2017

We noticed this crash on CFM devices deployed within Google. We are being told that these devices are going into standby mode (which it shouldn't).

Logs:  https://drive.google.com/file/d/0B9-MXFZW1wLabWV6c0NrWi1FbDQ/view

Comment 28 by roy...@google.com, Jan 18 2017

Labels: -Pri-2 Pri-1

Comment 29 by roy...@google.com, Jan 18 2017

Cc: windmueller@chromium.org

Comment 30 by st...@chromium.org, Jan 24 2017

Mergedinto: 683270
Status: Duplicate (was: Assigned)
Owner: r...@chromium.org

Sign in to add a comment