Edit report at https://bugs.php.net/bug.php?id=60275&edit=1

 ID:                 60275
 Comment by:         kontakt at beberlei dot de
 Reported by:        kontakt at beberlei dot de
 Summary:            Segfault
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Linux
 PHP Version:        5.4.0RC1
 Block user comment: N
 Private report:     N

 New Comment:

Got another one in another scenario with I think almost the same stack trace:

#0  0x0000000000000000 in ?? ()
#1  0x00000000007a3bcb in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7ffff7f8bed0) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:693
#2  0x000000000079f510 in execute (op_array=0x1dec230) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:410
#3  0x000000000072ace4 in zend_call_function (fci=0x7fffffffb5f0, 
fci_cache=<value optimized out>)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_execute_API.c:957
#4  0x000000000065a1f7 in zif_call_user_func_array (ht=<value optimized out>, 
return_value=0x1dfe278, return_value_ptr=<value optimized out>, 
    this_ptr=<value optimized out>, return_value_used=<value optimized out>) at 
/home/benny/Downloads/php5.4-201105301830/ext/standard/basic_functions.c:4729
#5  0x00000000007a4274 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7ffff7f8acc8) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:642
#6  0x000000000079f510 in execute (op_array=0x1de0918) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:410
#7  0x000000000072ace4 in zend_call_function (fci=0x7fffffffb910, 
fci_cache=<value optimized out>)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_execute_API.c:957
#8  0x00000000005c9304 in zim_reflection_method_invokeArgs (ht=<value optimized 
out>, return_value=0x1df7dc0, return_value_ptr=<value optimized out>, 
    this_ptr=<value optimized out>, return_value_used=<value optimized out>) at 
/home/benny/Downloads/php5.4-201105301830/ext/reflection/php_reflection.c:2902
#9  0x00000000007a4274 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7ffff7f899e0) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:642
#10 0x000000000079f510 in execute (op_array=0x14c06a8) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:410
#11 0x0000000000735a2f in zend_execute_scripts (type=8, retval=<value optimized 
out>, file_count=3) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend.c:1212
#12 0x00000000006dab28 in php_execute_script (primary_file=<value optimized 
out>) at /home/benny/Downloads/php5.4-201105301830/main/main.c:2352
#13 0x00000000007d9db4 in main (argc=<value optimized out>, argv=<value 
optimized out>) at 
/home/benny/Downloads/php5.4-201105301830/sapi/cli/php_cli.c:1136


Previous Comments:
------------------------------------------------------------------------
[2011-11-11 21:54:52] kontakt at beberlei dot de

Description:
------------
This runs against the Doctrine 2 testsuite and fails at the same location all 
the time. I will investigate more, this is just so i don't forget the progress 
for now :)

Program received signal SIGSEGV, Segmentation fault.
_zend_mm_free_int (heap=0xf56300, p=0x7ffff7f8b7a8) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_alloc.c:2091
2091            if (ZEND_MM_IS_FREE_BLOCK(next_block)) {
(gdb) bt
#0  _zend_mm_free_int (heap=0xf56300, p=0x7ffff7f8b7a8) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_alloc.c:2091
#1  0x000000000072ac39 in zend_call_function (fci=0x7fffffffb520, fci_cache=
<value optimized out>)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_execute_API.c:1018
#2  0x000000000074d707 in zend_call_method (object_pp=0x7fffffffb648, 
obj_ce=0x77d2d68, fn_proxy=0x77d2ed0, function_name=0xbdc24b "__tostring", 
    function_name_len=-303805192, retval_ptr_ptr=<value optimized out>, 
param_count=0, arg1=0x0, arg2=0x0)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_interfaces.c:97
#3  0x0000000000759ae3 in zend_std_cast_object_tostring 
(readobj=0x7ffff7f8b7a8, 
writeobj=0x7fffffffb6d0, type=<value optimized out>)
    at /home/benny/Downloads/php5.4-
201105301830/Zend/zend_object_handlers.c:1472
#4  0x0000000000736c0f in zend_make_printable_zval (expr=0xf56300, 
expr_copy=0x7fffffffb6d0, use_copy=0x7fffffffb708)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend.c:257
#5  0x000000000072eb54 in concat_function (result=0x7ffff7f8b7c8, 
op1=0x7ffff7f8b728, op2=0x7ffff7f8b7a8)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_operators.c:1246
#6  0x00000000007909de in ZEND_CONCAT_SPEC_TMP_TMP_HANDLER 
(execute_data=0x7ffff7f8b548) at /home/benny/Downloads/php5.4-
201105301830/Zend/zend_vm_execute.h:7881
#7  0x000000000079f510 in execute (op_array=0x64d8010) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:410
#8  0x000000000072ace4 in zend_call_function (fci=0x7fffffffb910, fci_cache=
<value optimized out>)
    at /home/benny/Downloads/php5.4-201105301830/Zend/zend_execute_API.c:957
#9  0x00000000005c9304 in zim_reflection_method_invokeArgs (ht=<value optimized 
out>, return_value=0x77d0f78, return_value_ptr=<value optimized out>, 
    this_ptr=<value optimized out>, return_value_used=<value optimized out>) at 
/home/benny/Downloads/php5.4-201105301830/ext/reflection/php_reflection.c:2902
#10 0x00000000007a4274 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x7ffff7f899e0) at /home/benny/Downloads/php5.4-
201105301830/Zend/zend_vm_execute.h:642
#11 0x000000000079f510 in execute (op_array=0x1a64848) at 
/home/benny/Downloads/php5.4-201105301830/Zend/zend_vm_execute.h:410
#12 0x0000000000735a2f in zend_execute_scripts (type=8, retval=<value optimized 
out>, file_count=3) at /home/benny/Downloads/php5.4-
201105301830/Zend/zend.c:1212
#13 0x00000000006dab28 in php_execute_script (primary_file=<value optimized 
out>) at /home/benny/Downloads/php5.4-201105301830/main/main.c:2352
#14 0x00000000007d9db4 in main (argc=<value optimized out>, argv=<value 
optimized out>) at /home/benny/Downloads/php5.4-
201105301830/sapi/cli/php_cli.c:1136




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60275&edit=1

Reply via email to