From:             
Operating system: Linux
PHP version:      5.4.0RC1
Package:          Reproducible crash
Bug Type:         Bug
Bug description:Segfault 

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

Reply via email to