Assertion failure: phi->hasUses() (Missed an unused phi), at /mozilla/builds/nightly/mozilla/js/src/jit/ValueNumbering.cpp:685

NEW
Unassigned

Status

()

Core
JavaScript Engine: JIT
P5
normal
3 years ago
2 years ago

People

(Reporter: Tomcat, Unassigned, NeedInfo)

Tracking

(Blocks: 1 bug, {assertion})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8580724 [details]
mac stack

Found via Bughunter and reproduce on a Mac 10.9 Trunk Debug Build based on m-c tip

Steps to reproduce:
Load http://s3.crate.im/emzx/mzxrun.html
Assertion failure: Assertion failure: phi->hasUses() (Missed an unused phi), at /mozilla/builds/nightly/mozilla/js/src/jit/ValueNumbering.cpp:685
For what it's worth, this is an emscripten app, that loads a lot of different assets and resources at run time using xhr. Test case fails quickly in the shell. I've tried to make it behave like the browser (by locally preloading assets and then loading them as files rather than via xhr) but then the code complains there's no window/document and other DOM bindings, so it might be hard to reproduce in the shell only...

Updated

3 years ago
Flags: needinfo?(sunfish)
To be clear with respect to my comment: when i say "it fails quickly", that is "it fails to reproduce", not "the assertion triggers", unfortunately.
Fortunately, this assert doesn't indicate a correctness problem; it's just a missed optimization opportunity.
It's possible that this is the same bug as bug 1133149.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.