Bug #21250 resolve stack traces on AMD64
Submitted: 24 Jul 2006 15:19 Modified: 11 May 2007 11:10
Reporter: Elliot Murphy
Status: Verified
Category:Server: General Severity:S3 (Non-critical)
Version:5.0.40 OS:Linux (64-bit)
Assigned to: Tim Smith Target Version:6.0
Tags: bfsm_2007_08_16
Triage: D1 (Critical)

[24 Jul 2006 15:19] Elliot Murphy
Description:
http://www.mysqlperformanceblog.com/2006/07/19/stack-trace-for-x86_64-boxes/

This is a patch from Vadim to automatically resolve stack during a crash on x86_64
(currently MySQL only does this on x86).

How to repeat:
look at a crash on amd64

Suggested fix:
apply the patch.
[25 Aug 2006 16:00] 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/10885

ChangeSet@1.2252, 2006-08-25 17:59:47+04:00, kaa@polly.local +2 -0
  Added stacktrace dumps for x86_64 (bug #21250)
  Fixed stacktrace dumps for i386/NPTL
[26 Aug 2006 11:42] 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/10903

ChangeSet@1.2253, 2006-08-26 10:21:26+04:00, kaa@polly.local +1 -0
  Post-review fix (bug #21250)
[31 Aug 2006 13:45] Magnus Svensson
Pushed to 5.0.25
[2 Sep 2006 4:08] Paul DuBois
Noted in 5.0.25 changelog.
[6 Sep 2006 23:59] 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/11501

ChangeSet@1.2538, 2006-09-07 00:01:00+02:00, tsmith@maint1.mysql.com +2 -0
  Bug #21250: esolve stack traces on AMD64 (backport to mysql-4.1)
[7 Sep 2006 19:07] Tim Smith
Note: this patch has been back-ported into 4.1.

Queued in the -maint team tree, will be merged into global 4.1 and available in next 4.1
release (4.1.22).
[7 Sep 2006 20:21] Paul DuBois
Noted in 4.1.22 changelog.
[4 Oct 2006 15:56] Chad MILLER
Available in 4.1.22.
[11 May 2007 11:10] Shane Bester
this patch doesn't seem to work in 99% of the cases.
we're not getting any stack traces on 64-bit binaries.
in about 50% of cases the query is printed, but stack trace always contains only a single
line with what appears to be ascii characters.

setting back to verified status.