|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10434 Can not read memory
Submitted: 2001-04-21 15:48 UTC Modified: 2001-06-12 03:58 UTC
From: webmaster at digicom dot bg Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.4pl1 OS: Windows 2000 Pro / IIS5
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: webmaster at digicom dot bg
New email:
PHP Version: OS:


 [2001-04-21 15:48 UTC] webmaster at digicom dot bg
Error message is generated saying "The instruction at "0x78003abf" referenced at "0x00bc8000". The memory could not be "read".

Because it seems that the problem is memory leak I am providing a part of the php code where I am accumulating a large string width data (separated with "|") which I am going to pass later on javascript for further manipultion. 

The number of records passed by the SQL query is about 900.

While developing the script, to avoid the error I raised the memory limit consumed by script (in php.ini) first to 16M, later 32Mb, now it is 64M.

The strange thing for me is that after I raised to 16M, the error stopped, than sudenly apperred again; when I put it on 64M it stopped again, and now it comes back again without realy modifying this part of the script!

// the code
  $h = ibase_query($sql);
  while($row = ibase_fetch_object($h)) {
  if ($lang_selected == "en") {
  $dsc = $row->DESCRIPTIONEN;
  if ($dsc == "") { $dsc = $row->DESCRIPTIONBG; }
  } else {
  $dsc = $row->DESCRIPTIONBG;
  if ($dsc == "") { $dsc = $row->DESCRIPTIONEN; }

$mats .= trim($row->SUBGROUPID)."|".trim($row->MATERIALID)."|".trim($dsc)."|".$row->COSTPRICE."|";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-18 04:40 UTC]
Are you using ISAPI or CGI module? If ISAPI does the CGI exectuable crash too? Please also upgrade to 4.0.5 or latest cvs and try with these. (

- James
 [2001-06-12 03:58 UTC]
No feedback, old version.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 04:05:53 2022 UTC