-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: ddappsec startup warnings #2501
Comments
Hello @amberovsky , This typically happens when
On the other hand, anything you could let us know about your setup could be useful for us to reproduce the issue, for example are you using apache or fpm? Any specific framework? |
Hi @Anilm3 ,
Symfony 6.4, nginx, php-fpm, OpCache
And
UPD: Just saw the segfault is related to datadog-profiling.so |
I'm not sure if the segfaults are related at all, but perhaps that's a more pressing problem. @realFlowControl can you have a look? |
@amberovsky Is there a possibility that you could get core dumps and post us at least the stacktraces? That would be probably helpful in triaging. Thanks! |
@bwoebi @Anilm3 does this help?
|
I can upload the coredump itself if there is a secure way of doing so (E.g. if I can msg you the s3 path?) |
Hm, the crashing thread is thread #1 and it's full of question marks. There are three options: For c) you could try https://output.circle-artifacts.com/output/job/280b1883-9ac5-42e7-b9fb-6c19b6101509/artifacts/0/datadog-setup.php - we have now debug symbols in our rust code too. If a), you may try to install them. If b) it's going to be hard... |
Hey there @amberovsky, did you have a chance to try the suggestions? You may also reach out to us in private via https://chat.datadoghq.com/ and find me as https://datadoghq.slack.com/team/U04MJBH48A2 so we can try and help you debug the crash Kind regards |
Hi @realFlowControl , |
Bug report
Ubuntu 20.04 in Docker
PHP Warning: PHP Startup: [ddappsec] Failed to retrieve root span meta in Unknown on line 0
PHP Warning: PHP Startup: [ddappsec] Failed to add tag _dd.appsec.event_rules.version in Unknown on line 0
PHP Warning: PHP Startup: [ddappsec] Failed to retrieve root span meta in Unknown on line 0
PHP Warning: PHP Startup: [ddappsec] Failed to add _dd.runtime_family to root span in Unknown on line 0
PHP version
PHP 8.2.15 (cli) (built: Jan 20 2024 14:16:39) (NTS)
Tracer or profiler version
0.97.0
Installed extensions
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
intl
json
libxml
mbstring
mongodb
openssl
pcntl
pcre
PDO
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
Output of
phpinfo()
Unfortunately I'm unable to provide either phpinfo() (internal service without direct http access) nor CLI SAPI (disabled)
There are no changes to the default config apart from these:
extension = ddtrace.so
extension = datadog-profiling.so
extension = ddappsec.so
datadog.appsec.enabled = On
Upgrading from
No response
The text was updated successfully, but these errors were encountered: