Ask a Question related to PHP Bugs, Design and Development.
-
tony2001@php.net #1
#39189 [Opn->Fbk]: Segmentation fault in mysql_fetch_field function
ID: 39189
Updated by: [email]tony2001@php.net[/email]
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:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
Previous Comments:
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39189&edit=1[/url]
tony2001@php.net Guest
-
#39189 [NEW]: Segmentation fault in mysql_fetch_field function
From: mail_konstantin at bk dot ru Operating system: Linux v2.6.15 PHP version: 5.1.6 PHP Bug Type: MySQL related Bug... -
Segmentation Fault
I am running a PHP script from the command line that is returning "Segmentation Fault". I run a lot of script from the command line and have never... -
[PHP] Segmentation Fault
I am running a PHP script from the command line that is returning "Segmentation Fault". I run a lot of script from the command line and have ... -
1.8.0 Segmentation fault
I have been experiencing problems with the 1.8.0 (MSVC build) causing segmentation faults. In an effort to track down the problem I downloaded the... -
session_start() and Segmentation fault (11)
I've red lot of articles but found no clear answer. What to do to avoid this problem. Everytime after session_start() is executed apache crash...



Reply With Quote

