Closed Bug 867466 Opened 11 years ago Closed 11 years ago

Assertion failure: false (unexpected statement type), at jsreflect.cpp:2178 or Crash on Heap with invalid memory executed

Categories

(Core :: JavaScript Engine, defect)

22 Branch
x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla22
Tracking Status
firefox21 --- unaffected
firefox22 + fixed
firefox23 --- unaffected
firefox24 --- unaffected
firefox-esr17 --- unaffected
b2g18 --- unaffected

People

(Reporter: decoder, Assigned: ejpbruel)

References

(Blocks 1 open bug)

Details

(5 keywords, Whiteboard: [adv-main22-] Firefox 22 only)

The following testcase asserts on mozilla-aurora revision 4cf75b25cdc3 (run with --ion-eager):


var node = Reflect.parse("module 'foo' {}");
gkw made bisects for this:

The first bad revision is:
changeset:   128914:ec8547a266b7
user:        Eddy Bruel
date:        Wed Feb 20 20:49:41 2013 +0100
summary:     Bug 568953 - Parser support for module declarations; r=jorendorff

The first good revision is:
changeset:   126958:172651edb28e
user:        Eddy Bruel
date:        Tue Apr 02 18:00:49 2013 +0200
summary:     Bug 568953 - Added reflection support for module declarations; r=jorendorff 


The necessary changes need to be backported to mozilla-aurora.
Keywords: crash
Flags: needinfo?(ejpbruel)
This bug is aurora only.
Assignee: general → ejpbruel
Whiteboard: Firefox 22 only
Version: Trunk → 22 Branch
Can somebody backport this?
Flags: needinfo?(ejpbruel)
172651edb28e seems to apply nicely to mozilla-beta (this fix is present on aurora and central), so Eddy, I guess you'll need to fill out the approval-mozilla-beta questionaire to nominate that patch for backport, reproduced here:

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: 
Testing completed (on m-c, etc.): 
Risk to taking this patch (and alternatives if risky): 
String or IDL/UUID changes made by this patch:
Flags: needinfo?(ejpbruel)
Keywords: checkin-needed
Oops, set checkin-needed too early.
Keywords: checkin-needed
Bug caused by (feature/regressing bug #): 568953 
User impact if declined: Makes it possible to crash Firefox by using module syntax
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): Very low
String or IDL/UUID changes made by this patch: None

Gary, what flag should I set to complete the process?
Flags: needinfo?(ejpbruel) → needinfo?(gary)
Due to the patch already being in bugzilla (where the flag is set), I've nominated the flag in bug 568953 comment 104 and duplicated Eddy's comments there.

Thanks! Now to wait for approval, then someone can land it on beta.
Flags: needinfo?(gary)
Please land 172651edb28e to mozilla-beta, approval has already been given in bug 568953 comment 105
Keywords: checkin-needed
https://hg.mozilla.org/releases/mozilla-beta/rev/4ec769a499fc
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Whiteboard: Firefox 22 only → [adv-main22-] Firefox 22 only
Group: core-security
You need to log in before you can comment on or make changes to this bug.