php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37393 PHP Crashes when MySQL is not running but control socket exists
Submitted: 2006-05-10 03:55 UTC Modified: 2006-05-18 01:00 UTC
From: jesse at jesterpm dot net Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.1.4 OS: Gentoo Linux x86
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
42 - 37 = ?
Subscribe to this entry?

 
 [2006-05-10 03:55 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-10 07:04 UTC] derick@php.net
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.

 [2006-05-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 04:01:29 2024 UTC