Closed Bug 534655 Opened 15 years ago Closed 13 years ago

GCHeap incorrectly handling return from VMPI_reserve

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED
Q4 11 - Anza

People

(Reporter: bgetlin, Assigned: pnkfelix)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Build Identifier: 

Since the input address to VMPI_Reserve is merely a "hint" at which address to reserve, it may not actually reserve the exact region that we're asking for.  Therefore we need to make sure the returned region is the same as the "asked for" region before assuming the new block is contiguous.

Reproducible: Sometimes
Attached patch PatchSplinter Review
Attachment #417497 - Flags: review+
Attachment #417497 - Flags: review+ → review?(lhansen)
Attachment #417497 - Flags: review?(lhansen) → review?(treilly)
Attachment #417497 - Flags: superreview?(lhansen)
Attachment #417497 - Flags: review?(treilly)
Attachment #417497 - Flags: review+
Brent reports that this is crashy, will hold off on review until that is resolved.
Attachment #417497 - Flags: superreview?(lhansen) → superreview-
Component: Virtual Machine → Garbage Collection (mmGC)
Priority: -- → P2
QA Contact: vm → gc
Target Milestone: --- → flash10.1
Assignee: nobody → bgetlin
Priority: P2 → --
Target Milestone: flash10.1 → Future
Priority: -- → P3
Target Milestone: Future → flash10.2
Blocks: 564119
Assignee: bgetlin → fklockii
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(In reply to comment #2)
> Brent reports that this is crashy, will hold off on review until that is
> resolved.

Further info: Brent reports to me that his memory is that after checking in this fix, the Linux smoke builds started crashing intermittently approximately 50% of the time.
Flags: flashplayer-bug+
Priority: P3 → P4
Priority: P4 → P2
Target Milestone: Q3 11 - Serrano → Q4 11 - Anza
(In reply to comment #1)
> Created attachment 417497 [details] [diff] [review] [review]
> Patch

Looks to me like something very much like this patch was already committed in changeset:3459:

  http://hg.mozilla.org/tamarin-redux/rev/5bcf95ed4a0a

(I feel like I'm taking crazy pills; how did I not notice this before?  Did I simply not attempt to apply the patch?)
Fixed by changeset:3459 as noted in comment 4.
Status: ASSIGNED → RESOLVED
Closed: 13 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: