Subject: Re: kern/37534: ktrace firefox -> kernel trap 30: data access expection
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Salvador Fandino <sfandino@yahoo.com>
List: netbsd-bugs
Date: 12/14/2007 15:50:02
The following reply was made to PR kern/37534; it has been noted by GNATS.

From: Salvador Fandino <sfandino@yahoo.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/37534: ktrace firefox -> kernel trap 30: data access expection
Date: Fri, 14 Dec 2007 07:46:32 -0800 (PST)

 > 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).
 
 The kernel debugger doesn't work here. It freezes after I type the "b"
  (or any other) character.
 
 My machine uses an USB keyboard, could it be related to that?
 
 Next week, if I have some spare time, I would try to set up gdb kernel
  debugging and get the backtrace from there.
 
 Cheers,
 
  - Salva
 
 
 
 
     
   ____________________________________________________________________________________
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search.
   http://tools.search.yahoo.com/newsearch/category.php?category=shopping
 
 
 
       ____________________________________________________________________________________
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ