WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
278804
[WebDriver][GLIB] Segfault with connection being closed by empty SetTargetList not related to disconnection
https://bugs.webkit.org/show_bug.cgi?id=278804
Summary
[WebDriver][GLIB] Segfault with connection being closed by empty SetTargetLis...
Lauro Moura
Reported
2024-08-28 12:46:41 PDT
When initializing a session, might an empty target list in `SessionHostGlib.cpp::setTargetList()`. After
282489@main
/
bug277341
, this function assumes whenever we get an empty target list, it means we lost connection to the RemoteInspectorServer. But we might get empty lists due to the message handler filtering only the "Automation" targets before sending to `setTargetList()`, removing targets like `WebPage`. This behavior is leading to segfaults inside `setTargetList` due to the scenario above prematurely calling `connectionDidClose()`. Patch incoming.
Attachments
Add attachment
proposed patch, testcase, etc.
Lauro Moura
Comment 1
2024-08-30 10:14:37 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32951
EWS
Comment 2
2024-09-02 09:17:17 PDT
Committed
283061@main
(b00d19a0d891): <
https://commits.webkit.org/283061@main
> Reviewed commits have been landed. Closing PR #32951 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-09-02 09:18:12 PDT
<
rdar://problem/135147545
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug