ID: 29370 Comment by: John at wargan dot org 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:
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 Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2004-07-25 12:42:55] ahtin at hot dot ee i got the same obscure crash with php 5.0 + apache 2.0.48 on win98se with this code snippet: --------- <? $x=1; while($s2=$this->db_fetch_row($s)) { $x['birthday'].=$this->parse_tpl("k_links",$s2); } ?> -------- no errors, just apache crash ------------------------------------------------------------------------ [2004-07-25 03:34:02] anthony dot debhian at only-for dot info Description: ------------ The code crash apache.exe with php-5.0.0/apache-1.3.31 and php-4.3.3/apache-1.3.27 (2 pc, 2 config) The GET request does not appear in access.log and error.log. this bug's odd, perhaps not important, but i send you feedback anyway. Reproduce code: --------------- <? function funcfunc($array,$space="") { foreach($array as $key=>$value) { if(is_array($array[$key])) { $src.=$key; } } return $src; } function funcfunc2($array,$test) { foreach($array['test'] as $key=>$value) { } return $array; } $test['lol']['test1']="test1"; $test['lol']['test2']="test2"; $array=funcfunc($test); $array=funcfunc2($array,"test"); ?> Expected result: ---------------- Just a fatal error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29370&edit=1