#37393 [Opn->Fbk]: PHP Crashes when MySQL is not running but control socket exists
| From: | derick@php.net | Date: | Wed, 10 May 2006 07:04:25 +0000 |
| Subject: | #37393 [Opn->Fbk]: PHP Crashes when MySQL is not running but control socket exists | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96889@lists.php.net to get a copy of this message | ||
ID: 37393
Updated by: derick@php.net
Reported By: jesse at jesterpm dot net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Gentoo Linux x86
PHP Version: 5.1.4
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-05-10 03:55:37] jesse at jesterpm dot net
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 this bug report at http://bugs.php.net/?id=37393&edit=1