Public bug reported:

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

** Patch added: "Patch (debdiff) addressing issue"
   
https://bugs.launchpad.net/bugs/1189939/+attachment/3700918/+files/close-auxv.diff

** Description changed:

  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.
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1177684 is caused by
- this issue as well, but have not confirmed this.
+ 
+ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1189939

Title:
  Initialization leaks file descriptors to /prox/self/auxv

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjpeg-turbo/+bug/1189939/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to