From:
Operating system: Linux Debian SID
PHP version: 5.3.6
Package: CGI related
Bug Type: Bug
Bug description:PHP crashes in CLI
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 bug report at http://bugs.php.net/bug.php?id=54356&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=54356&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=54356&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=54356&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=54356&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=54356&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=54356&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=54356&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=54356&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=54356&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=54356&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=54356&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=54356&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=54356&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=54356&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54356&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54356&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=54356&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=54356&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=54356&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=54356&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=54356&r=mysqlcfg