Skip to content
DoS Disclosed report

GC related crash/asserts: isFunctionFrame() / obj->numSlots() >= first + count

Christian Holler Follow

Originally disclosed on Mozilla

  • Fixed in 8 days
  • Paid in 2.6 years
  • Disclosed after 8 days
Text
Created attachment 500391
Shell test case for first assertion

The attached two testcases trigger two (likely related) assertions with the shell:

Assertion failure: isFunctionFrame(), at ../jsinterp.h:312
Assertion failure: obj->numSlots() >= first + count, at jsfun.cpp:1370

The second assertion isn't always triggered, sometimes also the first one shows up instead. For a reliable run, try running in valgrind also.

Both versions will crash when continuing after the assertions.

The bug might be related to 617139 because these examples also involve infinite recursion and GC triggering. The assertions are different though.

The original report as published on Mozilla's Bugzilla, by Christian Holler. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A doS bug in JavaScript Engine. Mozilla made it public on 8 January 2011.

About DoS

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Christian Holler

View all

34 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.