Open Bug 1145644 Opened 9 years ago Updated 11 months ago

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

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: assertion)

Attachments

(1 file)

Attached file 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...
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
Severity: normal → S3
Flags: needinfo?(sunfish)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: