Bug 182170

Summary: WebDriver: service hangs after a browser crash
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, clopez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch clopez: review+

Description Carlos Garcia Campos 2018-01-26 05:07:30 PST
This is currently happening in the GTK+ debug bot. There's a test that makes the browser crash due to an assert, hanging the whole process and preventing the rest of the tests from running. When the browser crashes, we correctly handle the pending requests, by completing them with an error. However, if the client tries to send another command we fail to send the message to the browser and the reply is never sent to the client. In the case of the tests, delete session command is sent, but never gets a reply.
Comment 1 Carlos Garcia Campos 2018-01-26 05:11:54 PST
Created attachment 332368 [details]
Patch
Comment 2 Carlos Garcia Campos 2018-01-26 05:20:19 PST
Committed r227674: <https://trac.webkit.org/changeset/227674>
Comment 3 Radar WebKit Bug Importer 2018-01-26 05:21:18 PST
<rdar://problem/36906514>