Edit report at http://bugs.php.net/bug.php?id=54356&edit=1
ID: 54356 Updated by: ahar...@php.net Reported by: php-bugs at majkl578 dot cz Summary: PHP crashes in CLI -Status: Open +Status: Feedback Type: Bug Package: CGI related Operating System: Linux Debian SID PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2011-03-23 09:54:10] php-bugs at majkl578 dot cz Description: ------------ PHP crashes unexpectedly in CLI mode. Actual result: -------------- (gdb) bt #0 0x0831f1a5 in gc_zval_possible_root (zv=0xb4cc94b0) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_gc.c:143 #1 0x082f09f9 in _zval_ptr_dtor (zval_ptr=0xb4c41f24) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_gc.h:183 #2 0x0830d874 in zend_hash_destroy (ht=0xb4bd83e8) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_hash.c:729 #3 0x082ff056 in _zval_dtor_func (zvalue=0xb4cc241c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.c:46 #4 0x082f09c7 in _zval_ptr_dtor (zval_ptr=0xb4bd55c8) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.h:35 #5 0x0830d874 in zend_hash_destroy (ht=0xb4bd4218) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_hash.c:729 #6 0x082ff056 in _zval_dtor_func (zvalue=0xb4bd322c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.c:46 #7 0x082f09c7 in _zval_ptr_dtor (zval_ptr=0xb4bdc884) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.h:35 #8 0x0830d874 in zend_hash_destroy (ht=0xb4d730f8) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_hash.c:729 #9 0x082ff056 in _zval_dtor_func (zvalue=0xb4dea89c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.c:46 #10 0x082f09c7 in _zval_ptr_dtor (zval_ptr=0xb4bc6c88) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.h:35 #11 0x0830d874 in zend_hash_destroy (ht=0xb4bd553c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_hash.c:729 #12 0x08322793 in zend_object_std_dtor (object=0xb4bcf7bc) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_objects.c:45 #13 0x083227d2 in zend_objects_free_object_storage (object=0xb4bcf7bc) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_objects.c:126 #14 0x08326a6c in zend_objects_store_del_ref_by_handle_ex ( handle=<unknown type>, handlers=0x878f380) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_objects_API.c:220 #15 0x08326aaf in zend_objects_store_del_ref (zobject=0xb4deab68) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_objects_API.c:172 #16 0x082ff099 in _zval_dtor_func (zvalue=0xb4deab68) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.c:55 #17 0x082f09c7 in _zval_ptr_dtor (zval_ptr=0x99ba324) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_variables.h:35 #18 0x08327d3e in zend_leave_helper_SPEC (execute_data=0xb4c41f18) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_vm_execute.h:160 #19 0x08345ef7 in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER (execute_data=0x99ba2c4) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_vm_execute.h:679 #20 0x083283e4 in execute (op_array=0x9c36db8) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_vm_execute.h:107 #21 0x082f2c52 in zend_call_function (fci=0xbf8cd06c, fci_cache=0xbf8cd090) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_execute_API.c:964 #22 0x083178e2 in zend_call_method (object_pp=0xbf8cd11c, obj_ce=0x9c33684, fn_proxy=0x9c3377c, function_name=0x872dd75 "__get", function_name_len=5, retval_ptr_ptr=0xbf8cd12c, param_count=1, arg1=0xb4bc72ec, arg2=0x0) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_interfaces.c:97 #23 0x08323234 in zend_std_call_getter (object=0xb4bd1cbc, member=0xb4bc72ec) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_object_handlers.c:82 #24 0x08325af1 in zend_std_read_property (object=0xb4bd1cbc, member=0xacb6184, type=0) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_object_handlers.c:354 #25 0x0834945d in zend_fetch_property_address_read_helper_SPEC_CV_CONST ( type=0, execute_data=0x99b6abc) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_vm_execute.h:23765 #26 0x083283e4 in execute (op_array=0x998199c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend_vm_execute.h:107 #27 0x08301300 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/Zend/zend.c:1266 #28 0x082a583e in php_execute_script (primary_file=0xbf8cf65c) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/main/main.c:2296 #29 0x083a053d in main (argc=6, argv=0xbf8cf774) at /build/buildd-php5_5.3.6-2-i386-Xx7Se_/php5-5.3.6/sapi/cli/php_cli.c:1197 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54356&edit=1