PHP 4.0 Bug #6582: sybase_fetch_row crashes

From: Date: Wed, 06 Sep 2000 15:41:37 +0000
Subject: PHP 4.0 Bug #6582: sybase_fetch_row crashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-32397@lists.php.net to get a copy of this message
From: salim@sdv.fr Operating system: Linux RH 6.2 PHP version: 4.0.2 PHP Bug Type: Sybase-ct (ctlib) related Bug description: sybase_fetch_row crashes 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);

« previous php.dev (#32397) next »