Re: PHP 4.0 Bug #6582 Updated: sybase_fetch_row crashes

From: Date: Thu, 07 Sep 2000 07:36:32 +0000
Subject: Re: PHP 4.0 Bug #6582 Updated: sybase_fetch_row crashes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32498@lists.php.net to get a copy of this message
At 22:22 06/09/00 +0000, you wrote:
ID: 6582 Updated by: joey Reported By: salim@sdv.fr Status: Feedback Bug Type: Sybase-ct (ctlib) related Assigned To: Comments: Can you provide a back trace?
Of course , if only I knew what do you mean by backtrace ;) Could you tell me what do you want exactly.
And what do you mean by "PR1"?
Pre Release 1 ... the bug is here since the first alpha of php4
Previous Comments: [2000-09-06 11:41:37] salim@sdv.fr When Using sybase_num_rows(), the process crashes randomly . In the apache error log, I have the following line : [Wed Sep 6 15:36:11 2000] [notice] child pid 13671 exit signal Segmentation fault (11) This occur each time I loop on a cursor.. This occurs randomly between row #10 and #300 ... Notas: The same database,ctlib library and php script works perfectly with php3. This bug is here since PR1 .... Here is an example script: $db=sybase_connect('server','user','pass'); $cur=sybase_query("select * from table",$db); $total=sybase_num_rows($cur); while($row=sybase_fetch_row($cur))
    {
    echo "$row[0] $row[1]n";
    }
sybase_close($db); --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6582
*************************************************** Gasmi Salim - System & Network administrator SdV Plurimedia <http://www.sdv.fr> PGP Key available at: http://www.gasmi.net/pgp.txt ---Share what you know. Learn what you don't.--- ***************************************************

« previous php.dev (#32498) next »