Closed Bug 791217 Opened 12 years ago Closed 12 years ago

Crash on Heap

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 792944

People

(Reporter: decoder, Unassigned)

Details

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

Attachments

(1 file)

Attached file Testcase for shell
The attached testcase crashes on mozilla-central revision fdfaef738a00 (run with --ion-eager).
Crash trace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f20097 in ?? () (gdb) bt #0 0x00007ffff7f20097 in ?? () #1 0xfffbfffff5f1e200 in ?? () #2 0x00007ffff5f1e140 in ?? () #3 0x00007ffff5f1e200 in ?? () #4 0x0000000000000000 in ?? () (gdb) x /i $pc => 0x7ffff7f20097: mov (%rax),%r8 (gdb) info reg rax r8 rax 0x0 0 r8 0x7ffff5f19948 140737319639368 Looks like a null-deref but since this is in generated code, locking s-s until investigated.
Whiteboard: [jsbugmon:update]
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision 85df971e0db1).
Whiteboard: [jsbugmon:update,ignore] → [jsbugmon:bisectfix]
Whiteboard: [jsbugmon:bisectfix] → [jsbugmon:]
JSBugMon: Fix Bisection requested, result: autoBisect shows this is probably related to the following changeset: The first good revision is: changeset: 108016:640ffc5bc79c user: Jan de Mooij date: Tue Sep 25 16:16:46 2012 +0200 summary: Bug 792944 - Idempotent caches should reject singleton properties that require monitoring. r=dvander This iteration took 94.785 seconds to run.
dvander, jandem, is the fix in comment 3 plausible? Can we close as dup or wfm?
Thanks for bisecting. Yup, that looks very similar, the bug is that undefined (which looks like a NULL in generated assembly) flows through as an object pointer.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: