Bug #2248

sysctl panic

Added by pavalos about 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Had the following panic today:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 2; lapic->id = 04000000
instruction pointer = 0x8:0xffffffff8042c4cf
stack pointer = 0x10:0xffffffe1383e3900
frame pointer = 0x10:0xffffffe1383e3918
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 19205
current thread = pri 6
trap number = 9
panic: general protection fault
cpuid = 2
Trace beginning at frame 0xffffffe1383e36f8
panic() at panic+0x1fb
panic() at panic+0x1fb
trap_fatal() at trap_fatal+0x3d5
trap() at trap+0x609
calltrap() at calltrap+0x8
--- trap 0000000000000009, rip = ffffffff8042c4cf, rsp = ffffffe1383e3900, rbp = ffffffe1383e3918 ---
strlen() at strlen+0x7
sysctl_sysctl_name() at sysctl_sysctl_name+0x109
sysctl_root() at sysctl_root+0x108
userland_sysctl() at userland_sysctl+0x167
sys___sysctl() at sys___sysctl+0x7d
syscall2() at syscall2+0x370
Xfast_syscall() at Xfast_syscall+0xcb
(null)() at 0x10000000001

Fatal trap 12: page fault while in kernel mode
cpuid = 2; lapic->id = 04000000
fault virtual address = 0x100000008
fault code = supervisor read data, page not present
instruction pointer = 0x8:0xffffffff80455ea9
stack pointer = 0x10:0xffffffe1383e3590
frame pointer = 0x10:0xffffffe1383e35a8
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 0, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 19205
current thread = pri 6
trap number = 12
panic: page fault
cpuid = 2
boot() called on cpu#2
Uptime: 8h55m10s
Physical memory: 8156 MB
Dumping 2562 MB:SECONDARY PANIC ON CPU 1 THREAD 0xffffffe06131c370

(kgdb) bt
#0 _get_mycpu () at ./machine/thread.h:69
#1 md_dumpsys (di=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:263
#2 0xffffffff802bae75 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:925
#3 0xffffffff802bb4db in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:387
#4 0xffffffff802bb792 in panic (fmt=0xffffffff804a1aeb "%s") at /usr/src/sys/kern/kern_shutdown.c:831
#5 0xffffffff8045b5e4 in trap_fatal (frame=0xffffffe1383e34d8, eva=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:1034
#6 0xffffffff8045b7f4 in trap_pfault (frame=0xffffffe1383e34d8, usermode=0) at /usr/src/sys/platform/pc64/x86_64/trap.c:928
#7 0xffffffff8045bda0 in trap (frame=0xffffffe1383e34d8) at /usr/src/sys/platform/pc64/x86_64/trap.c:630
#8 0xffffffff804545ae in calltrap () at /usr/src/sys/platform/pc64/x86_64/exception.S:187
#9 0xffffffff80455ea9 in db_read_bytes (addr=4294967304, size=8, data=0xffffffe1383e35b8 "") at /usr/src/sys/platform/pc64/x86_64/db_interface.c:244
#10 0xffffffff8025caf5 in db_get_value (addr=4294967304, size=8, is_signed=0) at /usr/src/sys/ddb/db_access.c:58
#11 0xffffffff80456b30 in db_nextframe (ip=<optimized out>, fp=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/db_trace.c:233
#12 db_stack_trace_cmd (addr=<optimized out>, have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
at /usr/src/sys/platform/pc64/x86_64/db_trace.c:439
#13 0xffffffff80456cf1 in print_backtrace (count=943601080) at /usr/src/sys/platform/pc64/x86_64/db_trace.c:451
#14 0xffffffff802bb75d in panic (fmt=0xffffffff804a1aeb "%s") at /usr/src/sys/kern/kern_shutdown.c:820
#15 0xffffffff8045b5e4 in trap_fatal (frame=0xffffffe1383e3848, eva=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:1034
#16 0xffffffff8045bede in trap (frame=0xffffffe1383e3848) at /usr/src/sys/platform/pc64/x86_64/trap.c:767
#17 0xffffffff804545ae in calltrap () at /usr/src/sys/platform/pc64/x86_64/exception.S:187
#18 0xffffffff8042c4cf in strlen (str=0x736e6967756c70 <Address 0x736e6967756c70 out of bounds>) at /usr/src/sys/libkern/strlen.c:44
#19 0xffffffff802d4b89 in sysctl_sysctl_name (oidp=<optimized out>, arg1=0xffffffe1383e3af0, arg2=<optimized out>, req=0xffffffe1383e39d8)
at /usr/src/sys/kern/kern_sysctl.c:586
#20 0xffffffff802d50cf in sysctl_root (oidp=<optimized out>, arg1=0xffffffe1383e3ad8, arg2=7, req=0xffffffe1383e39d8) at /usr/src/sys/kern/kern_sysctl.c:1199
#21 0xffffffff802d5264 in userland_sysctl (name=0xffffffe1383e3ad8, namelen=7, old=<optimized out>, oldlenp=0x0, inkernel=<optimized out>, new=0x0, newlen=0,
retval=0xffffffe1383e3ad0) at /usr/src/sys/kern/kern_sysctl.c:1284
#22 0xffffffff802d55d9 in sys___sysctl (uap=0xffffffe1383e3b58) at /usr/src/sys/kern/kern_sysctl.c:1224
#23 0xffffffff8045c581 in syscall2 (frame=0xffffffe1383e3c08) at /usr/src/sys/platform/pc64/x86_64/trap.c:1247
#24 0xffffffff804547fb in Xfast_syscall () at /usr/src/sys/platform/pc64/x86_64/exception.S:321
#25 0x000000000000002b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Files are on leaf:~pavalos/crash/*.40

--Peter

noname (199 Bytes) pavalos, 11/23/2011 06:23 PM

Also available in: Atom PDF