New issue
Advanced search Search tips

Issue 874815 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

[MacOS] base::debug::WaitForDebugger waits till the timeout, even when debugger is being attached.

Project Member Reported by mpichlin...@opera.com, Aug 16

Issue description

Chrome Version: 70.0.3521.2
OS: MacOS

What steps will reproduce the problem?
(1) Start browser manually with --wait-for-debugger
(2) Attach a debugger to the running process

What is the expected result?
Browser starts working right after the debugger attaches.

What happens instead?
Browser is hanging in the WaitForDebugger loop till the timeout.

 
Owner: ----
Status: Available (was: Started)
Solution proposed in:
https://chromium-review.googlesource.com/c/chromium/src/+/1177605 breaks async-signal safe assumption and is not sufficient for the sandboxed processes.

Suggested solution:
"Invent our own protocol for this. “Attach a debugger and call ThisNewFunctionWeAreInventing()”. The new function could tickle something that WaitForDebugger() waits on, and then trap."
Components: Internals>Core

Sign in to add a comment