php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33796 reproducible crash in zend_hash_index_update_or_next_insert
Submitted: 2005-07-21 05:57 UTC Modified: 2005-07-21 10:31 UTC
From: jtgalkowski at alum dot mit dot edu Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.4.0 OS: Windows 5.1 (build 2600, w/SP2)
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: jtgalkowski at alum dot mit dot edu
New email:
PHP Version: OS:

 

 [2005-07-21 05:57 UTC] jtgalkowski at alum dot mit dot edu
Description:
------------
PHP 4.40 Windows Installer download, just installed.  

Please contact jtgalkowski@alum.mit.edu if more information is needed.  

Very reproducible here.  

Windows version information is Windows 5.1 (Build 2600, Home Edition, with SP2 installed and updates), running on AMD Athlon(tm) XP 1800+ 1.5 GHz, 512 MB RAM, 80 GB hard drive with 27 GB free.

My first thought was this might be a stack overflow from recursion, but that isn't where it seems to die.





Reproduce code:
---------------
PHP script, PHP ini difference, PHP ini itself, and expected results from a smaller run are available at:

  http://netcoop.airpost.net/200507202346EDTphp4.4ReproducibleFault.zip

This is run from the command line console on Windows, using simply:

  php genGraphs.php

assuming the directories in the file are all right.

Expected result:
----------------
Running log of progress to produce results similar to those recorded in the files

   8NodesFullAnd8NodesAltered30.java

and

   8NodesFullAnd8NodesAltered30.results

in the referenced .zip file.




Actual result:
--------------
MinGW backtrace is:

php.exe caused an Access Violation at location 100b9bd9 in module php4ts.dll Writing to location 00000008.

Registers:
eax=00000000 ebx=079ebef8 ecx=00000000 edx=079eb5e0 esi=00000002 edi=00000000
eip=100b9bd9 esp=0012ed28 ebp=079ebef8 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

Call stack:
100B9BD9  php4ts.dll:100B9BD9  zend_hash_index_update_or_next_insert


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-21 10:31 UTC] tony2001@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You're doing an endless loop in the code.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 10:01:30 2025 UTC