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 neologix
Recipients neologix, pitrou, skrah, vstinner
Date 2012-02-19.12:39:45
SpamBayes Score 5.4289018e-08
Marked as misclassified No
Message-id <CAH_1eM0U+a95BcmTQKZxxictnotSP1gGM6jizB=fpJxbjRJF2w@mail.gmail.com>
In-reply-to <1329343497.1.0.562177752755.issue13090@psf.upfronthosting.co.za>
Content
> Two others seem to be the internal "bootstate" structure used to
> run thread objects (daemon threads?).

Even for daemon threads, since the boostate structure is freed when
the thread's run() method returns, this shouldn't show up as a
"definitely lost" leak. It wouldn't be freed on exit, but it should
still be reachable.

However, I have a stupid question: are those logs for the main
process, or for child processes ?
Because if fork() is called while other threads are running, since
only the main thread exists in the child process, all the blocks only
reachable from the other threads stacks at the time of the fork -
among which the bootstate structure, and probably the buffer allocated
in posix_read() while a thread is blocked on the read() syscall - are
effectively leaked in the child process since they're not referenced
anymore.
History
Date User Action Args
2012-02-19 12:39:46neologixsetrecipients: + neologix, pitrou, vstinner, skrah
2012-02-19 12:39:45neologixlinkissue13090 messages
2012-02-19 12:39:45neologixcreate