【发布时间】:2020-08-12 07:06:15
【问题描述】:
我正在尝试为 Debian Buster 中的 php-fpm 上发生的一些分段错误获取有意义的回溯。 看了Debian's guide,我明白了
- 我需要添加调试仓库
deb http://deb.debian.org/debian-debug/ buster-debug main - 我需要安装
debian-goodies以便我可以使用find-dbgsym-packages搜索我的调试符号包
但似乎find-dbgsym-packages /usr/bin/php 的输出中缺少 php 调试符号,这些是列出的包:
libargon2-1-dbgsymlibgcc1-dbglibicu63-dbgsymliblzma5-dbgsymlibpcre2-dbglibsodium23-dbgsymlibssl1.1-dbgsymlibstdc++6-8-dbglibxml2-dbgphp7.3-cli-dbgsymzlib1g-dbg
我期待找到像 php7.3-dbgsym 这样的包...我错过了什么?
【问题讨论】:
-
运气好吗? 7.4面临同样的问题。尝试将 --enable-debug 添加到 Docker 文件中的 PHP_EXTRA_CONFIGURE_ARGS github.com/docker-library/php/blob/master/7.4/buster/apache/… 但 gdb 仍然显示 Reading symbols from /usr/local/bin/php...(no debugging symbols found)...done.
标签: php coredump debug-symbols debian-buster