** Description changed: - Patch FixLibraryStartup.patch + [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. - 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. - This is on Precise with libjpeg-turbo8 version 1.1.90+svn733-0ubuntu4. + [test case] + Fresh and clean Ubuntu Precise 12.04.2 install - I believe https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1177684 is - caused by this issue as well, but have not confirmed this. + # apt-get install apache2-mpm-itk libapache2-mod-php5 php5-gd - Patch is attached. + 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.
-- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
