Subject: Re: kern/37534: ktrace firefox -> kernel trap 30: data access expection
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/14/2007 12:00:06
The following reply was made to PR kern/37534; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: sfandino@yahoo.com
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/37534: ktrace firefox -> kernel trap 30: data access expection
Date: Fri, 14 Dec 2007 12:45:55 +0100
On Thu, Dec 13, 2007 at 03:40:00PM +0000, sfandino@yahoo.com wrote:
> causes a kernel trap:
>
> cpu0: data fault: pc=127a2ec addr=483fe000
> kernel trap 30: data access exception
> Stopped in pid 762.1 (firefox-bin) and netbsd:ktrsaupcall+0x8c: ldx [%i4 + %g0], %o0
Looks like it dies here:
0x10f824c is in ktrsaupcall (../../../../kern/kern_ktrace.c:764).
759 * Copy the sa_t's
760 */
761 sapp = (struct sa_t **) sas;
762
763 for (i = nevent + nint; i >= 0; i--) {
764 if (copyin(*sapp, (char *)ktp + len, sizeof(struct sa_t)) == 0)
765 len += sizeof(struct sa_t);
766 sapp++;
767 }
768
*sapp is 0x483fe000 and we can not access that address.
Could you do a "bt" at the db> prompt? That should get us the arguments to
this funcion (which are probably bogus).
Martin