Last Comment Bug 724654 - IonMonkey: "Assertion failure: hasGlobal(),"
: IonMonkey: "Assertion failure: hasGlobal(),"
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86 Mac OS X
: -- critical (vote)
: ---
Assigned To: David Anderson [:dvander]
:
:
Mentors:
Depends on:
Blocks: jsfunfuzz IonFuzz 630996
  Show dependency treegraph
 
Reported: 2012-02-06 13:00 PST by Gary Kwong [:gkw] [:nth10sd]
Modified: 2013-01-14 08:02 PST (History)
5 users (show)
choller: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
stack (4.55 KB, text/plain)
2012-02-06 13:00 PST, Gary Kwong [:gkw] [:nth10sd]
no flags Details
fix (1.48 KB, patch)
2012-02-06 16:14 PST, David Anderson [:dvander]
bhackett1024: review+
Details | Diff | Splinter Review

Description Gary Kwong [:gkw] [:nth10sd] 2012-02-06 13:00:07 PST
Created attachment 594776 [details]
stack

de = N = K = E = l = p = n = function() {}
function e() {}
function tryItOut(code) {
    d = f = Function(code)
    f()
}
function t() {}
function ne() {}
a = eval
function r() {}
s = v = false
function f4() {}
o = 9
tryItOut("for(b in((Object.create)(this))){}")

asserts js debug shell on IonMonkey changeset 186084ff8e63 with -m, --ion and -n at Assertion failure: hasGlobal(),
Comment 1 Gary Kwong [:gkw] [:nth10sd] 2012-02-06 13:32:12 PST
Still repros on changeset a1fc5b03be76.
Comment 2 David Anderson [:dvander] 2012-02-06 16:14:18 PST
Created attachment 594857 [details] [diff] [review]
fix
Comment 3 David Anderson [:dvander] 2012-02-06 16:17:10 PST
http://hg.mozilla.org/projects/ionmonkey/rev/142b4500e832
Comment 4 Christian Holler (:decoder) 2013-01-14 08:02:48 PST
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug724654.js.

Note You need to log in before you can comment on or make changes to this bug.