|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41439 Segfault on mysql_ping()
Submitted: 2007-05-18 18:30 UTC Modified: 2010-08-18 12:35 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: jh2000 at root24 dot eu Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 6CVS-2007-05-18 (snap) OS: Debian
Private report: No CVE-ID: None
 [2007-05-18 18:30 UTC] jh2000 at root24 dot eu
use of mysql_ping causes segfault
tested on PHP 6 200705181630 and some other php6 build in the last 2 month
The build return no warnings/errors related to this problem.
The script given is just a bit of whole script. Without the mysql_ping the script (a phpbot written by myself) works. With - it crashes

Reproduce code:
echo "State 1\n";
echo "State 2\n";
echo "PHP still running";

Expected result:
PHP still running

Actual result:
i just get an Segfault after State 2
Output is:

Dmesg shows
php6[1056]: segfault at 0000000007ffff0c rip 00000000083c1883 rsp 00000000ff9f5900 error 4


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-18 18:38 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read for *NIX and for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2007-05-26 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".
 [2010-08-18 12:35 UTC]
-Status: No Feedback +Status: Bogus
 [2010-08-18 12:35 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP6 is dead
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 29 20:03:46 2023 UTC