4 messages in com.mysql.lists.bugsscript for resolving stacktrace
FromSent OnAttachments
Martin MOKREJŠ16 Jan 2003 10:02 
Sinisa Milivojevic16 Jan 2003 12:09 
Jocelyn Fournier16 Jan 2003 13:45 
Martin MOKREJŠ17 Jan 2003 01:52 
Subject:script for resolving stacktrace
From:Martin MOKREJŠ (mmok@natur.cuni.cz)
Date:01/16/2003 10:02:03 AM
List:com.mysql.lists.bugs

Hi,

how about simplyfying users the stack resolution and installing this script in distributions bin/ or scripts/ directory?

How-To-Repeat:

#!/bin/sh echo "This scripts expects stack trace from your mysql error log file" echo "placed in the current directory as ./stack" echo "Put into the file just the part like:" echo "0x806f3bb" echo "0x8269928" echo "0x807724c" echo "0x8077665" echo "0x82670dc" echo "0x829c67a"

if [ ! -r ./stack ]; then echo "./stack file not present or readable" exit 255 fi

if [ -r /usr/local/mysql/bin/mysqld.sym.gz ]; then gzip -dc /usr/local/mysql/bin/mysqld.sym.gz > ./symbols else echo "nm -n /usr/local/mysql/bin/mysqld > ./symbols" nm -n /usr/local/mysql/bin/mysqld > ./symbols fi

echo "/usr/local/mysql/bin/resolve_stack_dump -s ./symbols -n ./stack" /usr/local/mysql/bin/resolve_stack_dump -s ./symbols -n ./stack