ID: 39189 Updated by: [EMAIL PROTECTED] Reported By: mail_konstantin at bk dot ru -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Linux v2.6.15 PHP Version: 5.1.6 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: ------------------------------------------------------------------------ [2006-10-18 20:14:27] mail_konstantin at bk dot ru I have tried CVS snapshot, but the problem has remained. 4 version works normally.Please help. ------------------------------------------------------------------------ [2006-10-18 19:49:59] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2006-10-18 19:46:18] mail_konstantin at bk dot ru Description: ------------ Segmentation fault. Reproduce code: --------------- <? $conn = mysql_connect("localhost", "root", "password"); if ($conn) { print "It worked..."; } else { print "There was a problem"; } mysql_select_db("teach_db",$conn); $sql = "SELECT * FROM group_tbl"; $result = mysql_query($sql); print "$result\n"; $fild = mysql_fetch_field($result); print "$fild->name\n"; ?> Expected result: ---------------- I want see name of column Actual result: -------------- Segmentation fault. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39189&edit=1