Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2000 11:58:16 +1000 (EST)
From:      MAX@one.com.au
Subject:   unaligned access: va=0x10138b4 pc=0x12002cb78 ra=0x12002cacc op=stq
Message-ID:  <200001050158.LAA02524@gw.one.com.au>

next in thread | raw e-mail | index | archive | help

I am trying to port this MUMPS database on Alpha. I am having this error which
I dont know what it meant. It seems to fine when i debug it. 

here's the error.

% ./mumps -vTESTVOL -b8 -s100 volnewfile
Creating volumeset TESTVOL in file volnewfile
with 100 x 8kb blocks and a 8kb map/label block.
Database file created.
% ./mumps -j4 volnewfile
Creating share for 4 jobs with 1mb routine space,
2mb (256) global buffers, 8kb label/map space
and 8kb for locktab.
pid 9002 (mumps): unaligned access: va=0x10138b4 pc=0x12002cb78 ra=0x12002cacc
op=stq
Bus error (core dumped)

here's the print out from the debugger.

Core was generated by `mumps'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  INIT_Start () at init_start.c:173
173       systab->lockfree->size = locksize;            // the whole space
(gdb) bt
#0  INIT_Start () at init_start.c:173
#1  0x120002990 in main ()
(gdb) p systab
$1 = (systab_struct *) 0x1000000
(gdb) p systab->lockfree
$2 = (locktab *) 0x10138b4
(gdb) p systab->lockfree->size
$3 = 0
(gdb) p pagesize
$4 = 8192
(gdb) p
$5 = 8192

Another quick question. Does anyone knows what are the commands on "PRAGMA
align" so that the C program on Alpha could automatically deal with it.

thanks.

max



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001050158.LAA02524>