Antony Dovgal wrote:
> On 19.05.2007 14:27, Sebastian Nohn wrote:
>> Hi,
>>
>> I currently get segfaults with 5.2.3-dev when running the the Zend
>> Framework
>> 0.8.0 Unit Tests:
>>
>> ok 1860 - testHandleAnonymousArgFunction(Zend_Rest_ServerTest)
>> ok 1861 - testHandleMultipleFunction(Zend_Rest_ServerTest)
>> ok 1862 - testHandleMethodNoArgs(Zend_Rest_ServerTest)
>> ok 1863 - testHandleMethodOfClassWithConstructor(Zend_Rest_ServerTest)
>> ok 1864 - testHandleAnonymousArgMethod(Zend_Rest_ServerTest)
>> ok 1865 - testHandleNamedArgMethod(Zend_Rest_ServerTest)
>> Segmentation fault
> 
> Any chance to get GDB backtrace?

Of course:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217312544 (LWP 11978)]
0x08360807 in zend_call_function (fci=0xbf878ec0, fci_cache=0xbf878eb0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:846
846                     if (fci->object_pp && Z_TYPE_PP(fci->object_pp)
== IS_OBJECT
(gdb) bt
#0  0x08360807 in zend_call_function (fci=0xbf878ec0, fci_cache=0xbf878eb0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:846
#1  0x081e080d in zim_reflection_method_invokeArgs (ht=2,
    return_value=0xb4f18244, return_value_ptr=0x0, this_ptr=0xb4f179c4,
    return_value_used=1)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/ext/reflection/php_reflection.c:2487
#2  0x0836111c in zend_call_function (fci=0xbf879094, fci_cache=0x0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:989
#3  0x0835fa0e in call_user_function_ex (function_table=0x8501610,
    object_pp=0x0, function_name=0xb4f18f08, retval_ptr_ptr=0xbf8790e8,
    param_count=2, params=0xb4f17334, no_separation=0, symbol_table=0x0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:602
#4  0x08282d34 in zif_call_user_func_array (ht=2, return_value=0xb4f1ba58,
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/ext/standard/basic_functions.c:5141
#5  0x083934fc in zend_do_fcall_common_helper_SPEC (execute_data=0xbf879314)
    at zend_vm_execute.h:200
#6  0x08398ec0 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0xbf879314)
    at zend_vm_execute.h:1681
#7  0x08393054 in execute (op_array=0xb5c81bb8) at zend_vm_execute.h:92
#8  0x08360fad in zend_call_function (fci=0xbf879534, fci_cache=0xbf879508)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:975
#9  0x08385865 in zend_call_method (object_pp=0xbf8795ec, obj_ce=0xb5c99634,
    fn_proxy=0xb5c99750, function_name=0x84c6d84 "__call",
    function_name_len=6, retval_ptr_ptr=0xbf8795ac, param_count=2,
    arg1=0xb4f199e0, arg2=0xb4f195c0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_interfaces.c:88
#10 0x0838fa13 in zend_std_call_user_call (ht=2, return_value=0xb4f19d50,
    return_value_ptr=0x0, this_ptr=0xb4f14354, return_value_used=1)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_object_handlers.c:657
#11 0x083934fc in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87a7a4)
    at zend_vm_execute.h:200
#12 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87a7a4)
    at zend_vm_execute.h:322
#13 0x08393054 in execute (op_array=0xb5cd58c0) at zend_vm_execute.h:92
#14 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87aa14)
    at zend_vm_execute.h:234
#15 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87aa14)
    at zend_vm_execute.h:322
#16 0x08393054 in execute (op_array=0xb5d30ba4) at zend_vm_execute.h:92
#17 0x08360fad in zend_call_function (fci=0xbf87ac20, fci_cache=0xbf87ac10)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend_execute_API.c:975
#18 0x081e0354 in zim_reflection_method_invoke (ht=1,
return_value=0xb4f601d0,
    return_value_ptr=0x0, this_ptr=0xb4f899cc, return_value_used=0)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/ext/reflection/php_reflection.c:2383
#19 0x083934fc in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87af34)
    at zend_vm_execute.h:200
#20 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87af34)
    at zend_vm_execute.h:322
#21 0x08393054 in execute (op_array=0xb5cc52f4) at zend_vm_execute.h:92
#22 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87b2e4)
    at zend_vm_execute.h:234
#23 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87b2e4)
    at zend_vm_execute.h:322
#24 0x08393054 in execute (op_array=0xb5cc51e4) at zend_vm_execute.h:92
#25 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87b984)
    at zend_vm_execute.h:234
#26 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87b984)
    at zend_vm_execute.h:322
#27 0x08393054 in execute (op_array=0xb768c5b8) at zend_vm_execute.h:92
#28 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87bb64)
    at zend_vm_execute.h:234
#29 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87bb64)
    at zend_vm_execute.h:322
#30 0x08393054 in execute (op_array=0xb5cc50d4) at zend_vm_execute.h:92
#31 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87bce4)
    at zend_vm_execute.h:234
#32 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87bce4)
    at zend_vm_execute.h:322
#33 0x08393054 in execute (op_array=0xb7608844) at zend_vm_execute.h:92
#34 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87c0b4)
    at zend_vm_execute.h:234
#35 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87c0b4)
    at zend_vm_execute.h:322
#36 0x08393054 in execute (op_array=0xb7608094) at zend_vm_execute.h:92
#37 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87c484)
    at zend_vm_execute.h:234
#38 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87c484)
    at zend_vm_execute.h:322
#39 0x08393054 in execute (op_array=0xb7608094) at zend_vm_execute.h:92
#40 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87c854)
    at zend_vm_execute.h:234
#41 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87c854)
    at zend_vm_execute.h:322
#42 0x08393054 in execute (op_array=0xb7608094) at zend_vm_execute.h:92
#43 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87cc24)
    at zend_vm_execute.h:234
#44 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87cc24)
    at zend_vm_execute.h:322
#45 0x08393054 in execute (op_array=0xb7608094) at zend_vm_execute.h:92
#46 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87d804)
    at zend_vm_execute.h:234
#47 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87d804)
    at zend_vm_execute.h:322
#48 0x08393054 in execute (op_array=0xb76e55f4) at zend_vm_execute.h:92
#49 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87da74)
    at zend_vm_execute.h:234
#50 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87da74)
    at zend_vm_execute.h:322
#51 0x08393054 in execute (op_array=0xb755d1ac) at zend_vm_execute.h:92
#52 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87dca4)
    at zend_vm_execute.h:234
#53 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87dca4)
    at zend_vm_execute.h:322
#54 0x08393054 in execute (op_array=0xb76e34bc) at zend_vm_execute.h:92
#55 0x08393676 in zend_do_fcall_common_helper_SPEC (execute_data=0xbf87e014)
    at zend_vm_execute.h:234
#56 0x08394150 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER
(execute_data=0xbf87e014)
    at zend_vm_execute.h:322
#57 0x08393054 in execute (op_array=0xb76dffb4) at zend_vm_execute.h:92
#58 0x0836e403 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/Zend/zend.c:1134
#59 0x0831cc61 in php_execute_script (primary_file=0xbf8803b4)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/main/main.c:1794
#60 0x083e8291 in main (argc=4, argv=0xbf8804f4)
    at
/home/cruise/cruisecontrol-bin-2.6/projects/PHP_5_2/php5/sapi/cli/php_cli.c:1138


Best regards,
  Sebastian Nohn
-- 
Sebastian Nohn · Wolfstraße 29 · 53111 Bonn · Germany
+49-170-4718105 · http://nohn.net/ · [EMAIL PROTECTED]
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&fingerprint=on&search=0xD47D55E0

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to