Subject: unalign access on alpha
To: netbsd alpha <port-alpha@netbsd.org>
From: netbsd alpha <netbsd_alpha@yahoo.com>
List: port-alpha
Date: 10/22/2000 14:27:22
mysql 3.23.26-beta, netbsd/alpha 1.5_alpha2, ptl2
threads:

from mysqld.err log:

/usr/local/install/mysql-3.23.26-beta/libexec/mysqld:
ready for connections
pid 21730 (mysqld): unaligned access: va=0x1603078d4
pc=0x120104eb0 ra=0x120104e60 op=ldt
[Thread 30]Segmentation fault (Stack bottom
0x124edc850)

gdb:

# gdb /usr/local/libexec/mysqld /var/mysql/mysqld.core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "alpha--netbsd"...
Core was generated by `mysqld'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from
/usr/pkg/lib/libPTL.so.2.0...done.
Reading symbols from /usr/lib/libcrypt.so.0...done.
Reading symbols from /usr/lib/libstdc++.so.2...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
#0  0x160aac79c in kill () at kill:2
kill:2: No such file or directory.
(gdb) bt
#0  0x160aac79c in kill () at kill:2
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x1203a0580
This warning occurs if you are debugging a function
without any symbols
(for example, in a stripped executable).  In that
case, you may wish to
increase the size of the search with the `set
heuristic-fence-post' command.

Otherwise, you told GDB there was a function where
there isn't one, or
(more likely) you have encountered a bug in GDB.
Current language:  auto; currently c
(gdb) list *0x160aac79c
0x160aac79c is in kill (kill:2).
kill:1: No such file or directory.

i'm at a lost. help?

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/