PHP 4.0 Bug #6582 Updated: sybase_fetch_row crashes

From: Date: Wed, 06 Sep 2000 22:22:36 +0000
Subject: PHP 4.0 Bug #6582 Updated: sybase_fetch_row crashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-32472@lists.php.net to get a copy of this message
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? And what do you mean by "PR1"? 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

« previous php.dev (#32472) next »