touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00840
[Bug 1189939] Re: Initialization leaks file descriptors to /proc/self/auxv
The verification of the Stable Release Update for libjpeg-turbo has
completed successfully and the package has now been released to
-updates. Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
** Summary changed:
- Initialization leaks file descriptors to /prox/self/auxv
+ Initialization leaks file descriptors to /proc/self/auxv
--
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