WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
116464
PPT: Closing tab that is hung or chewing 100% CPU leaves abandoned WebProcess.
https://bugs.webkit.org/show_bug.cgi?id=116464
Summary
PPT: Closing tab that is hung or chewing 100% CPU leaves abandoned WebProcess.
Andreas Kling
Reported
2013-05-20 14:37:44 PDT
<
rdar://problem/10103795
>
Attachments
Proposed patch
(3.91 KB, patch)
2013-05-20 14:38 PDT
,
Andreas Kling
andersca
: review+
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing
(3.62 KB, patch)
2013-05-20 15:08 PDT
,
Andreas Kling
kling
: commit-queue+
Details
Formatted Diff
Diff
Patch for landing
(3.58 KB, patch)
2013-05-20 15:10 PDT
,
Andreas Kling
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Simpler, gentler, better(?)
(5.29 KB, patch)
2013-05-21 14:38 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-05-20 14:38:33 PDT
Created
attachment 202321
[details]
Proposed patch
Early Warning System Bot
Comment 2
2013-05-20 14:44:20 PDT
Comment on
attachment 202321
[details]
Proposed patch
Attachment 202321
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/457113
Anders Carlsson
Comment 3
2013-05-20 15:05:20 PDT
Comment on
attachment 202321
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=202321&action=review
> Source/WebKit2/UIProcess/WebProcessProxy.cpp:208 > + if (m_context->usesNetworkProcess() && !m_suddenTerminationCounter && canTerminateChildProcess()) > requestTermination();
Can you make this an early return instead?
> Source/WebKit2/UIProcess/WebProcessProxy.cpp:210 > + static const double timeBeforeForcefullyKillingWebProcessInSeconds = 10;
I don’t think this needs to be static.
> Source/WebKit2/UIProcess/WebProcessProxy.cpp:662 > + WTFLogAlways("Killing runaway web process, PID=%d\n", processIdentifier());
Hue. Maybe lowercase pid?
Andreas Kling
Comment 4
2013-05-20 15:08:47 PDT
Created
attachment 202323
[details]
Patch for landing
Andreas Kling
Comment 5
2013-05-20 15:10:42 PDT
Created
attachment 202324
[details]
Patch for landing
Andreas Kling
Comment 6
2013-05-20 15:56:07 PDT
Committed
r150384
: <
http://trac.webkit.org/changeset/150384
>
WebKit Commit Bot
Comment 7
2013-05-20 21:39:22 PDT
Re-opened since this is blocked by
bug 116513
WebKit Commit Bot
Comment 8
2013-05-20 21:41:02 PDT
Comment on
attachment 202324
[details]
Patch for landing Rejecting
attachment 202324
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 202324, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: k #2 FAILED at 202. Hunk #3 succeeded at 685 with fuzz 2 (offset 24 lines). 2 out of 3 hunks FAILED -- saving rejects to file Source/WebKit2/UIProcess/WebProcessProxy.cpp.rej patching file Source/WebKit2/UIProcess/WebProcessProxy.h Hunk #1 FAILED at 185. Hunk #2 FAILED at 211. 2 out of 2 hunks FAILED -- saving rejects to file Source/WebKit2/UIProcess/WebProcessProxy.h.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output:
http://webkit-queues.appspot.com/results/528029
Andreas Kling
Comment 9
2013-05-21 14:38:31 PDT
Created
attachment 202473
[details]
Simpler, gentler, better(?)
WebKit Commit Bot
Comment 10
2013-05-21 17:06:37 PDT
Comment on
attachment 202473
[details]
Simpler, gentler, better(?) Clearing flags on attachment: 202473 Committed
r150491
: <
http://trac.webkit.org/changeset/150491
>
WebKit Commit Bot
Comment 11
2013-05-21 17:06:40 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 12
2013-05-21 19:27:38 PDT
It seems like this patch broke two TestWebKitAPI tests:
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK1%20%28Tests%29/builds/7944
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK1%20%28Tests%29/builds/7944/steps/run-api-tests/logs/stdio
Tests that failed: WebKit2.CloseThenTerminate Tests that timed out: WebKit2.DOMWindowExtensionNoCache
Andreas Kling
Comment 13
2013-05-22 11:13:44 PDT
(In reply to
comment #12
)
> It seems like this patch broke two TestWebKitAPI tests: >
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK1%20%28Tests%29/builds/7944
> >
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK1%20%28Tests%29/builds/7944/steps/run-api-tests/logs/stdio
> > Tests that failed: > WebKit2.CloseThenTerminate
Fixed with <
http://trac.webkit.org/changeset/150500
>.
> Tests that timed out: > WebKit2.DOMWindowExtensionNoCache
Tracked on
bug 116595
.
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