Closed
Bug 503304
Opened 15 years ago
Closed 15 years ago
using delete on a new (GC*) object where object doesn't inherit from GCObject results in hard to debug crashes
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P5)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: treilly, Assigned: lhansen)
References
Details
(Whiteboard: Has patch)
Attachments
(1 file, 1 obsolete file)
3.34 KB,
patch
|
treilly
:
review+
|
Details | Diff | Splinter Review |
Should be easy to assert that the address passed to FixedMalloc free didn't come from FixedMalloc::Alloc.
Updated•15 years ago
|
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Assignee | ||
Updated•15 years ago
|
Priority: -- → P5
Target Milestone: --- → flash10.1
Assignee | ||
Comment 2•15 years ago
|
||
Here's a basic solution. Two refinements are easily imagined: - a more sophisticated data structure to track large blocks to make it less likely that the linear scan will make debug builds really slow - we could assert that the small-object pointer points to and object (not just into one) and that that object is not free, not simply that it points into a block's memory area.
Attachment #414274 -
Flags: review?(treilly)
Assignee | ||
Updated•15 years ago
|
Whiteboard: Has patch
Reporter | ||
Updated•15 years ago
|
Attachment #414274 -
Flags: review?(treilly) → review+
Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 414274 [details] [diff] [review] Patch My plan for large blocks was to just assert that the GCHeap had a HeapBlock inUse at that address that was the right size, much simpler, almost as effective. This technique is a little better as it guards against coincidental positives from other GCHeap clients.
Assignee | ||
Comment 4•15 years ago
|
||
redux changeset 3229:6e00ccd98704
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•15 years ago
|
||
Reopening because it probably needs a tweak so as not to upset the sampler.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•15 years ago
|
Attachment #414274 -
Attachment is obsolete: true
Assignee | ||
Comment 6•15 years ago
|
||
Attachment #416912 -
Flags: review?(treilly)
Reporter | ||
Updated•15 years ago
|
Attachment #416912 -
Flags: review?(treilly) → review+
Assignee | ||
Comment 7•15 years ago
|
||
redux changeset: 3329:d7162814f1f5
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•