Closed Bug 700471 Opened 13 years ago Closed 13 years ago

[ObjShrink] Crash at unknown address or "Assertion failure: [infer failure] Missing type for arg 0: void,"

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 700501
mozilla10

People

(Reporter: gkw, Unassigned)

Details

(Keywords: assertion, crash, testcase)

gc()
Function("\
  {\
  function f(b){b.q}\
  for each(let c in[/x/,[],/x/,[].e]){\
    f(c)\
  }\
  }\
")()

asserts js debug shell on JM changeset 1210706b4576 with -m, -a and -n at Assertion failure: [infer failure] Missing type for arg 0: void, and crashes js opt shell at an unknown address:

Program received signal SIGSEGV, Segmentation fault.
0xf73f2275 in ?? ()
(gdb) bt
#0  0xf73f2275 in ?? ()
#1  0xf740abe0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) x/i $pc
=> 0xf73f2275:	mov    (%edi),%ebx
(gdb) x/b $edi
0x0:	Cannot access memory at address 0x0
(gdb) x/b $ebx
0xf740ace0:	0xe8
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → mozilla10
Version: Trunk → Other Branch
A testcase for this bug was already added in the original bug (bug 700501).
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.