Bug #41551 mysqld.sym.gz is missing in all packages
Submitted: 17 Dec 2008 14:35 Modified: 13 Jan 2009 16:28
Reporter: Oli Sennhauser Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1.30 an older OS:Any
Assigned to: Paul DuBois CPU Architecture:Any

[17 Dec 2008 14:35] Oli Sennhauser
Description:
to analyze stack traces it would be good to have the mysqld.sym.gz file a described in the docu here:

http://dev.mysql.com/doc/refman/5.1/en/using-stack-trace.html

I did not find it in any package I have installed.

How to repeat:
find . -name "*mysqld*sym*"

Suggested fix:
file should be included in the build
[17 Dec 2008 14:50] Valeriy Kravchuk
This is either a packaging bug (I think so) or, at least, a request to update our documentation.
[12 Jan 2009 14:15] Joerg Bruehe
We intentionally stopped stripping the binaries long ago,
that was based on some benchmark result (no performance gain from stripping) and was agreed with Support.
Since that, there is no need for a separate symbol file.

From checking our build logs, the last version where we had this separate namelist file was 5.0.22 (May 2006) -
seems we forgot to communicate this change to Docs, sorry!

I didn't see any 5.1 log where this file got created, seems 5.1 used the current way from its beginnings.
Similar in 6.0

So for any version after 5.0.22, a debugger will get the symbols from the binary directly.
[13 Jan 2009 16:28] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

mysqld.sym.gz is no longer present in distributions for MySQL 5.0 and up.