[xdebug-general] ~80% xdebug 'make test' failures after a 'successful' make/install

From: snowcrash <schneecrash+xdebug[@]gmail.com>
Date: Thu, 17 May 2007 09:37:26 -0700

i'm building latest xdebug2 from cvs src.

given,

% ls -al /usr/local/lib/php/extensions/no-debug-zts-20060613/xdebug.so
  -rwxr-xr-x 1 root wheel 651976 May 17 08:47
/usr/local/lib/php/extensions/no-debug-zts-20060613/xdebug.so

% grep -i xdebug ${VDM}/Conf/PHP5/php.ini
  ;[XDebugDebugger]
  zend_extension_ts="/usr/local/lib/php/extensions/no-debug-zts-20060613/xdebug.so"
  xdebug.auto_trace = Off
  xdebug.collect_includes = On
  xdebug.collect_params = Off
  xdebug.collect_return = Off
  xdebug.default_enable = On
  xdebug.extended_info = 1
  xdebug.manual_url = "http://www.php.net"
  xdebug.show_local_vars = 0
  xdebug.show_mem_delta = 0
  xdebug.max_nesting_level = 100
  xdebug.trace_format = 0
  xdebug.trace_output_dir = "/tmp"
  xdebug.trace_options = 0
  xdebug.trace_output_name = crc32
  xdebug.remote_autostart = Off
  xdebug.remote_enable = Off
  xdebug.remote_handler = "dbgp"
  xdebug.remote_host = "localhost"
  xdebug.remote_mode = "req"
  xdebug.remote_port = 9000
  xdebug.profiler_append = 0
  xdebug.profiler_enable = 0
  xdebug.profiler_enable_trigger = 0
  xdebug.profiler_output_dir = "/tmp"
  xdebug.profiler_output_name = "crc32"
  xdebug.dump.COOKIE = ""
  xdebug.dump.ENV = ""
  xdebug.dump.FILES = ""
  xdebug.dump.GET = ""
  xdebug.dump.POST = ""
  xdebug.dump.REQUEST = ""
  xdebug.dump.SERVER = ""
  xdebug.dump.SESSION = ""
  xdebug.dump_once = On
  xdebug.dump_undefined = Off

after install of xdebug, 'make test' fails ~80% of tests ...

% make test

Build complete.
Don't forget to run 'make test'.

PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0

Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHP Warning: Module 'xdebug' already loaded in Unknown on line 0

Warning: Module 'xdebug' already loaded in Unknown on line 0
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0

Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0
PHP Warning: Module 'xdebug' already loaded in Unknown on line 0

Warning: Module 'xdebug' already loaded in Unknown on line 0

=====================================================================
CWD : /usr/local/build/xdebug
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.2.3-dev
ZEND_VERSION: 2.2.0
PHP_OS : Darwin - Darwin snowcrash 8.9.0 Darwin Kernel Version
8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC
Power Macintosh
INI actual : /usr/local/etc/php5/php.ini
More .INIs :
Extra dirs :
=====================================================================
Running selected tests.
FAIL Check for xdebug presence [tests/001.phpt]
FAIL Test with internal callbacks [tests/array_map.phpt]
FAIL Test for assertion callbacks [tests/assert_test.phpt]
FAIL Test with auto-trace [tests/auto_trace.phpt]
FAIL Test for crash with a destructor [tests/bug00001.phpt]
FAIL Test for traces to file [tests/bug00002.phpt]
FAIL Text for crash bug in tracing to file [tests/bug00003.phpt]
SKIP Test for segmentation fault with xdebug_get_function_stack() and
collect_params=1. (ZE1) [tests/bug00022-ze1.phpt] reason: Zend Engine
1 needed
FAIL Test for segmentation fault with xdebug_get_function_stack() and
collect_params=1. (ZE20) [tests/bug00022.phpt]
SKIP Test for segmentation fault with unusual variables (ZE1)
[tests/bug00032-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test for segmentation fault with unusual variables (ZE2.2)
[tests/bug00032-ze22.phpt]
SKIP Test for segmentation fault with unusual variables (ZE2)
[tests/bug00032.phpt] reason: Zend Engine 2.2 needed
SKIP Test for bug #57: Crash with overloading functions (ZE1)
[tests/bug00057-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test for bug #57: Crash with overloading functions (ZE2)
[tests/bug00057-ze2.phpt]
FAIL Test for bug #89: var_dump shows empty strings garbled
[tests/bug00089.phpt]
FAIL Test for bug #146: Array key names with quotes in traces are not
escaped [tests/bug00146.phpt]
SKIP Test for bug #168: Memory error with DBGp eval when the result is
an array. [tests/bug00168.phpt] reason: Can only be tested through
DBGp
FAIL Test for bug #173: Xdebug segfaults using SPL ArrayIterator.
[tests/bug00173.phpt]
FAIL Test for bug #176: Segfault using SplTempFileObject [tests/bug00176.phpt]
FAIL Test for bug #178: $php_errormsg and Track errors unavailable
[tests/bug00178.phpt]
FAIL Test for bug #184: problem with control chars in code traces
[tests/bug00184.phpt]
SKIP Test for bug #209: Additional remote debugging session started
when triggering shutdown function. [tests/bug00209.phpt] reason: Can
only be tested through DBGp
SKIP Test for bug #212: coverage coverage inaccurate (ZE1).
[tests/bug00212a-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test for bug #212: coverage coverage inaccurate (ZE2).
[tests/bug00212a.phpt]
FAIL Test for bug #212: coverage coverage inaccurate. [tests/bug00212b.phpt]
FAIL Test for bug #212: coverage coverage inaccurate. [tests/bug00212c.phpt]
FAIL Test for bug #213: Dead code analysis doesn't take catches for
throws into account. [tests/bug00213.phpt]
FAIL Test for bug #241: Crash in xdebug_get_function_stack().
[tests/bug00241.phpt]
FAIL Test for file/line correctness with call_user_func_array()
[tests/call_user_func_array.phpt]
FAIL Test call_user_func_array() with multiple files
[tests/call_user_func_array2.phpt]
SKIP Test with Code Coverage (ZE1) [tests/coverage-ze1.phpt] reason:
Zend Engine 1 needed
FAIL Test with Code Coverage (ZE2) [tests/coverage.phpt]
SKIP Test with Code Coverage with unused lines (ZE1)
[tests/coverage2-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test with Code Coverage with unused lines (ZE2) [tests/coverage2.phpt]
SKIP Test with Code Coverage with unused lines (ZE1)
[tests/coverage3-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test with Code Coverage with unused lines (ZE2) [tests/coverage3.phpt]
FAIL Test to see if exceptions still work with Xdebug's hook enabled.
[tests/exception.phpt]
FAIL Test for xdebug_get_function_count [tests/function_counter.phpt]
FAIL Test with xdebug_get_declared_vars() [tests/get_declared_vars.phpt]
SKIP Test with showing local variables on errors (ZE1)
[tests/local_vars_in_error-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test with showing local variables on errors (ZE2)
[tests/local_vars_in_error.phpt]
FAIL Test for xdebug.collect_params setting [tests/memory_usage.phpt]
FAIL Test for xdebug_peak_memory_usage [tests/peak_memory_usage.phpt]
FAIL Shutdown function [tests/shutdown.phpt]
FAIL Test stack traces (level0, html) [tests/stacktrace_html_0.phpt]
FAIL Test stack traces (level1, html) [tests/stacktrace_html_1.phpt]
FAIL Test stack traces (level2, html) [tests/stacktrace_html_2.phpt]
FAIL Test stack traces (level3, html) [tests/stacktrace_html_3.phpt]
FAIL Test stack traces (level4, html) [tests/stacktrace_html_4.phpt]
FAIL Test stack traces (level4, html) [tests/stacktrace_html_4_novar.phpt]
FAIL Test stack traces (level0, text) [tests/stacktrace_text_0.phpt]
FAIL Test stack traces (level1, text) [tests/stacktrace_text_1.phpt]
FAIL Test stack traces (level2, text) [tests/stacktrace_text_2.phpt]
FAIL Test stack traces (level3, text) [tests/stacktrace_text_3.phpt]
FAIL Test stack traces (level4, text) [tests/stacktrace_text_4.phpt]
FAIL Test stack traces (level4, text) [tests/stacktrace_text_4_novar.phpt]
FAIL xdebug_start_trace() without filename [tests/start_trace.phpt]
FAIL Test with include file [tests/test1.phpt]
SKIP Test for nested indirect function call [tests/test10.phpt]
reason: Zend Engine 1 needed
FAIL Test for nested indirect function call [tests/test10b.phpt]
FAIL Test for indirect function call [tests/test11.phpt]
FAIL Test for complex parameters to functions [tests/test12.phpt]
FAIL Test for variable function calls [tests/test13.phpt]
SKIP Test for circular references (ZE1) [tests/test14.phpt] reason:
Zend Engine 1 needed
FAIL Test for circular references (ZE2) [tests/test14b.phpt]
FAIL Test for variable member functions [tests/test15.phpt]
SKIP Test for overloaded member functions / classes (ZE1)
[tests/test16.phpt] reason: Zend Engine 1 needed
FAIL Test for overloaded member functions / classes (ZE2) [tests/test16b.phpt]
FAIL Test for internal parameters [tests/test17.phpt]
FAIL Test with eval() [tests/test18.phpt]
FAIL Test for lots of calls to internal functions [tests/test19.phpt]
SKIP Test for static method calls [tests/test20.phpt] reason: Zend
Engine 1 needed
FAIL Test for static method calls [tests/test20b.phpt]
FAIL Test for simple backtrace [tests/test4.phpt]
FAIL Test for somewhat more complex backtrace [tests/test5.phpt]
SKIP Test for complex parameters to a function (ZE1)
[tests/test6-ze1.phpt] reason: Zend Engine 1 needed
FAIL Test for complex parameters to a function (ZE2) [tests/test6.phpt]
SKIP Test for class members [tests/test7.phpt] reason: Zend Engine 1 needed
FAIL Test for class members [tests/test7b.phpt]
FAIL Test for nested function calls [tests/test8.phpt]
SKIP Test for nested static method calls (ZE1) [tests/test9.phpt]
reason: Zend Engine 1 needed
FAIL Test for nested static method calls (ZE2) [tests/test9b.phpt]
FAIL Test with fibonacci numbers [tests/trace.phpt]
FAIL Test for xdebug_call_*() [tests/xdebug_call.phpt]
FAIL Test for xdebug_call_*(1) [tests/xdebug_call_depth.phpt]
FAIL Test for xdebug_call_*(2) [tests/xdebug_call_depth2.phpt]
FAIL Test for correct display with xdebug_var_dump() (ZE2)
[tests/xdebug_var_dump.phpt]
=====================================================================
Number of tests : 87 69
Tests skipped : 18 ( 20.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 69 ( 79.3%) (100.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 144 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Check for xdebug presence [tests/001.phpt]
Test with internal callbacks [tests/array_map.phpt]
Test for assertion callbacks [tests/assert_test.phpt]
Test with auto-trace [tests/auto_trace.phpt]
Test for crash with a destructor [tests/bug00001.phpt]
Test for traces to file [tests/bug00002.phpt]
Text for crash bug in tracing to file [tests/bug00003.phpt]
Test for segmentation fault with xdebug_get_function_stack() and
collect_params=1. (ZE20) [tests/bug00022.phpt]
Test for segmentation fault with unusual variables (ZE2.2)
[tests/bug00032-ze22.phpt]
Test for bug #57: Crash with overloading functions (ZE2)
[tests/bug00057-ze2.phpt]
Test for bug #89: var_dump shows empty strings garbled [tests/bug00089.phpt]
Test for bug #146: Array key names with quotes in traces are not
escaped [tests/bug00146.phpt]
Test for bug #173: Xdebug segfaults using SPL ArrayIterator.
[tests/bug00173.phpt]
Test for bug #176: Segfault using SplTempFileObject [tests/bug00176.phpt]
Test for bug #178: $php_errormsg and Track errors unavailable
[tests/bug00178.phpt]
Test for bug #184: problem with control chars in code traces
[tests/bug00184.phpt]
Test for bug #212: coverage coverage inaccurate (ZE2). [tests/bug00212a.phpt]
Test for bug #212: coverage coverage inaccurate. [tests/bug00212b.phpt]
Test for bug #212: coverage coverage inaccurate. [tests/bug00212c.phpt]
Test for bug #213: Dead code analysis doesn't take catches for throws
into account. [tests/bug00213.phpt]
Test for bug #241: Crash in xdebug_get_function_stack(). [tests/bug00241.phpt]
Test for file/line correctness with call_user_func_array()
[tests/call_user_func_array.phpt]
Test call_user_func_array() with multiple files
[tests/call_user_func_array2.phpt]
Test with Code Coverage (ZE2) [tests/coverage.phpt]
Test with Code Coverage with unused lines (ZE2) [tests/coverage2.phpt]
Test with Code Coverage with unused lines (ZE2) [tests/coverage3.phpt]
Test to see if exceptions still work with Xdebug's hook enabled.
[tests/exception.phpt]
Test for xdebug_get_function_count [tests/function_counter.phpt]
Test with xdebug_get_declared_vars() [tests/get_declared_vars.phpt]
Test with showing local variables on errors (ZE2)
[tests/local_vars_in_error.phpt]
Test for xdebug.collect_params setting [tests/memory_usage.phpt]
Test for xdebug_peak_memory_usage [tests/peak_memory_usage.phpt]
Shutdown function [tests/shutdown.phpt]
Test stack traces (level0, html) [tests/stacktrace_html_0.phpt]
Test stack traces (level1, html) [tests/stacktrace_html_1.phpt]
Test stack traces (level2, html) [tests/stacktrace_html_2.phpt]
Test stack traces (level3, html) [tests/stacktrace_html_3.phpt]
Test stack traces (level4, html) [tests/stacktrace_html_4.phpt]
Test stack traces (level4, html) [tests/stacktrace_html_4_novar.phpt]
Test stack traces (level0, text) [tests/stacktrace_text_0.phpt]
Test stack traces (level1, text) [tests/stacktrace_text_1.phpt]
Test stack traces (level2, text) [tests/stacktrace_text_2.phpt]
Test stack traces (level3, text) [tests/stacktrace_text_3.phpt]
Test stack traces (level4, text) [tests/stacktrace_text_4.phpt]
Test stack traces (level4, text) [tests/stacktrace_text_4_novar.phpt]
xdebug_start_trace() without filename [tests/start_trace.phpt]
Test with include file [tests/test1.phpt]
Test for nested indirect function call [tests/test10b.phpt]
Test for indirect function call [tests/test11.phpt]
Test for complex parameters to functions [tests/test12.phpt]
Test for variable function calls [tests/test13.phpt]
Test for circular references (ZE2) [tests/test14b.phpt]
Test for variable member functions [tests/test15.phpt]
Test for overloaded member functions / classes (ZE2) [tests/test16b.phpt]
Test for internal parameters [tests/test17.phpt]
Test with eval() [tests/test18.phpt]
Test for lots of calls to internal functions [tests/test19.phpt]
Test for static method calls [tests/test20b.phpt]
Test for simple backtrace [tests/test4.phpt]
Test for somewhat more complex backtrace [tests/test5.phpt]
Test for complex parameters to a function (ZE2) [tests/test6.phpt]
Test for class members [tests/test7b.phpt]
Test for nested function calls [tests/test8.phpt]
Test for nested static method calls (ZE2) [tests/test9b.phpt]
Test with fibonacci numbers [tests/trace.phpt]
Test for xdebug_call_*() [tests/xdebug_call.phpt]
Test for xdebug_call_*(1) [tests/xdebug_call_depth.phpt]
Test for xdebug_call_*(2) [tests/xdebug_call_depth2.phpt]
Test for correct display with xdebug_var_dump() (ZE2)
[tests/xdebug_var_dump.phpt]
=====================================================================

seeing both,

  PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0

and,

  FAIL Check for xdebug presence [tests/001.phpt]

seems that the install's not completely happy :-/

suggestsions?

thanks.
Received on Thu May 17 2007 - 18:37:58 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST