php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6398 Kernel page fault caused by PHP
Submitted: 2000-08-28 08:42 UTC Modified: 2001-02-07 11:11 UTC
From: dceddced at hotmail dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.1pl2 OS: windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dceddced at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-08-28 08:42 UTC] dceddced at hotmail dot com
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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-08 15:44 UTC] cynic@php.net
Does this exist in more recent versions of PHP? 
 [2001-01-19 11:28 UTC] cynic@php.net
user feedback:
--------------
Excuse me for this delayed response.
I'm going to try latest version of PHP soon and test it again in the same 
test environment.
I'll send you a report after running the test.
--------------
(expecting further feedback)

 [2001-02-07 11:11 UTC] derick@php.net
The user reported that it's fixed in the latest release.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 08:01:34 2025 UTC