dd-trace-php
dd-trace-php copied to clipboard
[Bug]: segfault in test suite
Bug report
========DIFF========
--
process
Flushing trace of size 3 to send-queue for %s
kill
005+
005- Killed%r\n*(Termsig=9)?%r
006+ Termsig=9
========DONE========
FAIL Force flush the traces mid-way through a trace [tests/ext/force_flush_traces.phpt]
PHP version
8.1.23
Tracer or profiler version
0.91.0
Installed extensions
No response
Output of phpinfo()
No response
Upgrading from
No response
Also failing (seems to be related to long path raise message being truncated)
TEST 277/434 [tests/ext/sandbox/fatal_errors_ignored_in_tracing_closure.phpt]
========DIFF========
001+ Error thrown in ddtrace's closure defined at /builddir/build/BUILD/php-pecl-datadog-trace-0.91.0/datadog_trace-0.91.0/tests/ext/sandbox/fatal_errors_ignored_in_tracing_closure.php:2 for array_sum(): Call to undefined function this_function_does_not_exist(
001- Error thrown in ddtrace's closure defined at %s:%d for array_sum(): Call to undefined function this_function_does_not_exist()
int(100)
array_sum
NULL
--
========DONE========
FAIL Fatal errors are ignored inside a tracing closure (PHP 7+) [tests/ext/sandbox/fatal_errors_ignored_in_tracing_closure.phpt]
Just a quick note: This test tests behaviour under a sigkill (it's 9, not 11), just the matching in the diff doesn't match the behaviour observed, i.e. the system doesn't seem to output Killed for you. We'll take it into consideration in the test result match.