Last Comment Bug 835076 - voxel.js hangs firefox while loading; loading takes a long time
: voxel.js hangs firefox while loading; loading takes a long time
Status: NEW
: perf
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
http://substack.net/projects/voxel-fo...
: 847218 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-26 13:22 PST by Reece H. Dunn
Modified: 2014-10-09 16:55 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Reece H. Dunn 2013-01-26 13:22:06 PST
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130116073211

Steps to reproduce:

1.  Navigated to http://voxeljs.com/
2.  Selected the "voxel forest" demo (http://substack.net/projects/voxel-forest/)


Actual results:

Firefox froze for a minute or so, The animated loader was visible but not rotating. Could not switch between tabs.


Expected results:

Firefox should have stayed responsive while loading the demo.
Comment 1 XtC4UaLL [:xtc4uall] 2013-01-27 07:13:40 PST
Confirmed against Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130127 Firefox/21.0 ID:20130127031042.

SPS-Profile: http://people.mozilla.com/~bgirard/cleopatra/#report=cff830c5110a091e5ad1f57524d47a0143eb3222
Comment 2 David Mandelin [:dmandelin] 2013-01-28 17:58:19 PST
Did the slow script dialog show up for you? I got one. The first time I used it to stop the script, and things seemed to be OK after that. I tried it again and let the script continue, and that eventually worked too.
Comment 3 Reece H. Dunn 2013-01-29 00:56:58 PST
I didn't see the slow script dialog on FF18, Firefox was frozen while it was processing the webpage/javascript.
Comment 4 David Mandelin [:dmandelin] 2013-01-29 11:20:50 PST
(In reply to Reece H. Dunn from comment #3)
> I didn't see the slow script dialog on FF18, Firefox was frozen while it was
> processing the webpage/javascript.

Hmmm, I was testing in Nightly. I just tried again in Fx18 (this time on Mac), and I still got the slow script dialog. I have seen cases before where the slow script dialog should have appeared, but didn't, but I don't know when or why. 

This may or may not be a perf bug. Once the demo gets going, I get a 10% better frame rate in Fx than in Chrome. But the app doesn't time startup, and I didn't either, so it's possible the app startup is slower than it should be.
Comment 5 XtC4UaLL [:xtc4uall] 2013-03-04 11:16:33 PST
*** Bug 847218 has been marked as a duplicate of this bug. ***
Comment 6 Guilherme Lima 2013-10-25 18:10:22 PDT
The page hung for me, but not for so long. It didn't even made the slow script dialog show up.
Checking about:telemetry I see
Hang Report #1 (8 seconds)
js::GCMarker::processMarkStackTop(js::SliceBudget &) (in mozjs.pdb)
js::GCMarker::drainMarkStack(js::SliceBudget &) (in mozjs.pdb)
GCCycle (in mozjs.pdb)
Collect (in mozjs.pdb)
js::GCSlice(JSRuntime *,js::JSGCInvocationKind,JS::gcreason::Reason,__int64) (in mozjs.pdb)
js_InvokeOperationCallback(JSContext *) (in mozjs.pdb)
js::jit::InterruptCheck(JSContext *) (in mozjs.pdb)
js::jit::CheckOverRecursed(JSContext *) (in mozjs.pdb)
-0x1
-0x1
-0x1

Note You need to log in before you can comment on or make changes to this bug.