From: david at tulloh dot id dot au Operating system: Debian Linux PHP version: 5CVS-2005-10-04 (CVS) PHP Bug Type: Scripting Engine problem Bug description: CLI segmentation faults during cleanup
Description: ------------ Using the 5.1 branch. PHP segmentation faults at the end of running the simplest code. Reproduce code: --------------- <?php echo 'hello world'; ?> (CLI) Actual result: -------------- hello world is printed perfectly, after the PHP program completes the segmentation fault occurs: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211463456 (LWP 25258)] 0xb7a88840 in ?? () (gdb) bt #0 0xb7a88840 in ?? () #1 0x08131730 in tsrm_shutdown () at php-cvs-5.1/TSRM/TSRM.c:180 #2 0x081f425d in main (argc=2, argv=0xbffffb94) at php-cvs-5.1/sapi/cli/php_cli.c:1152 -- Edit bug report at http://bugs.php.net/?id=34725&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34725&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34725&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34725&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34725&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34725&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34725&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34725&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34725&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34725&r=support Expected behavior: http://bugs.php.net/fix.php?id=34725&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34725&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34725&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34725&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34725&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34725&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34725&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34725&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34725&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34725&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34725&r=mysqlcfg