#37393 [NEW]: PHP Crashes when MySQL is not running but control socket exists
| From: | jesse at jesterpm dot net | Date: | Wed, 10 May 2006 03:55:37 +0000 |
| Subject: | #37393 [NEW]: PHP Crashes when MySQL is not running but control socket exists | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96885@lists.php.net to get a copy of this message | ||
From: jesse at jesterpm dot net
Operating system: Gentoo Linux x86
PHP version: 5.1.4
PHP Bug Type: Reproducible crash
Bug description: PHP Crashes when MySQL is not running but control socket exists
Description:
------------
I did not have time to fully test this, but it appers that if a PHP script
tries to access a MySQL server that is not running, yet still has a control
socket (Say the mysqld crashed), PHP will segfault.
I've come to this assumption after spending a considerable amount of time
trying to find out why PHP was segfaulting.
After running out of ideas, I looked at the mysql server and found that it
was not running. When I restarted mysql, it complained about the unix
domain socket still existing.
--
Edit bug report at http://bugs.php.net/?id=37393&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37393&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37393&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37393&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37393&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37393&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37393&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37393&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37393&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37393&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37393&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37393&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37393&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37393&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37393&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37393&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37393&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37393&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37393&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37393&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37393&r=mysqlcfg