[Bug 343870] Re: php-cli segmentation fault with mysql extension
Mikko Rantalainen
mikko.rantalainen at peda.net
Mon Sep 21 11:50:22 BST 2009
To reproduce in Jaunty (may require at least two physical CPU cores
because this is a race condition) simply run the following bash command:
$ while true; do php -r ""; done
(hit CTRL+C after seeing at least one "Segmentation fault")
The above code repeatedly starts php interpreter and runs no code before
exit. At it still causes random segfaults.
To reproduce, you must have package "php5-mysql" or equivalent installed
(try "php -m | grep mysql" to see if you have mysql support in php).
I believe that this may cause minor performance hit with the non-CLI php
variant also but because the segmentation fault occurs in (transparent)
paraller process, the problem is not visible through apache.
--
php-cli segmentation fault with mysql extension
https://bugs.launchpad.net/bugs/343870
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list