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.

Author drylock
Recipients
Date 2005年11月01日.03:46:21
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The commit from 2.49 to 2.50 in Modules/mmapmodule.c
has made mmap under UNIX leak a file descriptor:
- m_obj->fd = fd;
+ m_obj->fd = dup(fd);
The FD given is dup'ed in order to allow ftruncation
later, but no close of it is done in dealloc/close.
A test case attached, using lsof after some
mmaps/unmaps to show leak.
Version:
Python 2.4.2 (#2, Sep 29 2005, 00:23:59) 
[GCC 4.0.2 (Debian 4.0.1-9)] on linux2
History
Date User Action Args
2007年08月23日 14:35:54adminlinkissue1344508 messages
2007年08月23日 14:35:54admincreate

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