Bug 129315 - Web Inspector: Crash in loadResourceSynchronously while loading a source map
Summary: Web Inspector: Crash in loadResourceSynchronously while loading a source map
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.9
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-02-25 09:36 PST by joe@vimeo.com
Modified: 2014-03-13 21:22 PDT (History)
4 users (show)

See Also:


Attachments
Crash report from Safari (57.08 KB, text/plain)
2014-02-25 09:36 PST, joe@vimeo.com
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description joe@vimeo.com 2014-02-25 09:36:40 PST
Created attachment 225156 [details]
Crash report from Safari

The web inspector becomes very unstable when open while a heavy DOM operation is occurring on page load. The loading of the page and the adding of DOM nodes becomes many times more sluggish while the inspector is open. Additionally, attempting to close the web inspector during this period of instability (usually because it's going slow and I want it to get on with it already) causes the web inspector process to crash.
Comment 1 Radar WebKit Bug Importer 2014-02-25 09:39:05 PST
<rdar://problem/16160938>
Comment 2 Timothy Hatcher 2014-02-25 09:40:45 PST
Crash in loadResourceSynchronously, which is only used by source maps.
Comment 3 Timothy Hatcher 2014-02-25 09:41:41 PST
It looks like the page uses source maps. Is there any more details you can share about that to help us?
Comment 4 joe@vimeo.com 2014-02-25 09:45:32 PST
The project is a single page web app that uses SCSS files to generate CSS and CoffeeScript to generate the JS. Both the CoffeScript and SCSS are being compiled using a Grunt task. I'm not actively using the source maps at all, actually, but I guess the Grunt task could be generating them without me knowing.

The JS/CoffeeScript is also dependent on Backbone to do all of its rendering. We're rendering out a ton of DOM nodes (it's a calendaring app) and that's the heavy operation at load. This project is basically a rewrite of http://www.floatschedule.com calendar view to be all front-end.

Let me know if getting access to the actual page would help, I can set you up with credentials.

Joe
Comment 5 Timothy Hatcher 2014-02-28 11:59:18 PST
Yes, access to the page would help us. You can email details to timothy@apple.com.
Comment 6 Timothy Hatcher 2014-03-04 14:00:08 PST
We plan to switch to async source map loading, which would likely remove this crash site.
Comment 7 Timothy Hatcher 2014-03-13 21:22:41 PDT
We removed the last uses of loadResourceSynchronously. Should not crash anymore.