RESOLVED FIXED 129315
Web Inspector: Crash in loadResourceSynchronously while loading a source map
https://bugs.webkit.org/show_bug.cgi?id=129315
Summary Web Inspector: Crash in loadResourceSynchronously while loading a source map
joe@vimeo.com
Reported 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.
Attachments
Crash report from Safari (57.08 KB, text/plain)
2014-02-25 09:36 PST, joe@vimeo.com
no flags
Radar WebKit Bug Importer
Comment 1 2014-02-25 09:39:05 PST
Timothy Hatcher
Comment 2 2014-02-25 09:40:45 PST
Crash in loadResourceSynchronously, which is only used by source maps.
Timothy Hatcher
Comment 3 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?
joe@vimeo.com
Comment 4 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
Timothy Hatcher
Comment 5 2014-02-28 11:59:18 PST
Yes, access to the page would help us. You can email details to timothy@apple.com.
Timothy Hatcher
Comment 6 2014-03-04 14:00:08 PST
We plan to switch to async source map loading, which would likely remove this crash site.
Timothy Hatcher
Comment 7 2014-03-13 21:22:41 PDT
We removed the last uses of loadResourceSynchronously. Should not crash anymore.
Note You need to log in before you can comment on or make changes to this bug.