Skip to content

devtools: Fix deadlock-like silent failure in DevTools - #45050

Merged
eerii merged 2 commits into
servo:mainfrom
atbrakhi:fix_silent_crash
May 26, 2026
Merged

eerii merged 2 commits into
servo:mainfrom
atbrakhi:fix_silent_crash

Conversation

@atbrakhi

@atbrakhi atbrakhi commented May 21, 2026 •

Copy link
Copy Markdown
Member

When the debugger was already paused, console evaluation could hit another breakpoint and send a second paused packet. This created a deadlock-like nested pause flow where DevTools appeared to resume, but behind the scenes pause/resume handling got stuck silently.

Testing: Added a test
Fixes: part of #39858

atbrakhi added 2 commits May 21, 2026 10:08
When the debugger was already paused, console evaluation could hit another
breakpoint and send a second paused packet. This created a deadlock-like nested
pause flow where DevTools appeared to resume, but behind the scenes
pause/resume handling got stuck silently.

Signed-off-by: atbrakhi <[email protected]>
Signed-off-by: atbrakhi <[email protected]>
@atbrakhi
atbrakhi marked this pull request as ready for review May 25, 2026 16:10
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 25, 2026
@atbrakhi
atbrakhi requested a review from eerii May 25, 2026 16:10

@eerii eerii left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label May 26, 2026
@eerii
eerii added this pull request to the merge queue May 26, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 26, 2026
Merged via the queue into servo:main with commit ad3b96d May 26, 2026
35 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants