Bug #35104 Debug symbols are missing for mysql client on Windows
Submitted: 6 Mar 2008 12:25 Modified: 29 May 2008 3:33
Reporter: Philip Stoev Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.0.58 OS:Microsoft Windows
Assigned to: Kent Boortz CPU Architecture:Any
Triage: D3 (Medium)

[6 Mar 2008 12:25] Philip Stoev
Description:
Our windows distribution contains 24 .exe files and only 3 .pdb files with debug symbols - for mysqld and for mysqlmanager.

There is no symbol file for the mysql client. Upon a crash, unlike Linux, Windows does not provide even the simplest backtrace if there is no .pdb file. This prevents the analysis of mysql client bugs, in particular, it prevents comparing new crashes to previously filed bugs with backtraces.

How to repeat:
1. Install 5.0.58 windows distribution, start server.

2.  Run mysql client, hit Ctrl +C - the client will crash and there will be no way to obtain a backtrace to see if it is the same Ctrl+C crashes reported previously.

Suggested fix:
Add a .pdb file for mysql.exe .
[6 Mar 2008 13:16] Miguel Solorzano
Thank you for the bug report.
[11 Mar 2008 23:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/43761

ChangeSet@1.2583, 2008-03-11 15:21:58+01:00, kent@mysql.com +1 -0
  make_win_bin_dist:
    Include .pdb files for tools and libraries (bug#35104)
[27 Mar 2008 22:04] Bugs System
Pushed into 5.1.24-rc
[27 Mar 2008 22:12] Bugs System
Pushed into 5.0.60
[28 Mar 2008 11:10] Bugs System
Pushed into 6.0.5-alpha
[29 May 2008 3:33] Paul Dubois
Noted in 5.0.60, 5.1.24, 6.0.5 changelogs.

Debugging symbols were missing for some executables in Windows binary
distributions.