opentelemetry-php: [opentelemetry-php-instrumentation] - BUG: Laravel Octane + Roadrunner + Opentelemetry Segmentation fault

PHP: 8.1.18 Opentelemetry: 1.0.0beta4 / 1.0.0beta5 Laravel Octane: v1.4.2 Roadrunner: 2.12.2

root@6f6ea9ce6cd8:172.17.0.3[/var/www/current]# gdb /usr/local/bin/php -c /core.22235
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/php...
(No debugging symbols found in /usr/local/bin/php)
[New LWP 22235]
[New LWP 22237]
[New LWP 22236]
[New LWP 22238]
Core was generated by `/usr/local/bin/php /var/www/current/vendor/bin/roadrunner-worker'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055ac0b3dcd93 in zend_hash_find ()
[Current thread is 1 (LWP 22235)]
(gdb) bt
#0  0x000055ac0b3dcd93 in zend_hash_find ()
open-telemetry/opentelemetry-php-instrumentation#1  0x000055ac0b3dce52 in zend_hash_find_ptr_lc ()
open-telemetry/opentelemetry-php-instrumentation#2  0x00007f717fbb770c in ?? () from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/opentelemetry.so
open-telemetry/opentelemetry-php-instrumentation#3  0x000055ac0b45dcf8 in ?? ()
open-telemetry/opentelemetry-php-instrumentation#4  0x000055ac0b3baf19 in zend_call_function ()
open-telemetry/opentelemetry-php-instrumentation#5  0x000055ac0b36e05f in sapi_send_headers ()
open-telemetry/opentelemetry-php-instrumentation#6  0x000055ac0b2efd99 in php_header ()
open-telemetry/opentelemetry-php-instrumentation#7  0x000055ac0b3758e4 in ?? ()
open-telemetry/opentelemetry-php-instrumentation#8  0x000055ac0b376727 in php_output_deactivate ()
open-telemetry/opentelemetry-php-instrumentation#9  0x000055ac0b364bb5 in php_request_shutdown ()
open-telemetry/opentelemetry-php-instrumentation#10 0x000055ac0b4aa2f6 in ?? ()
open-telemetry/opentelemetry-php-instrumentation#11 0x000055ac0b0e3f18 in ?? ()
open-telemetry/opentelemetry-php-instrumentation#12 0x00007f7181a10a22 in ?? () from /lib/ld-musl-x86_64.so.1
open-telemetry/opentelemetry-php-instrumentation#13 0x00007f7181a109fb in ?? () from /lib/ld-musl-x86_64.so.1
open-telemetry/opentelemetry-php-instrumentation#14 0x00007fff8fb5add0 in ?? ()
open-telemetry/opentelemetry-php-instrumentation#15 0x0000000000000000 in ?? ()
(gdb) quit

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (2 by maintainers)

Most upvoted comments

Thanks for the feedback, @kerunaru I will shortly release a new version of the extension containing this fix. It will be 1.0.0RC3

@intuibase Yep, it is fixed. Thank you all! 😃

no idea how to reproduce for this issue, from our production server is randomly generate core dump.

but the ext beta6 is release, i will try upgrade later