From: crisbi at gmx dot net Operating system: WinXP PHP version: 5.2.5 PHP Bug Type: Reproducible crash Bug description: CLI crashes
Description: ------------ Just downloaded the php-5.2.5-win32-installer.msi from the website and ticket: "CLI only" during install, along with the php_threads extension. Executing a simple program: ------------------- <?php echo "whatever\n"; ?> ------------------- CRASHES with: "CLI has encoutered a problem and needs to close. We are sorry for the inconvenience." BUT: When I *disable* the php_threads extension in the php.ini, everything works *fine* (no crash). i.e. ------------------------- [PHP_THREADS] ;extension=php_threads.dll ------------------------- Why does this happen?! Do I need to run an Apache (which I currently don't)? I really don't need the threads-lib, but installed it out of pure curiosity. Just trying to spare some other folks the same trouble. Reproduce code: --------------- <?php echo "whatever\n"; ?> Expected result: ---------------- whatever Actual result: -------------- whatever + Messagebox "CLI has encoutered a problem and needs to close. We are sorry for the inconvenience." -- Edit bug report at http://bugs.php.net/?id=43415&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43415&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43415&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43415&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43415&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43415&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43415&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43415&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43415&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43415&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43415&r=support Expected behavior: http://bugs.php.net/fix.php?id=43415&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43415&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43415&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43415&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43415&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43415&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43415&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43415&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43415&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43415&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43415&r=mysqlcfg
