#28354 [Opn->Fbk]: sybase_free_result crash
| From: | derick@php.net | Date: | Mon, 10 May 2004 20:55:51 +0000 |
| Subject: | #28354 [Opn->Fbk]: sybase_free_result crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59481@lists.php.net to get a copy of this message | ||
ID: 28354
Updated by: derick@php.net
Reported By: alahaye at fmlogistic dot com
-Status: Open
+Status: Feedback
Bug Type: Sybase-ct (ctlib) related
Operating System: Linux RadHat 7
PHP Version: 4.3.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
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:
------------------------------------------------------------------------
[2004-05-10 22:28:19] alahaye at fmlogistic dot com
Description:
------------
When using sybase_free_result, apache Segmentation fault.
PB doesn't exist with PHP 4.3.4.
Reproduce code:
---------------
<?
$query = "EXEC MyPROC";
$id = sybase_connect(SERVER,LOGIN,PASSWORD);
sybase_select_db(BASE,$id);
$result = sybase_query($query,$id);
While ($row = sybase_fetch_row ($result))
{
print $row[0]."<BR>";
}
sybase_free_result($result);
sybase_close($id);
?>
Expected result:
----------------
result of stored procedure
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28354&edit=1