Re: general protection fault panic

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 26 Mar 2012 08:43:59 -0700
On Mon, Mar 26, 2012 at 10:59:35AM -0400, John Baldwin wrote:
> On Friday, March 23, 2012 6:23:13 pm Steve Kargl wrote:
> > Haven't seen one of these in a long time.
> > 
> > %uname -a
> > FreeBSD troutmask.apl.washington.edu 10.0-CURRENT FreeBSD
> > 10.0-CURRENT #0 r233282: Wed Mar 21 12:39:16 PDT 2012
> > kargl_at_troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW  amd64
> > 
> > Hand transcribed
> > 
> > Fatal trap 9: general protection fault while in kernel mode
> > cpuid = 1; apic id = 01
> > instruction pointer = 0x20:0xffffffff80570b89
> 
> Can you run gdb on your kernel.debug and 'l *' this address?
> 

Unfortunately, I don't have that kernel.debug anymore.  I saw
that alc had committed a few changes, so updated the kernel.
I do have the kernel and kernel.symbol files.  Loading 
kernel.symbol into gdb shows

(gdb) l *0xffffffff80570b89
0xffffffff80570b89 is in strcmp (/usr/src/sys/libkern/strcmp.c:45).
40       */
41      int
42      strcmp(s1, s2)
43              register const char *s1, *s2;
44      {
45              while (*s1 == *s2++)
46                      if (*s1++ == 0)
47                              return (0);
48              return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
49      }

Don't know if the above helps or is a red-herring.

I may be able to reproduce the crash.  I give it a try in a
few moments.

-- 
Steve
Received on Mon Mar 26 2012 - 13:44:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC