From owner-freebsd-questions Tue Jan 4 17:58:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.one.com.au (gw.one.com.au [203.18.85.1]) by hub.freebsd.org (Postfix) with ESMTP id EAC0814E1A for ; Tue, 4 Jan 2000 17:58:18 -0800 (PST) (envelope-from MAX@one.com.au) Received: from one.com.au (pxx.local [10.18.85.1]) by gw.one.com.au (8.9.2/8.9.2) with SMTP id LAA02524 for freebsd-questions@freebsd.org; Wed, 5 Jan 2000 11:58:16 +1000 (EST) (envelope-from MAX@one.com.au) Date: Wed, 5 Jan 2000 11:58:16 +1000 (EST) From: MAX@one.com.au Message-Id: <200001050158.LAA02524@gw.one.com.au> Subject: unaligned access: va=0x10138b4 pc=0x12002cb78 ra=0x12002cacc op=stq Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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