touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00808
[Bug 1189939] Re: Initialization leaks file descriptors to /prox/self/auxv
Works for me with libjpeg-turbo8 version 1.1.90+svn733-0ubuntu4.4.
thanks!
** Tags removed: verification-needed
** Tags added: verification-done
--
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 /prox/self/auxv
Status in “libjpeg-turbo” package in Ubuntu:
Invalid
Status in “libjpeg-turbo” source package in Precise:
Fix Committed
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