Bug #13886 Updated: PHP crashes on calling a shell based program without a total search path
| From: | sniper@php.net | Date: | Wed, 31 Oct 2001 23:45:44 +0000 |
| Subject: | Bug #13886 Updated: PHP crashes on calling a shell based program without a total search path | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69432@lists.php.net to get a copy of this message | ||
ID: 13886
Updated by: sniper
Reported By: edo@domis.de
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:
Does this happen with latest CVS snapshot build from
http://www.php4win.com/ ?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-31 07:14:23] edo@domis.de
Whe I execute the script below direct from the command line (e.g.c:\>php crash.php), php crashes.
1.) the command "echo
perl -h;" is executed, it displays the 'help
desk' from perl correctly
2.) the command "echo c:\\command.com /C echo hallo;" is executed this runs
and display "hello", but
3.) the command "echo echo hallo;" displays "...Warning unable to
execute..." but shows the windows Application crash Dialog, after closing this Dialog the
script terminate, without execute more lines.
Best regards
Ekkehard Domning
-=-=-=- Script contents -=-=-=-
<?php
// This works
echo perl -h;
// This too
echo c:\\command.com /C echo hallo;
// This crashes
echo echo hallo;
?>
-=-=-=- Script contents end-=-=-=-
-=-=-=- Script Output -=-=-=-
[...]
hallo
<br>
<b>Warning</b>: Unable to execute 'echo hallo' in
<b>crash.php</b> on line <b>10</b><br>
-=-=-=- Script Output end-=-=-=-
-=-=-=- Windows Application Error Dialogbox -=-=-=-
PHP verursachte einen Fehler durch eine ungültige Seite
in Modul KERNEL32.DLL bei 0177:bff7b983.
Register:
EAX=00000020 CS=0177 EIP=bff7b983 EFLGS=00010202
EBX=7802347e SS=017f ESP=0063f7e4 EBP=0063f820
ECX=7803ad88 DS=017f ESI=00000020 FS=4caf
EDX=00790550 ES=017f EDI=00000000 GS=0000
Bytes bei CS:EIP:
80 3e 04 74 0f 33 c0 50 50 50 68 05 00 00 c0 e8
Stapelwerte:
0065d800 780101e8 00000020 780234a9 00000000 00000000 0065d800 7802347e 78001409 00001010 0063f614
0063fe28 7800e492 780342a8 ffffffff 00000000
-=-=-=- Windows Application Error Dialogbox end-=-=-=-
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13886&edit=1