|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-05-18 18:38 UTC] tony2001@php.net
[2007-05-26 01:00 UTC] php-bugs at lists dot php dot net
[2010-08-18 12:35 UTC] andrey@php.net
-Status: No Feedback
+Status: Bogus
[2010-08-18 12:35 UTC] andrey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 12 15:00:02 2025 UTC |
Description: ------------ 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"; mysql_connect("localhost","test","test"); echo "State 2\n"; mysql_ping(); echo "PHP still running"; ?> Expected result: ---------------- State1 State2 PHP still running Actual result: -------------- i just get an Segfault after State 2 Output is: State1 State2Speicherzugriffsfehler Dmesg shows php6[1056]: segfault at 0000000007ffff0c rip 00000000083c1883 rsp 00000000ff9f5900 error 4