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

Issue 808037 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 814595
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

BluetoothAdapterBlueZ::AddDiscoverySession hits DCHECK on Soraka ToT

Project Member Reported by mcasas@chromium.org, Feb 1 2018

Issue description

This is a Soraka running a developer build 66.0.3377.0 on a chromeos
platform version 10362 dev-channel (as taken from crosflash). My
simplechrome environment has 10333 as sdk though.

Repros all the time while doing essentially nothing, i.e. I'm writing
this report and every ~10s chrome crashes and reboots, and I can see
the crash log below (I compiled with dcheck_always_on = true).

[30269:30269:0201/104241.991239:FATAL:bluetooth_adapter_bluez.cc(1388)] Check failed: IsDiscovering(). 
#0 0x55d946c16b9c base::debug::StackTrace::StackTrace()
#1 0x55d946c35161 logging::LogMessage::~LogMessage()
#2 0x55d9484790c7 bluez::BluetoothAdapterBlueZ::AddDiscoverySession()
#3 0x55d94847b1d2 bluez::BluetoothAdapterBlueZ::ProcessQueuedDiscoveryRequests()
#4 0x55d948479b20 bluez::BluetoothAdapterBlueZ::OnStartDiscovery()
#5 0x55d944f34e91 _ZN4base8internal7InvokerINS0_9BindStateIMN7content37ServiceWorkerControlleeRequestHandlerEFvRK13scoped_refptrINS3_25ServiceWorkerRegistrationEERKS5_INS3_20ServiceWorkerVersionEEEJNS_7WeakPtrIS4_EES7_SB_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#6 0x55d948495931 bluez::BluetoothAdapterClientImpl::OnSuccess()
#7 0x55d944c432d4 _ZN4base8internal7InvokerINS0_9BindStateIMN7content11SavePackageEFvRKNS_17RepeatingCallbackIFvPNS3_12DownloadItemEEEEPNS3_16DownloadItemImplEEJNS_7WeakPtrIS4_EES9_EEEFvSD_EE3RunEPNS0_13BindStateBaseESD_
#8 0x55d947a8e79b _ZN4base8internal7InvokerINS0_9BindStateIZN4dbus11ObjectProxy27CallMethodWithErrorCallbackEPNS3_10MethodCallEiNS_12OnceCallbackIFvPNS3_8ResponseEEEENS7_IFvPNS3_13ErrorResponseEEEEE3$_0JSB_SF_EEEFvS9_SD_EE7RunOnceEPNS0_13BindStateBaseES9_SD_
#9 0x55d947a8a4b4 dbus::ObjectProxy::RunResponseOrErrorCallback()
#10 0x55d947a8f208 _ZN4base8internal13FunctorTraitsIMN4dbus11ObjectProxyEFvNS3_19ReplyCallbackHolderENS_9TimeTicksEPNS2_8ResponseEPNS2_13ErrorResponseEEvE6InvokeI13scoped_refptrIS3_EJS4_S5_S7_S9_EEEvSB_OT_DpOT0_
#11 0x55d947a8f110 _ZN4base8internal7InvokerINS0_9BindStateIMN4dbus11ObjectProxyEFvNS4_19ReplyCallbackHolderENS_9TimeTicksEPNS3_8ResponseEPNS3_13ErrorResponseEEJ13scoped_refptrIS4_ES5_S6_S8_SA_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#12 0x55d946c95d18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply()
#13 0x55d946c173f8 base::debug::TaskAnnotator::RunTask()
#14 0x55d946ce0f76 base::internal::IncomingTaskQueue::RunTask()
#15 0x55d946c3c84d base::MessageLoop::RunTask()
#16 0x55d946c3cc54 base::MessageLoop::DeferOrRunPendingTask()
#17 0x55d946c3cf12 base::MessageLoop::DoWork()
#18 0x55d946c3f2b9 base::MessagePumpLibevent::Run()
#19 0x55d946c3c0bc base::MessageLoop::Run()
#20 0x55d946c6ae76 base::RunLoop::Run()
#21 0x55d94682edd7 ChromeBrowserMainParts::MainMessageLoopRun()
#22 0x55d944b0c384 content::BrowserMainLoop::RunMainMessageLoopParts()
#23 0x55d944b0f633 content::BrowserMainRunnerImpl::Run()
#24 0x55d944b07e2e content::BrowserMain()
#25 0x55d946815174 content::RunNamedProcessTypeMain()
#26 0x55d946816308 content::ContentMainRunnerImpl::Run()
#27 0x55d946822859 service_manager::Main()
#28 0x55d946814651 content::ContentMain()
#29 0x55d94400493a ChromeMain
#30 0x7fe0efa8b736 __libc_start_main
#31 0x55d9440045b9 _start

Received signal 6
#0 0x55d946c16b9c base::debug::StackTrace::StackTrace()
#1 0x55d946c16671 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fe0f0a302e0 <unknown>
#3 0x7fe0efa9edd2 gsignal
#4 0x7fe0efaa0bf6 abort
#5 0x55d946c14f15 base::debug::BreakDebugger()
#6 0x55d946c355eb logging::LogMessage::~LogMessage()
#7 0x55d9484790c7 bluez::BluetoothAdapterBlueZ::AddDiscoverySession()
#8 0x55d94847b1d2 bluez::BluetoothAdapterBlueZ::ProcessQueuedDiscoveryRequests()
#9 0x55d948479b20 bluez::BluetoothAdapterBlueZ::OnStartDiscovery()
#10 0x55d944f34e91 _ZN4base8internal7InvokerINS0_9BindStateIMN7content37ServiceWorkerControlleeRequestHandlerEFvRK13scoped_refptrINS3_25ServiceWorkerRegistrationEERKS5_INS3_20ServiceWorkerVersionEEEJNS_7WeakPtrIS4_EES7_SB_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#11 0x55d948495931 bluez::BluetoothAdapterClientImpl::OnSuccess()
#12 0x55d944c432d4 _ZN4base8internal7InvokerINS0_9BindStateIMN7content11SavePackageEFvRKNS_17RepeatingCallbackIFvPNS3_12DownloadItemEEEEPNS3_16DownloadItemImplEEJNS_7WeakPtrIS4_EES9_EEEFvSD_EE3RunEPNS0_13BindStateBaseESD_
#13 0x55d947a8e79b _ZN4base8internal7InvokerINS0_9BindStateIZN4dbus11ObjectProxy27CallMethodWithErrorCallbackEPNS3_10MethodCallEiNS_12OnceCallbackIFvPNS3_8ResponseEEEENS7_IFvPNS3_13ErrorResponseEEEEE3$_0JSB_SF_EEEFvS9_SD_EE7RunOnceEPNS0_13BindStateBaseES9_SD_
#14 0x55d947a8a4b4 dbus::ObjectProxy::RunResponseOrErrorCallback()
#15 0x55d947a8f208 _ZN4base8internal13FunctorTraitsIMN4dbus11ObjectProxyEFvNS3_19ReplyCallbackHolderENS_9TimeTicksEPNS2_8ResponseEPNS2_13ErrorResponseEEvE6InvokeI13scoped_refptrIS3_EJS4_S5_S7_S9_EEEvSB_OT_DpOT0_
#16 0x55d947a8f110 _ZN4base8internal7InvokerINS0_9BindStateIMN4dbus11ObjectProxyEFvNS4_19ReplyCallbackHolderENS_9TimeTicksEPNS3_8ResponseEPNS3_13ErrorResponseEEJ13scoped_refptrIS4_ES5_S6_S8_SA_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#17 0x55d946c95d18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunTaskAndPostReply()
#18 0x55d946c173f8 base::debug::TaskAnnotator::RunTask()
#19 0x55d946ce0f76 base::internal::IncomingTaskQueue::RunTask()
#20 0x55d946c3c84d base::MessageLoop::RunTask()
#21 0x55d946c3cc54 base::MessageLoop::DeferOrRunPendingTask()
#22 0x55d946c3cf12 base::MessageLoop::DoWork()
#23 0x55d946c3f2b9 base::MessagePumpLibevent::Run()
#24 0x55d946c3c0bc base::MessageLoop::Run()
#25 0x55d946c6ae76 base::RunLoop::Run()
#26 0x55d94682edd7 ChromeBrowserMainParts::MainMessageLoopRun()
#27 0x55d944b0c384 content::BrowserMainLoop::RunMainMessageLoopParts()
#28 0x55d944b0f633 content::BrowserMainRunnerImpl::Run()
#29 0x55d944b07e2e content::BrowserMain()
#30 0x55d946815174 content::RunNamedProcessTypeMain()
#31 0x55d946816308 content::ContentMainRunnerImpl::Run()
#32 0x55d946822859 service_manager::Main()
#33 0x55d946814651 content::ContentMain()
#34 0x55d94400493a ChromeMain
#35 0x7fe0efa8b736 __libc_start_main
#36 0x55d9440045b9 _start
  r8: 0000000000000000  r9: 00007fe0ef6a8740 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffedff77911 r13: 00007ffedff77f10 r14: 00007ffedff77a60 r15: 00007ffedff77910
  di: 000000000000763d  si: 000000000000763d  bp: 00007ffedff778d0  bx: 00007ffedff77a60
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007fe0efa9edd2  sp: 00007ffedff777a8
  ip: 00007fe0efa9edd2 efl: 0000000000000202 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

 
Components: OS>Systems>Bluetooth
Labels: -Pri-3 M-66 Pri-1
Cc: dcasta...@chromium.org
I'm hitting the same DCHECK on scarlet/dru.
Disabling bluetooth let me skip the failing DCHECK.

Comment 3 by r...@chromium.org, Feb 9 2018

Labels: ReleaseBlock-Stable
Owner: sonnysasaka@chromium.org
Status: Assigned (was: Untriaged)

Comment 4 by josa...@google.com, Apr 16 2018

rkc/sonny, any update on this RBS?
Mergedinto: 814595
Status: Duplicate (was: Assigned)
This looks like the same as crbug.com/814595 and has been fixed on ToT.
Since the crash only happens in debug mode, I'm not sure if this should be merged to stable?

Sign in to add a comment