ID:               38124
 Updated by:       [EMAIL PROTECTED]
 Reported By:      boing at boing dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         DOM XML related
 Operating System: openbsd 3.8
 PHP Version:      5.1.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2006-07-18 10:51:44] boing at boing dot com

Honestly, I trimmed it down as much as possible.  Most of the file is
the data it operates on. Some big, ugly (yes, that's redundant :) ) xml
file.  You should see the original code.  Lot's more trash in there. 
Honest.  :)  I think the realloc() failure has something to do with the
length of the file and building the sufficiently complex nested
associative array uglyness.

Geff

------------------------------------------------------------------------

[2006-07-18 10:23:46] [EMAIL PROTECTED]

>I put the reproduce code in the original bug report
Yes, I saw it. Please try to make is as smaller as you can. Currently
it's just HUGE, that's why asked for a short and complete script which
is max 20 lines long.

Please also try the latest 5.2 snapshot which you can grab at
http://snaps.php.net (wait for the next one, there was a major change
in the memory manager recently).

------------------------------------------------------------------------

[2006-07-18 09:55:01] boing at boing dot com

[EMAIL PROTECTED],

I put the reproduce code in the original bug report.  THe files are
still on my website.  In addition, I don't think it's DOM XML related. 
My money WAS on xml_parse in the beginning, but no longer.  I think it's
on the associative arrays. :)

reproduce code again... download:  http://www.boing.com/phptest.tgz
inside there is a phptest.php and a datafile.  php phptest.php on
openbsd 3.8 will yield the failture to realloc.  I tried it on gentoo
with successful results.

Geff

------------------------------------------------------------------------

[2006-07-18 06:45:24] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



------------------------------------------------------------------------

[2006-07-17 21:35:46] boing at boing dot com

This is going to sound dumb, but does php have a limit on the size of
an associative array?  Or the number of multi-dimensional associative
arrays that are part of one variable?  I've googled for these types of
things with no results.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/38124

-- 
Edit this bug report at http://bugs.php.net/?id=38124&edit=1

Reply via email to