Closed Bug 879726 Opened 11 years ago Closed 11 years ago

Crash [@ defaultValue] with Array.join

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: decoder, Unassigned)

Details

(Keywords: crash, testcase, Whiteboard: [jsbugmon:])

Crash Data

Attachments

(1 file)

The following testcase crashes on mozilla-central revision 8f9ba85eb61c (run with --ion-eager):


function testUndefinedBooleanCmp() {
    var t = true, x = [];
    for (var i = 0; i < 10; ++i) {
        x[(null)] = t 
        x[3] = t 
        x[4] = x;
    }
    return x.join(",");
}
testUndefinedBooleanCmp();
Whiteboard: [jsbugmon:update,bisect]
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/3835cbed5915
user:        Nicolas B. Pierron
date:        Fri May 24 14:58:08 2013 -0700
summary:     Bug 774006 - IonMonkey: Implement SetElementIC for integer indexes. r=h4writer

This iteration took 0.953 seconds to run.
Needinfo from Nicolas based on comment 2 :)
Flags: needinfo?(nicolas.b.pierron)
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision b7175c5829b5).
Whiteboard: [jsbugmon:update,ignore] → [jsbugmon:bisectfix]
Whiteboard: [jsbugmon:bisectfix] → [jsbugmon:]
JSBugMon: Fix Bisection requested, failed due to error (try manually).
Whiteboard: [jsbugmon:] → [jsbugmon:bisectfix]
Whiteboard: [jsbugmon:bisectfix] → [jsbugmon:]
JSBugMon: Fix Bisection requested, failed due to error (try manually).
(I'll be looking to fix up the harness errors)
Fwiw, the bisection failures comes from a broken range within mozilla-central. It's likely that an update to current autobisect will fix this and we'll look into that tomorrow.
autoBisect shows this is probably related to the following changeset:

The first good revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/5efe6470e752
user:        Hannes Verschore
date:        Fri Jun 14 17:26:28 2013 -0700
summary:     Bug 881470. r=jandem

Hannes, is bug 881470 a likely fix?
Flags: needinfo?(nicolas.b.pierron) → needinfo?(hv1989)
Yes, that is a likely fix for the testcase and issue provided.
Flags: needinfo?(hv1989)
Marking FIXED by bug 881470.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: