Open Bug 786014 Opened 12 years ago Updated 2 years ago

Crash in js::gcstats::Statistics::printStats() + 462 (Statistics.cpp:497)

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect

Tracking

()

REOPENED

People

(Reporter: gwagner, Unassigned)

Details

(Whiteboard: [js:p2])

With a OSX debug build and GC logging on I always get 

WARNING: GetWindowsTable returned null: file /Users/idefix2/moz/ws9/dom/base/nsWindowMemoryReporter.cpp, line 627
Assertion failure: ok, at /Users/idefix2/moz/ws9/xpcom/build/mozPoisonWriteMac.cpp:54

Full BT: http://pastebin.mozilla.org/1779099
Whiteboard: [js:p2]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
I don't think this is a dupe. However, seeing bug 794178 makes me understand this bug. Before I had assumed that we had a bad file pointer or something, which didn't make any sense. However, this real reason is much stupider. After bug 732173 landed, we're apparently no longer allowed to write to any file descriptor at all during shutdown (although only on Macs). We're not even allowed to write to stdout or stderr I guess.

Maybe we should only do the printStats thing in shell builds.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.