Date: Sun, 25 Nov 2018 18:34:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233511] [panic] Fatal trap 12: page fault while in kernel mode (kern_ptrace, sys_process.c:1148) Message-ID: <bug-233511-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233511 Bug ID: 233511 Summary: [panic] Fatal trap 12: page fault while in kernel mode (kern_ptrace, sys_process.c:1148) Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: nicholas.h.briggs@gmail.com using "truss", tracing a process that might have been stopped Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x1d0 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc0becb50 stack pointer =3D 0x28:0xd6563a68 frame pointer =3D 0x28:0xd6563b1c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 80728 (truss) trap number =3D 12 panic: page fault cpuid =3D 0 KDB: stack backtrace: #0 0xc0bcd3be at kdb_backtrace+0x4e #1 0xc0b8ca08 at vpanic+0x108 #2 0xc0b8c8f4 at panic+0x14 #3 0xc109fc3e at trap_fatal+0x32e #4 0xc109fc83 at trap_pfault+0x33 #5 0xc109f3e2 at trap+0x332 #6 0xc108d6c7 at calltrap+0x6 #7 0xc0bebae0 at sys_ptrace+0xd0 #8 0xc10a0a69 at syscall+0xa29 #9 0xc108d77b at Xint0x80_syscall+0x2b (kgdb) #0 0xc0b8c8a5 in doadump (textdump=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:314 #1 0xc0b8c6f3 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:383 #2 0xc0b8ca3c in vpanic (fmt=3D0xc11c0d6e "%s", ap=3D0xd656390c "<C6><E9>f= <C1>") at /usr/src/sys/kern/kern_shutdown.c:776 #3 0xc0b8c8f4 in panic (fmt=3D0xc11c0d6e "%s") at /usr/src/sys/kern/kern_shutdown.c:707 #4 0xc109fc3e in trap_fatal (frame=3D<value optimized out>,=20 eva=3D<value optimized out>) at /usr/src/sys/i386/i386/trap.c:992 #5 0xc109fc83 in trap_pfault (frame=3D<value optimized out>, usermode=3D0,= =20 eva=3D464) at pcpu.h:226 #6 0xc109f3e2 in trap (frame=3D0xd6563a28) at /usr/src/sys/i386/i386/trap.= c:508 #7 0xc108d6c7 in calltrap () at /usr/src/sys/i386/i386/exception.s:172 #8 0xc0becb50 in kern_ptrace (td=3D0xc4907800, req=3D10, pid=3D80660, addr= =3D0x0,=20 data=3D-1052223757) at /usr/src/sys/kern/sys_process.c:1146 #9 0xc0bebae0 in sys_ptrace (td=3D0xc4907800, uap=3D0xc4907b68) at /usr/src/sys/kern/sys_process.c:627 #10 0xc10a0a69 in syscall (frame=3D0xd6563ce8) at subr_syscall.c:132 #11 0xc108d77b in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:286 (kgdb) list *0xc0becb50 0xc0becb50 is in kern_ptrace (/usr/src/sys/kern/sys_process.c:1148). 1143 } 1144 p->p_xsig =3D data; 1145 p->p_xthread =3D NULL; 1146 if ((p->p_flag & (P_STOPPED_SIG | P_STOPPED_TRACE))= !=3D 0) { 1147 /* deliver or queue signal */ 1148 td2->td_dbgflags &=3D ~TDB_XSIG; 1149 td2->td_xsig =3D data; 1150=20=20=20=20 1151 /* 1152 * P_WKILLED is insurance that a PT_KILL/SIGKILL always at this point, td2 is 0x0. "p" is unavailable, "<value optimized out>" I will keep the core file in case there's anything else that would be usefu= l. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233511-227>