Skip to content
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

[bitnami/php-fpm] Where we can find the php-fpm debug symbol file? #75562

Open
xahhy opened this issue Dec 7, 2024 · 1 comment
Open

[bitnami/php-fpm] Where we can find the php-fpm debug symbol file? #75562

xahhy opened this issue Dec 7, 2024 · 1 comment
Assignees
Labels
in-progress tech-issues The user has a technical issue about an application wordpress-nginx

Comments

@xahhy
Copy link

xahhy commented Dec 7, 2024

Name and Version

bitnami/wordpress-nginx:6.7.1

What architecture are you using?

amd64

What steps will reproduce the bug?

When run gdb /opt/bitnami/php/sbin/php-fpm it shows no debugging symbols found

$ gdb /opt/bitnami/php/sbin/php-fpm
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 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-linux-gnu".
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 /opt/bitnami/php/sbin/php-fpm...
(No debugging symbols found in /opt/bitnami/php/sbin/php-fpm)

What is the expected behavior?

It's better to include the debug symbol file within the image itself. Or provide an external way to be able to download the debug symbol files separately

What do you see instead?

No debugging symbols found in /opt/bitnami/php/sbin/php-fpm

Additional information

I tried to install the debug symbol file from the debian website through

echo "deb http://deb.debian.org/debian-debug/ bookworm-debug main" >> /etc/apt/sources.list
apt-get install php8.2-fpm-dbgsym

But the build id is different from what we actually use in the bitnami/wordpress-nginx image.

@xahhy xahhy added the tech-issues The user has a technical issue about an application label Dec 7, 2024
@github-actions github-actions bot added the triage Triage is needed label Dec 7, 2024
@github-actions github-actions bot removed the triage Triage is needed label Dec 11, 2024
@github-actions github-actions bot assigned fmulero and unassigned javsalgar Dec 11, 2024
@fmulero
Copy link
Collaborator

fmulero commented Dec 18, 2024

Thanks @xahhy for using bitnami/containers.

I am afraid we can not include this information in the image. We try to avoid any debug information or tool (gdb is not part of the bitnami/wordpress-nginx image) in our images to reduce the size the surface area for vulnerabilities and enhances security. These lean images also improve performance by limiting the container to only essential components, making them a reliable choice for production environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress tech-issues The user has a technical issue about an application wordpress-nginx
Projects
None yet
Development

No branches or pull requests

4 participants