ID: 41439 Updated by: [EMAIL PROTECTED] Reported By: jh2000 at root24 dot eu -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Debian PHP Version: 6CVS-2007-05-18 (snap) New Comment:
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 http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php 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. Previous Comments: ------------------------------------------------------------------------ [2007-05-18 18:30:55] jh2000 at root24 dot eu 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41439&edit=1