From: patrickallaert Operating system: Gentoo Linux PHP version: trunk-SVN-2011-10-20 (SVN) Package: Reproducible crash Bug Type: Bug Bug description:Segmentation Fault
Description: ------------ PHP 5.4 / trunk segfault while using phpunit. It only happens with one specific test, however, it looks like that test content is not relevant at all, emptying its content or putting a "die" at the end of that test avoid the segfault. It must happen in the phpunit code after the execution of that test. Tested using trunk @rev 318251 See the backtrace which is more relevant. Actual result: -------------- (gdb) bt #0 0x0000000000922721 in ZEND_SEND_VAL_SPEC_CONST_HANDLER (execute_data=0x7fcee7305910) at /home/patrick.allaert/Projets/php- src/Zend/zend_vm_execute.h:2361 #1 0x0000000000919b46 in execute (op_array=0x7fcee5293f78) at /home/patrick.allaert/Projets/php-src/Zend/zend_vm_execute.h:410 #2 0x00000000008dbb61 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/patrick.allaert/Projets/php-src/Zend/zend.c:1272 #3 0x0000000000852760 in php_execute_script (primary_file=0x7ffff390c1a0) at /home/patrick.allaert/Projets/php-src/main/main.c:2414 #4 0x0000000000a25095 in do_cli (argc=6, argv=0x7ffff390c548) at /home/patrick.allaert/Projets/php-src/sapi/cli/php_cli.c:983 #5 0x0000000000a25fad in main (argc=6, argv=0x7ffff390c548) at /home/patrick.allaert/Projets/php-src/sapi/cli/php_cli.c:1356 -- Edit bug report at https://bugs.php.net/bug.php?id=60104&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60104&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60104&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60104&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60104&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60104&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60104&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60104&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60104&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60104&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60104&r=support Expected behavior: https://bugs.php.net/fix.php?id=60104&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60104&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60104&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60104&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60104&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60104&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60104&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60104&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60104&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60104&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60104&r=mysqlcfg