| Summary: | Web Inspector: Deadlock hitting breakpoint while inspecting JSContext | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, ggaren, graouts, joepeck, mark.lam, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 222604 [details]
[PATCH] Proposed Fix
Comment on attachment 222604 [details]
[PATCH] Proposed Fix
r=me
Comment on attachment 222604 [details] [PATCH] Proposed Fix Clearing flags on attachment: 222604 Committed r163051: <http://trac.webkit.org/changeset/163051> All reviewed patches have been landed. Closing bug. |
* SUMMARY Deadlock hitting breakpoint while inspecting a JSContext application. -> MainThread -> processing UI event (click a button) -> runs JSContext evaluateScript -> takes API lock -> hit breakpoint -> in nested run loop (idle) -> RWI Dispatch Queue -> receives incoming debugger command -> determines the global object -> APIEntry shim attempting to perform the command (locked) We never continue, because we're waiting for a debugger command, and the debugger command is stuck. The main thread needs to drop the JSLock (API lock) before running the nested event loop.