4 messages in com.mysql.lists.bugsscript for resolving stacktrace| From | Sent On | Attachments |
|---|---|---|
| Martin MOKREJŠ | 16 Jan 2003 10:02 | |
| Sinisa Milivojevic | 16 Jan 2003 12:09 | |
| Jocelyn Fournier | 16 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
-- Martin Mokrejs <mmok...@natur.cuni.cz>, <m.mo...@gsf.de> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs MIPS / Institute for Bioinformatics <http://mips.gsf.de> GSF - National Research Center for Environment and Health Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




