[Bug 1189939] [NEW] Initialization leaks file descriptors to /prox/self/auxv

Launchpad Bug Tracker 1189939 at bugs.launchpad.net
Tue Jun 11 16:23:23 UTC 2013


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Patch FixLibraryStartup.patch

An Ubuntu-specific patch (FixLibraryStartup.patch) causes
/proc/self/auxv to be opened on library initialization, but the file is
never closed.  For long running processes that periodically re-
initialize the library (Firefox's plugin-container loading the VLC
plugin for me), this leads to the available file descriptors being
exhausted.

This is on Precise with libjpeg-turbo8 version 1.1.90+svn733-0ubuntu4.

I believe https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1177684 is
caused by this issue as well, but have not confirmed this.

Patch is attached.

** Affects: libjpeg-turbo (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
Initialization leaks file descriptors to /prox/self/auxv
https://bugs.launchpad.net/bugs/1189939
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list