Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Feb 2003 17:46:36 -0400 (AST)
From:      "Marc G.Fournier" <scrappy@hub.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/48100: Fatal panic in vm_map_lookup_entry ...
Message-ID:  <20030208214636.E452E8A2443@hub.org>

next in thread | raw e-mail | index | archive | help

>Number:         48100
>Category:       kern
>Synopsis:       Fatal panic in vm_map_lookup_entry ...
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 13:50:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marc G. Fournier
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Hub.Org Networking Services (http://www.hub.org)
>Environment:
System: FreeBSD jupiter.hub.org 4.7-STABLE FreeBSD 4.7-STABLE #24: Thu Feb  6 13:48:43 CST 2003     root@jupiter.hub.org:/usr/obj/usr/src/sys/kernel  i386

	
>Description:

Script started on Sat Feb  8 15:39:58 2003
venus# gdb -kkern kernel.debug vmcore.jupiter.2
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

SMP 2 cpus
IdlePTD at phsyical address 0x002bb000
initial pcb at physical address 0x00236ee0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
fault virtual address	= 0xc
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc01b1aef
stack pointer	        = 0x10:0xfb300dbc
frame pointer	        = 0x10:0xfb300dc4
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		= 40089 (cron)
interrupt mask		= none <- SMP: XXX
trap number		= 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
boot() called on cpu#0

-----------------------------------
netdump in progress. searching for server.. dumping to 64.49.215.4
-----------------------------------
memsize = 4227858432
---
#0  0xc9595256 in ?? ()
(kgdb) where
#0  0xc9595256 in ?? ()
#1  0xc013fb78 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:223
#2  0xc014029d in panic (fmt=0xc02136d9 "%s") at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc01e6e9d in trap_fatal (frame=0xfb300d7c, eva=12)
    at /usr/src/sys/i386/i386/trap.c:974
#4  0xc01e6b09 in trap_pfault (frame=0xfb300d7c, usermode=0, eva=12)
    at /usr/src/sys/i386/i386/trap.c:867
#5  0xc01e6663 in trap (frame={tf_fs = -80740328, tf_es = -1071972336, 
      tf_ds = -1071448048, tf_edi = -191590400, tf_esi = -80736776, 
      tf_ebp = -80736828, tf_isp = -80736856, tf_ebx = -1071398996, 
      tf_edx = -454725664, tf_ecx = -191590400, tf_eax = 0, tf_trapno = 12, 
      tf_err = 0, tf_eip = -1071965457, tf_cs = 8, tf_eflags = 66051, 
      tf_esp = -191590400, tf_ss = -191574016}) at /usr/src/sys/i386/i386/trap.c:466
#6  0xc01b1aef in vm_map_lookup_entry (map=0xc023bfac, address=4103376896, 
    entry=0xfb300df8) at /usr/src/sys/vm/vm_map.c:476
#7  0xc01b33b2 in vm_map_delete (map=0xc023bfac, start=4103376896, end=4103393280)
    at /usr/src/sys/vm/vm_map.c:2080
#8  0xc01b35ca in vm_map_remove (map=0xc023bfac, start=4103376896, end=4103393280)
    at /usr/src/sys/vm/vm_map.c:2198
#9  0xc01b1161 in kmem_free (map=0xc023bfac, addr=4103376896, size=16384)
    at /usr/src/sys/vm/vm_kern.c:233
#10 0xc01513a8 in pipe_free_kmem (cpipe=0xf5042540)
    at /usr/src/sys/kern/sys_pipe.c:1166
#11 0xc015151e in pipeclose (cpipe=0xf5042540) at /usr/src/sys/kern/sys_pipe.c:1222
#12 0xc015136d in pipe_close (fp=0xcd277700, p=0xfb276080)
    at /usr/src/sys/kern/sys_pipe.c:1153
#13 0xc0135887 in fdrop (fp=0xcd277700, p=0xfb276080) at /usr/src/sys/sys/file.h:218
#14 0xc01357cf in closef (fp=0xcd277700, p=0xfb276080)
    at /usr/src/sys/kern/kern_descrip.c:1279
#15 0xc0134bd1 in close (p=0xfb276080, uap=0xfb300f80)
    at /usr/src/sys/kern/kern_descrip.c:581
#16 0xc01e71d9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, 
      tf_esi = 672184960, tf_ebp = -1077938468, tf_isp = -80736300, 
      tf_ebx = 672109804, tf_edx = 0, tf_ecx = 0, tf_eax = 6, tf_trapno = 7, 
      tf_err = 2, tf_eip = 672063020, tf_cs = 31, tf_eflags = 647, 
      tf_esp = -1077938512, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#17 0xc01d451b in Xint0x80_syscall ()
#18 0x280dbf27 in ?? ()
#19 0x804b0ff in ?? ()
#20 0x804a76c in ?? ()
#21 0x804b2a2 in ?? ()
#22 0x8049fd5 in ?? ()
#23 0x8049b04 in ?? ()
#24 0x80498c9 in ?? ()
(kgdb) up 5
#5  0xc01e6663 in trap (frame={tf_fs = -80740328, tf_es = -1071972336, 
      tf_ds = -1071448048, tf_edi = -191590400, tf_esi = -80736776, 
      tf_ebp = -80736828, tf_isp = -80736856, tf_ebx = -1071398996, 
      tf_edx = -454725664, tf_ecx = -191590400, tf_eax = 0, tf_trapno = 12, 
      tf_err = 0, tf_eip = -1071965457, tf_cs = 8, tf_eflags = 66051, 
      tf_esp = -191590400, tf_ss = -191574016}) at /usr/src/sys/i386/i386/trap.c:466
466				(void) trap_pfault(&frame, FALSE, eva);
(kgdb) frame frame->tf_ebp frame->tf_eip
#0  vm_map_lookup_entry (map=0xc023bfac, address=4103376896, entry=0xfb300df8)
    at /usr/src/sys/vm/vm_map.c:462
462			if (cur->end > address) {
(kgdb) list
457		/*
458		 * Search linearly
459		 */
460	
461		while (cur != last) {
462			if (cur->end > address) {
463				if (address >= cur->start) {
464					/*
465					 * Save this lookup for future hints, and
466					 * return
(kgdb) print cur-end   >end
Cannot access memory at address 0xc.
(kgdb) print address
$1 = 0
(kgdb) print cur
$2 = 0x0
(kgdb) quit
venus# exit
exit

Script done on Sat Feb  8 15:41:29 2003
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208214636.E452E8A2443>