touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00842
[Bug 1189939] Re: Initialization leaks file descriptors to /proc/self/auxv
This bug was fixed in the package libjpeg-turbo -
1.1.90+svn733-0ubuntu4.4
---------------
libjpeg-turbo (1.1.90+svn733-0ubuntu4.4) precise; urgency=medium
* Updated FixLibraryStartup.patch to properly close /proc/self/auxv.
(LP: #1189939)
-- Forest Bond <forest.bond@xxxxxxxxxxxxxxxx> Fri, 06 Jun 2014 09:07:38 -0400
** Changed in: libjpeg-turbo (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libjpeg-turbo in Ubuntu.
https://bugs.launchpad.net/bugs/1189939
Title:
Initialization leaks file descriptors to /proc/self/auxv
Status in “libjpeg-turbo” package in Ubuntu:
Invalid
Status in “libjpeg-turbo” source package in Precise:
Fix Released
Status in “libjpeg-turbo” source package in Quantal:
Invalid
Status in “libjpeg-turbo” source package in Raring:
Invalid
Status in “libjpeg-turbo” source package in Saucy:
Invalid
Bug description:
[impact]
In precise only, 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 also causes
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1177684.
[test case]
Fresh and clean Ubuntu Precise 12.04.2 install
# apt-get install apache2-mpm-itk libapache2-mod-php5 php5-gd
Restart Apache to ensure gd.so is loaded
# for pid in `pidof apache2`; do find /proc/$pid/fd -ls; done | awk '/auxv/ {print $11" "$12" "$13}'
# apache2ctl graceful
# for pid in `pidof apache2`; do find /proc/$pid/fd -ls; done | awk '/auxv/ {print $11" "$12" "$13}'
# apache2ctl graceful
# for pid in `pidof apache2`; do find /proc/$pid/fd -ls; done | awk '/auxv/ {print $11" "$12" "$13}'
.. etc
[regression potential]
This affects patch designed for ARM. Although all it does it properly close the file descriptor, I have not specifically tested it on ARM.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjpeg-turbo/+bug/1189939/+subscriptions