PHP 7.0 debug symbols

Asked by Rauno

Why are the PHP 7.0 *-dbg and *-dbgsym packages dropped from Xenial?
I have a frequent segfault in production and it's proven to be extremely difficult to compile a one-off debug build that is built exactly like the Ubuntu package with only --enable-debug added.
I can get a core dump now but it's completely useless without debug info.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu php7.0 Edit question
Assignee:
No assignee Edit question
Solved by:
Rauno
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
apt-cache policy php7.0-common-dbgsym

Have you read https://wiki.ubuntu.com/Debug%20Symbol%20Packages ?

Revision history for this message
Rauno (rmoisto) said :
#2

That link looks very promising, I can't believe I haven't found it before.
Following the instructions there does add the packages I was looking for, I'll try them out.

Revision history for this message
Rauno (rmoisto) said :
#3

Debug symbols seem to be missing for pdo.so but I was still able to get enough information.