JS_DumpHeap triggers JS_ASSERT(!rt->gcRunning)

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: peterv, Assigned: Igor Bukanov)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
Stack coming up.
(Reporter)

Comment 1

7 years ago
Created attachment 507834 [details]
Stack for the JS_ASSERT
(Assignee)

Comment 2

7 years ago
Created attachment 507846 [details] [diff] [review]
fix

The fix uses js_malloc/js_free not to affect the malloc counters during dumping.
Assignee: general → igor
Attachment #507846 - Flags: review?(anygregor)
Attachment #507846 - Flags: review?(anygregor) → review+

Comment 3

7 years ago
Its not used in firefox. We should take it if it helps peterv debug.
(Assignee)

Comment 4

7 years ago
http://hg.mozilla.org/tracemonkey/rev/5dbc4a422c1b
Whiteboard: fixed-in-tracemonkey
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.