PHP 4.0 Bug #6398: Kernel page fault caused by PHP

From: Date: Mon, 28 Aug 2000 12:42:20 +0000
Subject: PHP 4.0 Bug #6398: Kernel page fault caused by PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-30954@lists.php.net to get a copy of this message
From: dceddced@hotmail.com Operating system: windows 98 PHP version: 4.0.1pl2 PHP Bug Type: ODBC related Bug description: Kernel page fault caused by PHP This script runs on PHP 3.14 on the same machine without problem. Now, planning an upgrade, i found that the same doesn't run on PHP 4.0.1pl2, because after about 1000-2000 inserts php.exe goes down crashing. I downloaded the binaries for Win9x from www.php.net, and i use the standard php.ini.dist configuration with two adjustement: max_execution_time=3600 and memory_limit=18388608. I use ODBC drivers from Microsoft version 3.5 with datasource of type dBaseIV and Access, but i run into the same problem. Reading data instead of inserting doesn't cause any problem. Zend Optimizer DLL is not installed. Actually i use Apache as a Web Server, release 1.3.12 download from www.apache.org. Thanks. <html> <?php $handle1=odbc_connect("demo","","",SQL_CUR_USE_ODBC ); echo odbc_autocommit(true); //odbc_exec($handle1,"create table demo (nome char(200),cognome char(200))"); odbc_exec($handle1,"delete from demo"); for ($i=0;$i<10000;$i++) { $nome="n$i"; $cognome="c$i"; $ref1=odbc_exec($handle1,"insert into demo values ('$nome','$cognome')"); odbc_free_result($ref1); } odbc_close($handle1); echo "Done." ?> </html>

« previous php.dev (#30954) next »