Bug 102390 - Web Inspector: Memory Timeline Crash
Summary: Web Inspector: Memory Timeline Crash
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: eustas.bug
URL: http://jsperf.com/eval-vs-createscript/2
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 07:55 PST by Alex Seville
Modified: 2012-11-16 03:35 PST (History)
11 users (show)

See Also:


Attachments
Patch (5.86 KB, patch)
2012-11-16 00:13 PST, eustas.bug
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Seville 2012-11-15 07:55:14 PST
When I attempt to run the Memory Timeline on the above page the tool stops capturing after a certain point and the UI locks up.  If I try to  stop capturing, nothing works.  If I resize the window the UI does not update and eventually it crashes.  This happens in Chrome and Canary.
Comment 1 Alex Seville 2012-11-15 08:18:18 PST
I just noticed that this issue DOES NOT occur in Safari for Windows.
Comment 2 eustas.bug 2012-11-16 00:12:51 PST
Crash seems to be caused by IPC overflow.
Messages "ParsedScriptSource" are routed to
ResourceScriptMapping.prototype.addScript that process them in time
linear to number of already registered non-anonymous non-inline scripts.

Fixed this with replacing repreated filtering with "on-line" bucketing
Comment 3 eustas.bug 2012-11-16 00:13:45 PST
Created attachment 174620 [details]
Patch
Comment 4 WebKit Review Bot 2012-11-16 03:35:55 PST
Comment on attachment 174620 [details]
Patch

Clearing flags on attachment: 174620

Committed r134926: <http://trac.webkit.org/changeset/134926>
Comment 5 WebKit Review Bot 2012-11-16 03:35:59 PST
All reviewed patches have been landed.  Closing bug.