WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
42825
WebKitTestRunner never destroys its main PlatformWebView (and thus its WKView[Ref])
https://bugs.webkit.org/show_bug.cgi?id=42825
Summary
WebKitTestRunner never destroys its main PlatformWebView (and thus its WKView...
Adam Roben (:aroben)
Reported
2010-07-22 08:16:07 PDT
WebKitTestRunner allocates a main PlatformWebView on the heap and never destroys it. It should clean up after itself!
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2010-07-22 08:30:24 PDT
See also
bug 42828
, which is triggered by this bug.
Adam Roben (:aroben)
Comment 2
2010-07-22 08:30:50 PDT
It's possible that this is a cause of
bug 42785
. See discussion in that bug for more details.
Adam Roben (:aroben)
Comment 3
2010-07-22 08:31:30 PDT
<
rdar://problem/8222252
>
Adam Roben (:aroben)
Comment 4
2010-07-22 09:20:20 PDT
I added some code to the end of TestController::run that deletes m_mainWebView. This causes a crash in the web process on Mac. It crashes in CoreIPC::Connection::dispatchConnectionDidClose because m_client is null. dispatchConnectionDidClose must be getting called twice.
Adam Roben (:aroben)
Comment 5
2010-07-26 14:01:55 PDT
(In reply to
comment #4
)
> I added some code to the end of TestController::run that deletes m_mainWebView. This causes a crash in the web process on Mac. It crashes in CoreIPC::Connection::dispatchConnectionDidClose because m_client is null. dispatchConnectionDidClose must be getting called twice.
Anders fixed this crash in
r63916
.
Adam Roben (:aroben)
Comment 6
2010-08-23 13:07:17 PDT
This was fixed in
r64485
.
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