Bug #70398 [Fbk->Opn]: SIGSEGV, Segmentation fault zend_ast_destroy_ex

From: Date: Tue, 01 Sep 2015 09:52:07 +0000
Subject: Bug #70398 [Fbk->Opn]: SIGSEGV, Segmentation fault zend_ast_destroy_ex
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195671@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70398&edit=1 ID: 70398 User updated by: opitz dot alexander at googlemail dot com Reported by: opitz dot alexander at googlemail dot com Summary: SIGSEGV, Segmentation fault zend_ast_destroy_ex -Status: Feedback +Status: Open Type: Bug Package: *General Issues Operating System: Linux PHP Version: 7.0.0RC1 Block user comment: N Private report: N New Comment: As the crashs are sporadic I can't provide any test script. To run TYPO3 functional tests you need to checkout TYPO3 master branch, add vendor data via composer and have a MySQL database. mkdir typo3 cd typo3 git clone git://git.typo3.org/Packages/TYPO3.CMS.git . composer.phar install To get TYPO3 ready. Running the functional tests: typo3DatabaseName="typo3_phpunit" typo3DatabaseUsername="typo3" typo3DatabasePassword="typo3typo3" typo3DatabaseHost="localhost" bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml Please change the DB connection data to your settings. To speed up the database side of the functional tests have a look at: https://wiki.typo3.org/Functional_testing#Using_a_ram_disk_for_the_database Previous Comments: ------------------------------------------------------------------------ [2015-09-01 09:36:53] laruence@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. or an way to reproduce it with TYPO3(reproduce instructions) ------------------------------------------------------------------------ [2015-09-01 09:09:48] opitz dot alexander at googlemail dot com Missing information: - the segfaults are sporadic - checkout was git master branch at commit 66770f9c37e3821582b02f77867bf09141e59a51 ------------------------------------------------------------------------ [2015-09-01 08:58:23] opitz dot alexander at googlemail dot com Description: ------------ While trying to run the TYPO3 functional tests I get several core dumps. Expected result: ---------------- No core dump by SIGSEGV Actual result: -------------- core dump with SIGSEGV Backtrace: #0 0x0000000000a26bab in zend_ast_destroy_ex (ast=0xffffffff00000002, free=1 '\001') at /php7/Zend/zend_ast.c:452 #1 0x0000000000a26d8e in zend_ast_destroy_and_free (ast=0xffffffff00000002) at /php7/Zend/zend_ast.c:501 #2 0x00000000009e141b in _zval_dtor_func (p=0x7f0cafccb070, __zend_filename=0x1050580 "/php7/Zend/zend_constants.c", __zend_lineno=36) at /php7/Zend/zend_variables.c:50 #3 0x00000000009c802e in _zval_dtor (zvalue=0x7f0cafca7940, __zend_filename=0x1050580 "/php7/Zend/zend_constants.c", __zend_lineno=36) at /php7/Zend/zend_variables.h:44 #4 0x00000000009c813f in free_zend_constant (zv=0x7ffe99c7e4e0) at /php7/Zend/zend_constants.c:36 #5 0x00000000009fa293 in _zend_hash_del_el_ex (ht=0x1f8af90, idx=1880, p=0x20a4690, prev=0x0) at /php7/Zend/zend_hash.c:958 #6 0x00000000009fa372 in _zend_hash_del_el (ht=0x1f8af90, idx=1880, p=0x20a4690) at /php7/Zend/zend_hash.c:982 #7 0x00000000009fbbb3 in zend_hash_reverse_apply (ht=0x1f8af90, apply_func=0x9c82db <clean_non_persistent_constant>) at /php7/Zend/zend_hash.c:1555 #8 0x00000000009c8773 in clean_non_persistent_constants () at /php7/Zend/zend_constants.c:161 #9 0x00000000009cb659 in shutdown_executor () at /php7/Zend/zend_execute_API.c:378 #10 0x00000000009e3df7 in zend_deactivate () at /php7/Zend/zend.c:969 #11 0x000000000094c602 in php_request_shutdown (dummy=0x0) at /php7/main/main.c:1810 #12 0x0000000000aab98c in do_cli (argc=1, argv=0x1f6e360) at /php7/sapi/cli/php_cli.c:1139 #13 0x0000000000aac207 in main (argc=1, argv=0x1f6e360) at /php7/sapi/cli/php_cli.c:1338 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70398&edit=1

« previous php.bugs (#195671) next »