Closed Bug 82009 Opened 24 years ago Closed 24 years ago

purify msg: Freeing mismatched memory

Categories

(Core :: Networking: Cache, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.2

People

(Reporter: bstell, Assigned: gordon)

References

Details

Attachments

(2 files)

Checkout/build may 21 @ 10:41 On Solaris I get this message: FMM: Freeing mismatched memory (3 times) This is occurring while in: void operator delete(void*) [rtlib.o] nsDiskCacheEntry*CreateDiskCacheEntry(nsDiskCacheBinding*) [nsDiskCacheEntry.cpp] unsigned nsDiskCacheMap::WriteDiskCacheEntry(nsDiskCacheBinding*) [nsDiskCacheMap.cpp] unsigned nsDiskCacheDevice::DeactivateEntry(nsCacheEntry*) [nsDiskCacheDevice.cpp] void nsCacheService::DeactivateEntry(nsCacheEntry*) [nsCacheService.cpp] void nsCacheService::CloseDescriptor(nsCacheEntryDescriptor*) [nsCacheService.cpp] unsigned nsCacheEntryDescriptor::Close() [nsCacheEntryDescriptor.cpp] nsCacheEntryDescriptor::~nsCacheEntryDescriptor() [nsCacheEntryDescriptor.cpp] __SLIP.DELETER__A [nsCacheEntryDescriptor.cpp] unsigned nsCacheEntryDescriptor::Release() [nsCacheEntryDescriptor.cpp] Attempting to free block at 0x1163578 in the heap. Address 0x1163578 is at the beginning of a malloc'd block of 285 bytes. This block was allocated from: malloc [rtlib.o] c2n6Fi_Pv___1 [libCrun.so.1] void*operator new(unsigned) [rtlib.o] void*operator new[](unsigned) [rtlib.o] unsigned nsCacheMetaData::FlattenMetaData(char**,unsigned*) [nsCacheMetaData.cpp] unsigned nsCacheEntry::FlattenMetaData(char**,unsigned*) [nsCacheEntry.cpp] nsDiskCacheEntry*CreateDiskCacheEntry(nsDiskCacheBinding*) [nsDiskCacheEntry.cpp] unsigned nsDiskCacheMap::WriteDiskCacheEntry(nsDiskCacheBinding*) [nsDiskCacheMap.cpp] unsigned nsDiskCacheDevice::DeactivateEntry(nsCacheEntry*) [nsDiskCacheDevice.cpp] void nsCacheService::DeactivateEntry(nsCacheEntry*) [nsCacheService.cpp] This block of memory was obtained using an allocation routine which is not compatible with the routine by which it is being freed.
all I did was start mozilla -pure which went to www.mozilla.org
-> 0.9.2
Target Milestone: --- → mozilla0.9.2
This fix for bug 82370, recently checked in, fixes some of these. I'll get the rest in 0.9.2.
Status: NEW → ASSIGNED
Priority: -- → P3
Brian, are you still getting mismatched memory errors?
I'll update my tree on sheep and retest ...
Brian, what's left? I'm not set up with a Solaris build and Purify.
I'm having trouble building on solaris right now
I see this on my 2001-06-12 build on sheep.
r=beard
sr=darin
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Blocks: 83989
Patch checked in. Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: