Closed Bug 1005777 Opened 11 years ago Closed 3 years ago

"Assertion failure: *(int*)size_ >= 0" calling enableSPSProfiling() in browser

Categories

(Core :: Gecko Profiler, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jruderman, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: assertion)

1. Set devtools.chrome.enabled to true 2. Using the web console on a chrome page, Components.utils.getJSTestingFunctions().enableSPSProfiling() Result: Assertion failure: *(int*)size_ >= 0, at /Users/jruderman/trees/mozilla-central/js/src/vm/SPSProfiler.cpp:247 (This function lives in TestingFunctions.cpp, so I assume it's intended for both shell and browser fuzzing.)
It looks like we're switching pseudostacks with frames still present on the old stack; later they try to pop themselves off of the new stack, which does not work. I think |enableSPSProfiling| should either stay on the old stack if one is present, or (if that's infeasible or undesirable) throw an exception in that case.
Blocks: 1329181

Hi Jesse,
issue is not reproducible via provided steps, in Windows 10, on Firefox Release 89.0.2 (64-bit) and Nightly 91.0a1 (2021-06-25) (64-bit) versions. Please, @Jesse , can you confirm if you are still experiencing the issue?
Thanks in advance.

Jerónimo.

Flags: needinfo?(jruderman)

Hi,
I'm marking this as Resolved-Incomplete due to lack of response. If the issue is still reproducible with the latest Firefox version, feel free to reopen the bug with more information.

Regards,
Jerónimo.

Status: NEW → RESOLVED
Closed: 3 years ago
QA Whiteboard: qa-not-actionable
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.