On Mon, Mar 18, 2013 at 05:40:01AM +0000, Martin Bishop wrote:
> The following reply was made to PR amd64/176835; it has been noted by GNATS.
> 
> From: Martin Bishop <[email protected]>
> To: [email protected], [email protected]
> Cc:  
> Subject: Re: amd64/176835: Fatal trap 12: page fault while in kernel mode
> Date: Sun, 17 Mar 2013 22:33:50 -0700
> 
>  After one more crash to enable dumping, and one to produce a core.
>  
>  Backtrace from kgdb
>  
>  (kgdb) bt
>  #0  doadump (textdump=Variable "textdump" is not available.
>  ) at pcpu.h:224
>  #1  0xffffffff808ea3a1 in kern_reboot (howto=260) at
>  /usr/src/sys/kern/kern_shutdown.c:448
>  #2  0xffffffff808ea897 in panic (fmt=0x1 <Address 0x1 out of bounds>)
>  at /usr/src/sys/kern/kern_shutdown.c:636
>  #3  0xffffffff80bd8240 in trap_fatal (frame=0xc, eva=Variable "eva" is
>  not available.
>  ) at /usr/src/sys/amd64/amd64/trap.c:857
>  #4  0xffffffff80bd857d in trap_pfault (frame=0xffffff80913118c0,
>  usermode=0) at /usr/src/sys/amd64/amd64/trap.c:773
>  #5  0xffffffff80bd8b9e in trap (frame=0xffffff80913118c0) at
>  /usr/src/sys/amd64/amd64/trap.c:456
>  #6  0xffffffff80bc315f in calltrap () at
>  /usr/src/sys/amd64/amd64/exception.S:228
>  #7  0xffffffff808eb0b3 in sigtd (p=0xfffffe00212d3000, sig=1,
>  prop=Variable "prop" is not available.
>  ) at /usr/src/sys/kern/kern_sig.c:1927
Assuming you use 9.1 release, the line 1927 is the fragment
        if (curproc == p && !SIGISMEMBER(curthread->td_sigmask, sig))
                return (curthread);

I find it quite unlikely to be a software problem, at least with stock
9.1. Do you use any out of tree modules ?

Do the following in kgdb with the loaded crash dump:
frame 7
disassemble sigtd
info registers
p *p

>  #8  0xffffffff808efb14 in tdsendsignal (p=0xfffffe00212d3000, td=0x0,
>  sig=1, ksi=0xffffff8091311a70) at /usr/src/sys/kern/kern_sig.c:2045
>  #9  0xffffffff808f0b6d in killpg1 (td=0xfffffe00341278e0, sig=1,
>  pgid=Variable "pgid" is not available.
>  ) at /usr/src/sys/kern/kern_sig.c:1650
>  #10 0xffffffff808f0de4 in sys_kill (td=0xfffffe00341278e0,
>  uap=0xffffff8091311bb0) at /usr/src/sys/kern/kern_sig.c:1703
>  #11 0xffffffff80bd7ae6 in amd64_syscall (td=0xfffffe00341278e0,
>  traced=0) at subr_syscall.c:135
>  #12 0xffffffff80bc3447 in Xfast_syscall () at
>  /usr/src/sys/amd64/amd64/exception.S:387
>  #13 0x00000008015dbc2c in ?? ()
>  
>  Any particular information to grab to make this easier to track down ?
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "[email protected]"

Attachment: pgpS6Csf7Zuzn.pgp
Description: PGP signature

Reply via email to