Closed Bug 686296 Opened 13 years ago Closed 13 years ago

Assertion failure: obj->isExtensible(), at jsobj.cpp:4649

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla12
Tracking Status
firefox-esr10 --- wontfix

People

(Reporter: decoder, Assigned: evilpies)

References

Details

(Keywords: assertion, testcase, Whiteboard: js-triage-needed)

Attachments

(1 file)

The following test asserts on mozilla-central revision 569a45bfb71c (options -m -n -a): (function () { assertThrows = function assertThrows(code, type_opt, cause_opt) { eval(code); }; })(); var o = Object.preventExtensions(new ArrayBuffer()); assertThrows("o.__proto__ = {}");
Whiteboard: js-triage-needed
Attached patch fixSplinter Review
Assignee: general → evilpies
Status: NEW → ASSIGNED
Attachment #588675 - Flags: review?(jorendorff)
Comment on attachment 588675 [details] [diff] [review] fix The test doesn't work. Try this instead: load(libdir + "asserts.js"); var o = Object.preventExtensions(new ArrayBuffer); assertThrowsInstanceOf(function () { o.__proto__ = {}; }, TypeError);
Attachment #588675 - Flags: review?(jorendorff) → review+
Dammit, missed that with the try .. catch. Cool that we have a library function for that.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Comment on attachment 588675 [details] [diff] [review] fix [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: jsfunfuzz and/or Langfuzz finds this (and other variants) really easily, in a short period of time after being run. User impact if declined: Open sourcing the js fuzzers might lead to more bug duplicates of this one. Fix Landed on Version: 12 See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info. Tom / jorendorff, perhaps you'd like to answer these portions? Risk to taking this patch (and alternatives if risky): String changes made by this patch:
Attachment #588675 - Flags: approval-mozilla-esr10?
(In reply to Gary Kwong [:gkw, :nth10sd] from comment #7) > consideration: jsfunfuzz and/or Langfuzz finds this (and other variants) > really easily, in a short period of time after being run. > User impact if declined: Open sourcing the js fuzzers might lead to more bug > duplicates of this one. Can you explain to me what it means when these are found? Does this fix a test? I'm not 100% sure why this is needed on ESR.
Comment on attachment 588675 [details] [diff] [review] fix On further analysis, this doesn't occur frequently enough similar to bug 697279 after being put on suppression.
Attachment #588675 - Flags: approval-mozilla-esr10?
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug686296.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: