Bug 182170 - WebDriver: service hangs after a browser crash
Summary: WebDriver: service hangs after a browser crash
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-26 05:07 PST by Carlos Garcia Campos
Modified: 2018-01-26 05:21 PST (History)
3 users (show)

See Also:


Attachments
Patch (6.69 KB, patch)
2018-01-26 05:11 PST, Carlos Garcia Campos
clopez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>