ID:               29370
 Comment by:       mart at __no_spam__spin dot ee
 Reported By:      anthony dot debhian at only-for dot info
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows XP
 PHP Version:      5.0.0
 New Comment:

I got the crach with PHP 4.3.7 + Apache 1.3.31 + Linux
and PHP 4.3.4 + Apache 2.0.47 + Linux RH9.
It didn't work with PHP 4.3.5 + Apache 1.3.29 + Win2K.

A bit minimized version of this crash code:
<?php
 function funcfunc($array){
  foreach($array as $key=>$value) { $src.=$key; }
  return $src;
 }

 function funcfunc2($array){
  foreach($array['foo'] as $key=>$value) { }
 }

 $a['x']['y']="";
 $array=funcfunc($a);
 funcfunc2($array);
?>


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

[2004-08-07 23:56:17] skippy at zuavra dot net

Nothing special happens on Red Hat 9.0 with Apache 1.3.27, PHP 4.3.4.
Just the normal complaint about foreach().

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

[2004-07-26 10:16:17] John at wargan dot org

For info:

This bug does'nt work on apache 1.3.24 & php 4.2.5 under Redhat and
slackware.
It seems to only be avalaible on Windows...as often ;)

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

[2004-07-26 10:16:17] John at wargan dot org

For info:

This bug does'nt work on apache 1.3.24 & php 4.2.5 under Redhat and
slackware.
It seems to only be avalaible on Windows...as often ;)

John JEAN

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

[2004-07-25 23:17:08] anthony dot debhian at only-for dot info

Unhandled exception in Apache.exe (PHP5TS.DLL): 0xC0000005: Access
Violation.
Offset: 00007344

The error report display
C:\DOCUME~1\Anthony\LOCALS~1\Temp\WER689.tmp.dir00\Apache.exe.mdmp
C:\DOCUME~1\Anthony\LOCALS~1\Temp\WER689.tmp.dir00\appcompat.txt

No more info on the error report :-\ sorry

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

[2004-07-25 21:37:55] grayw at mail dot montclair dot edu

Can you provide the 'crash' output?  Since this is for windows, is
there anything relevant in the logs you can view from Event Viewer?  In
there you would see any messages relating to an kernel, application, or
service crash?

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

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/29370

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

Reply via email to