From owner-freebsd-bugs Thu Feb 10 0:20:28 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 7D65742E3 for ; Thu, 10 Feb 2000 00:20:25 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA40652; Thu, 10 Feb 2000 00:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 10 Feb 2000 00:20:04 -0800 (PST) Message-Id: <200002100820.AAA40652@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dmitry Kim Subject: Re: kern/16573: extensive fork()+mmap() causes 4.0 kernel to panic() Reply-To: Dmitry Kim Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/16573; it has been noted by GNATS. From: Dmitry Kim To: freebsd-gnats-submit@FreeBSD.org, jason@express.ru Cc: Subject: Re: kern/16573: extensive fork()+mmap() causes 4.0 kernel to panic() Date: Tue, 08 Feb 2000 01:32:30 +0300 it just hit me that the following appendix to the previous message may be of interest to someone :) IdlePTD 3534848 initial pcb at 2d8f40 panicstr: (fmt null) panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor write, page not present instruction pointer = 0x8:0xc021be97 stack pointer = 0x10:0xc9605e28 frame pointer = 0x10:0xc9605e44 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 206 (y) interrupt mask = none panic: (fmt null) panic: (fmt null) Uptime: 32s dumping to dev #wd/0x20001, offset 131200 dump 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:304 304 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=260) at ../../kern/kern_shutdown.c:304 #1 0xc014f6a1 in panic (fmt=0x0) at ../../kern/kern_shutdown.c:554 #2 0xc0128211 in db_fncall (dummy1=0, dummy2=0, dummy3=0, dummy4=0xc9605c94 "\236I\025ĀŅI\025Ā") at ../../ddb/db_command.c:532 #3 0xc012803d in db_command (last_cmdp=0xc02aa95c, cmd_table=0xc02aa7bc, aux_cmd_tablep=0xc02d54f0) at ../../ddb/db_command.c:333 #4 0xc0128102 in db_command_loop () at ../../ddb/db_command.c:455 #5 0xc012a18b in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xc024bf15 in kdb_trap (type=12, code=0, regs=0xc9605de8) at ../../i386/i386/db_interface.c:158 #7 0xc02586b0 in trap_fatal (frame=0xc9605de8, eva=8) at ../../i386/i386/trap.c:901 #8 0xc0258389 in trap_pfault (frame=0xc9605de8, usermode=0, eva=8) at ../../i386/i386/trap.c:799 #9 0xc0257f2f in trap (frame={tf_fs = -1069088752, tf_es = -1071513584, tf_ds = 16, tf_edi = -1070730488, tf_esi = 0, tf_ebp = -916431292, tf_isp = -916431340, tf_ebx = -1070737056, tf_edx = 0, tf_ecx = -891138048, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1071530345, tf_cs = 8, tf_eflags = 66118, tf_esp = -1070730488, tf_ss = -1070730488}) at ../../i386/i386/trap.c:423 #10 0xc021be97 in vm_map_insert (map=0xc02df308, object=0x0, offset=0, start=3403829248, end=3403837440, prot=7 '\a', max=7 '\a', cow=4) at ../../vm/vm_map.c:521 #11 0xc021c0c8 in vm_map_find (map=0xc02df308, object=0x0, offset=0, addr=0xc9605eb4, length=8192, find_space=1, prot=7 '\a', max=7 '\a', cow=4) at ../../vm/vm_map.c:655 #12 0xc021b28f in kmem_alloc_nofault (map=0xc02df308, size=8192) at ../../vm/vm_kern.c:135 #13 0xc0254576 in pmap_new_proc (p=0xcae08200) at ../../i386/i386/pmap.c:891 #14 0xc021ae18 in vm_fork (p1=0xc9104480, p2=0xcae08200, flags=20) at ../../vm/vm_glue.c:245 #15 0xc0149813 in fork1 (p1=0xc9104480, flags=20, procp=0xc9605f38) at ../../kern/kern_fork.c:485 #16 0xc0148fd2 in fork (p=0xc9104480, uap=0xc9605f80) at ../../kern/kern_fork.c:100 #17 0xc0258922 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937248, tf_esi = -1077937256, tf_ebp = -1077939436, tf_isp = -916430892, tf_ebx = 1, tf_edx = 10, tf_ecx = -1077940340, tf_eax = 2, tf_trapno = 12, tf_err = 2, tf_eip = 671610772, tf_cs = 31, tf_eflags = 662, tf_esp = -1077939560, tf_ss = 47}) at ../../i386/i386/trap.c:1055 #18 0xc024c816 in Xint0x80_syscall () #19 0x8048797 in ?? () #20 0x8048575 in ?? () (kgdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message