Coda File System

Re: codasrv crash on netbsd/sparc64 3.0

From: Sean Caron <caron.sean_at_gmail.com>
Date: Tue, 25 Apr 2006 13:01:44 -0400
I do have to apologise for my clumsiness with gdb. I'm not all that familiar
with
it but I'll do my best to obtain any data that you guys might find
interesting.

So, I do:

blossom: {55} gdb /usr/local/sbin/codasrv

(gdb) run -d 1
Starting program: /usr/local/sbin/codasrv -d 1
Setting debuglevel to 1

Program received signal SIGBUS, Bus error.
readints (f=0x0, a=0xffffc568, b=0xffffc564, pos=2659) at rwcdb_pack.h:69
69          *a = SWAP_IN(p->a);
Current language:  auto; currently c

(gdb)

Looking this up in the source (coda v6.0.14) shows the subroutine failing:

static __inline__ void unpackints(char *buf, u_int32_t *a, u_int32_t *b)
{
    struct rwcdb_tuple *p = (struct rwcdb_tuple *)buf;
    *a = SWAP_IN(p->a); /* Line 69 */
    *b = SWAP_IN(p->b);
}

Hope this is perhaps useful?

Regards, Sean
scaron_at_umich.edu
Received on 2006-04-25 13:03:38