#21972 [Opn->Fbk]: shell functions (system etc) cause crash

From: Date: Tue, 29 Apr 2003 18:53:45 +0000
Subject: #21972 [Opn->Fbk]: shell functions (system etc) cause crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38758@lists.php.net to get a copy of this message
ID: 21972 Updated by: wez@php.net Reported By: befletch at yahoo dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows 98/ME PHP Version: 4.3.0 New Comment: So removing third-party software eliminated the problem? Previous Comments: ------------------------------------------------------------------------ [2003-04-29 13:07:12] befletch at yahoo dot com I had the exact same behaviour on both of my systems (Win ME, Win 98) as I had before. I forgot to update my bug report earlier, but I had noticed an odd thing about the problem; it only happened once per system boot. After running a script and causing a crash, I could kill a non-responding 'winoldap' process and then the system would work fine. I could run a script which shelled out another command a few thousand times, and not have any trouble. Until the next reboot, of course. Anyway, all of that was true of the previously tested build and the 4.3.2 RC build that you suggested I try. I then tried to eliminate a potential conflict by uninstalling Norton AntiVirus (Corporate edition, v 7.50) on the Win 98 box, rebooting, and running the test. The problem no longer occurred, with either the 4.3.0 version or with the 4.3.2 RC build. I didn't try this on the Win ME box but I expect the problem would also go away on it, as both machines have had the exact same symptoms so far. I don't know what to do with the bug, but that is my observations to date. ------------------------------------------------------------------------ [2003-04-28 12:18:25] wez@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Do you still have this problem with the latest snapshot? ------------------------------------------------------------------------ [2003-01-30 18:34:10] nicos@php.net I can't verify it under WinXP and WinME with 4.3.0 and latest CVS. ------------------------------------------------------------------------ [2003-01-30 18:30:30] wez@php.net Sounds like a valid report to me. PHP calls your system popen() function which internally uses the shell. Regardless of having to specify the shell, PHP should not crash. Lets have someone with win9x look into this in more detail before making any further decisions. ------------------------------------------------------------------------ [2003-01-30 18:27:25] nicos@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 need to call command.com to exec() something under Windows. ------------------------------------------------------------------------ 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/21972 -- Edit this bug report at http://bugs.php.net/?id=21972&edit=1

« previous php.bugs (#38758) next »