Closed Bug 464664 Opened 18 years ago Closed 17 years ago

[redux] Assertion failure in MMgc/FixedAlloc.cpp:96 on PPC OSX 10.5 shell

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)

PowerPC
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: brbaker, Assigned: treilly)

Details

(Keywords: flashplayer)

All acceptance testcases have the following assertion failure when running on PPC OSX 10.5: Leaked 32 byte item. Addr: 0x1001028 Leaked 32 byte item. Addr: 0x1001058 Leaked 32 byte item. Addr: 0x1001088 Leaked 32 byte item. Addr: 0x10010b8 Assertion failed: "((false))" ("/Users/build/buildbot/tamarin-redux/mac-ppc-10_5 /tamarin-redux/MMgc/FixedAlloc.cpp":96)
Flags: wanted-flashplayer10+
Flags: in-testsuite+
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Assignee: nobody → treilly
Status: NEW → ASSIGNED
Flags: flashplayer-qrb?
Priority: -- → P2
Target Milestone: --- → flash10.x
Flags: flashplayer-qrb+
I have seen a lot of fun things in my life, but this is really funny. An OS routine uses the global new operator of a user program just because it is there :) I traced the first leak to a call from FolderMgrClientSideCache::GetFolderCacheForDomain, which is an internal system function. I guess that if we remove the global operator new/delete, the leaks quietlt go away, as OSX then will have to use its own operator new/delete.
Weird that its only happening on mac ppc, maybe a linker bug? I'll look into it.
Fixed in change 1219
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Verified that assertions are no longer happening on PPC 10.5 in build 1227:198ca2867c08. With this issue fixed, any assertion that happens during the acceptance suite in buildbot will cause a failure, previously it was just a warning.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.