From: LarryJAdams at comcast dot net Operating system: Windows2000/XP PHP version: 4.3.7 PHP Bug Type: Program Execution Bug description: Calling PHP POPEN Repeatedly from Ansi C Crashes App
Description: ------------ I am modifying an application in Ansi C that calls PHP.EXE utilizing the POPEN command. The C program is utilizing threads and issuing a thread lock prior to calling, but it appears that the PHP program is stepping on some of the memory used by the C program causing an eventual lockup of the application. This has been noted by some of the memory and variables displayed in debug mode that have PHP artifacts in them. This same program calls PHP within unix without issue. Reproduce code: --------------- This is quite involved. You need the entire application. Expected result: ---------------- Normal termination of PHP without interfering with the other application. -- Edit bug report at http://bugs.php.net/?id=28706&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28706&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28706&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28706&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28706&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28706&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28706&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28706&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28706&r=support Expected behavior: http://bugs.php.net/fix.php?id=28706&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28706&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28706&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28706&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28706&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28706&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28706&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28706&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28706&r=float
