Closed Bug 531231 Opened 15 years ago Closed 15 years ago

Incorrect mmap cleanup

Categories

(Core :: Networking: JAR, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1
Tracking Status
status1.9.2 --- beta5-fixed

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch missing mmap cleanup (obsolete) — Splinter Review
Assignee: nobody → tglek
Attachment #414687 - Flags: review?(alfredkayser)
Attached patch fixSplinter Review
Corrected the previous patch
Attachment #414687 - Attachment is obsolete: true
Attachment #414688 - Flags: review?(alfredkayser)
Attachment #414687 - Flags: review?(alfredkayser)
Timeless spotted this error. He also suggested the following MSDN link for guarding our io. I think that may be reasonable.

http://msdn.microsoft.com/en-us/library/aa366801%28VS.85%29.aspx
Attachment #414688 - Flags: review?(alfredkayser) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/ce77c08f6dbf
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Comment on attachment 414688 [details] [diff] [review]
fix

Requesting approval1.9.2 for this simple mmap fix when an OOM occurs.
Attachment #414688 - Flags: approval1.9.2?
Comment on attachment 414688 [details] [diff] [review]
fix

a192=beltzner, post hoc, after scolding reed appropriately for landing without approval
Attachment #414688 - Flags: approval1.9.2? → approval1.9.2+
(In reply to comment #6)
> (From update of attachment 414688 [details] [diff] [review])
> a192=beltzner, post hoc, after scolding reed appropriately for landing without
> approval

Not sure how this is to land on 192 given that jar mmap code isn't landed there :)
(In reply to comment #7)
> Not sure how this is to land on 192 given that jar mmap code isn't landed there
> :)

Ah, I thought it had landed there, as per the bugs fixed on http://hg.mozilla.org/releases/mozilla-1.9.2/log/d7c3f3105089/modules/libjar/nsZipArchive.cpp (Bug 504864: mmap io for JARs). I didn't actually open it up on mxr to check, though.
Attachment #414688 - Flags: approval1.9.2+
Attachment #414688 - Flags: approval1.9.2?
Depends on: 525755
I was wrong, this fix needs to land in 192 too.
Attachment #414688 - Flags: approval1.9.2? → approval1.9.2+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: