Last Comment Bug 700300 - [ObjShrink]: Assertion failure: pobj == found, at jsinterp.cpp:1456
: [ObjShrink]: Assertion failure: pobj == found, at jsinterp.cpp:1456
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Other Branch
: x86_64 Linux
-- critical (vote)
: ---
Assigned To: Brian Hackett (:bhackett)
: Jason Orendorff [:jorendorff]
Depends on: 709929
Blocks: infer-regress langfuzz
  Show dependency treegraph
Reported: 2011-11-07 07:21 PST by Christian Holler (:decoder)
Modified: 2013-01-14 08:41 PST (History)
4 users (show)
choller: in‑testsuite+
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch (5.71 KB, patch)
2011-11-08 17:01 PST, Brian Hackett (:bhackett)
luke: review+
Details | Diff | Splinter Review

Description User image Christian Holler (:decoder) 2011-11-07 07:21:57 PST
The following testcase asserts on jaegermonkey branch revision 1210706b4576 (run with -m -n), tested on 64 bit:

for (let j = 0; j < (2); ++(__lookupSetter__)) {
  function g() { j; }
Comment 1 User image Brian Hackett (:bhackett) 2011-11-08 17:01:26 PST
Created attachment 573046 [details] [diff] [review]

Erk, the DELEGATE bit wasn't ever being set when marking objects as parents of one another, as required by the teleporting optimization.  FWIW, I'd like to remove the teleporting optimization pretty soon --- it has a higher cost now that it requires new shapes to be created for every delegate, and doesn't really buy much given TI.
Comment 2 User image Christian Holler (:decoder) 2013-01-14 08:41:18 PST
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug700300.js.

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