Closed Bug 846590 Opened 11 years ago Closed 11 years ago

Intermittent jit_test.py --ion-eager | /builds/slave/m-in_l64-d_sm-rootanalysis-000/src/js/src/jit-test/tests/basic/bug631305.js: Assertion failure: jumpOffset + SizeOfExtendedJump <= code->instructionsSize(), at /builds/slave/m-in_l64-d_sm-rootanalysis-0

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: philor, Assigned: sfink)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=20199398&tree=Mozilla-Inbound
Linux x86-64 mozilla-inbound leak test spidermonkey_mozilla-inbound-rootanalysis build on 2013-02-28 14:50:39 PST for push bd745ff1a2e9
slave: bld-linux64-ec2-303

FAIL - /builds/slave/m-in_l64-d_sm-rootanalysis-000/src/js/src/jit-test/tests/basic/bug631305.js
TEST-UNEXPECTED-FAIL | jit_test.py --ion-eager    | /builds/slave/m-in_l64-d_sm-rootanalysis-000/src/js/src/jit-test/tests/basic/bug631305.js: Assertion failure: jumpOffset + SizeOfExtendedJump <= code->instructionsSize(), at /builds/slave/m-in_l64-d_sm-rootanalysis-000/src/js/src/ion/x64/Assembler-x64.cpp:65
Ugh. I ran 1000 iterations of this test in a loop on my local machine, and got 0 errors.

I'll try on my pet slave box next.
CheckStackRoots should not do anything when GC is suppressed. This was causing the intermittent orange because an IC compilation would create a new IonCode with GC suppressed. Most of the time, this happened at compile-time and so CheckStackRoots would do nothing because the compartment would have activeAnalysis set. But when generating a runtime IC, it would not be set and the suppressGC flag was not checked.

Currently, my test has made it through 40000 runs without a problem with this patch applied. Before, it would almost always fail in under 1000 runs.
Attachment #721475 - Flags: review?(terrence)
Assignee: general → sphink
Blocks: 848146
Comment on attachment 721475 [details] [diff] [review]
Do not poison when GC suppressed

Review of attachment 721475 [details] [diff] [review]:
-----------------------------------------------------------------

Nice find!
Attachment #721475 - Flags: review?(terrence) → review+
Attachment #721475 - Flags: checkin+
https://hg.mozilla.org/mozilla-central/rev/15aea6ea0f6d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: