homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: errors from msync ignored in mmap_object_dealloc
Type: behavior Stage: resolved
Components: Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: brian.curtin, rosslagerwall, schmir
Priority: normal Keywords:

Created on 2008年04月16日 16:30 by schmir, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (5)
msg65553 - (view) Author: Ralf Schmitt (schmir) Date: 2008年04月16日 16:30
mmapmodule.c's mmap_object_dealloc calls msync without checking for an
error.
msg97573 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010年01月11日 05:02
Do you have a test case to reproduce the errors?
I see that we call msync followed by munmap, neither one checked.
msg97583 - (view) Author: Ralf Schmitt (schmir) Date: 2010年01月11日 09:14
No, I don't know how to provoke such an error other than passing illegal parameters..(or munmap'ing the mmap'ed area).
msg126414 - (view) Author: Ross Lagerwall (rosslagerwall) (Python committer) Date: 2011年01月17日 17:24
I think this can be closed.
msync() is only called in mmap.flush() and it is checked for an error.
msg126433 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2011年01月17日 20:20
That was changed in r84950 from #2643.
History
Date User Action Args
2022年04月11日 14:56:33adminsetgithub: 46896
2011年01月17日 20:20:56brian.curtinsetstatus: open -> closed
nosy: schmir, brian.curtin, rosslagerwall
messages: + msg126433

resolution: out of date
stage: test needed -> resolved
2011年01月17日 17:24:04rosslagerwallsetnosy: + rosslagerwall
messages: + msg126414
2010年01月11日 09:14:09schmirsetmessages: + msg97583
2010年01月11日 05:59:56brian.curtinsetpriority: normal
2010年01月11日 05:02:22brian.curtinsetnosy: + brian.curtin

messages: + msg97573
stage: test needed
2008年04月16日 16:30:25schmircreate

AltStyle によって変換されたページ (->オリジナル) /