I am trying to obatin a meaningful backtrace for some segmentation faults occuring on php-fpm in Debian Buster.
Reading Debian’s guide, I understand that
- I need to add the debug repo
deb http://deb.debian.org/debian-debug/ buster-debug main
- I need to install
debian-goodies
so that I can search my debug symbols package withfind-dbgsym-packages
But it seems that the php debug symbols are missing from the output of find-dbgsym-packages /usr/bin/php
, these are the packages listed:
libargon2-1-dbgsym
libgcc1-dbg
libicu63-dbgsym
liblzma5-dbgsym
libpcre2-dbg
libsodium23-dbgsym
libssl1.1-dbgsym
libstdc++6-8-dbg
libxml2-dbg
php7.3-cli-dbgsym
zlib1g-dbg
I was excpecting to find a package like php7.3-dbgsym
… what I am missing?
2
Answers
You are missing that the debug symbols you need are included in
php7.3-cli-dbgsym
.Install all of the packages
find-dbgsym-packages
finds and analyze yourcore
again.It seems that you can add an automatic downloader now:
Just type this in your console:
Then run your PHP script: