Closed Bug 728990 Opened 13 years ago Closed 13 years ago

"ASSERTION: The two measurements of 'explicit' memory usage don't match"

Categories

(Core :: XPCOM, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jruderman, Assigned: n.nethercote)

References

Details

Attachments

(1 file, 1 obsolete file)

I've been hitting this occasionally: ###!!! ASSERTION: The two measurements of 'explicit' memory usage don't match: 'explicitNonHeapMultiSize == explicitNonHeapMultiSize2', file /Users/jruderman/trees/mozilla-central/xpcom/base/nsMemoryReporterManager.cpp, line 828 Maybe an allocation happened on another thread during the check? This should probably be downgraded to a warning since it can't be guaranteed.
Assignee: nobody → n.nethercote
Attached patch patch (obsolete) (deleted) — Splinter Review
Change the warning to an assertion.
Attachment #600831 - Flags: review?
Blocks: 729403
Comment on attachment 600831 [details] [diff] [review] patch Actually, that's a rubbish patch.
Attachment #600831 - Flags: review?
Attached patch patch, v2 (deleted) — Splinter Review
A better patch.
Attachment #600831 - Attachment is obsolete: true
Attachment #600833 - Flags: review?
Attachment #600833 - Flags: review? → review?(jruderman)
Comment on attachment 600833 [details] [diff] [review] patch, v2 Looks reasonable to me. You might want to also get this reviewed by someone who is familiar with PR_smprintf.
Attachment #600833 - Flags: review?(jruderman) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Depends on: 733374
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: