Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 1999 15:55:51 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Jonathan Hanna <pangolin@home.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: lockmgr panic with mmap()
Message-ID:  <Pine.BSF.4.05.9902271555290.25300-100000@janus.syracuse.net>
In-Reply-To: <19990227195928.SCCF11952.mail.rdc1.bc.wave.home.com@cr1003333-a.crdva1.bc.wave.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Feb 1999, Jonathan Hanna wrote:

> 
> The attached program sometimes causes a lockmgr panic. I do not think is always
> did. I am running 4.0-CURRENT form Feb 19.
> 
> The trace is:
>         panic lockmgr: locking against self
>         lockmgr
>         mv_map_growstack
>         grow_stack
>         trap_pfault
>         trap
>         calltrap
>         subyte
>         syscall
>         ...
>         
> A command on a running image such as this usually does it, though I do not know what
> conditions are neccessary:
> 
>         fincore /usr/local/netscape-4.5/communicator-4.5.bin
> 
> Jonathan Hanna <pangolin@home.com>
> 
> 

GDB is free software and you are welcome to 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.
GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 2875392
initial pcb at 23ef40
panicstr: lockmgr: locking against myself
panic messages:
---
panic: lockmgr: locking against myself

syncing disks... 10 10 6 done

dumping to dev 20001, offset 73728
dump 63 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  boot (howto=256) at ../../kern/kern_shutdown.c:287
287			dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:287
#1  0xf0137821 in panic (fmt=0xf0206116 "lockmgr: locking against myself")
    at ../../kern/kern_shutdown.c:448
#2  0xf0133738 in lockmgr (lkp=0xf5f5f280, flags=2, interlkp=0x0, p=0xf5f688e0)
    at ../../kern/kern_lock.c:320
#3  0xf01a5b25 in vm_map_growstack (p=0xf5f688e0, addr=134524928)
    at ../../vm/vm_map.c:666
#4  0xf01dc52a in grow_stack (p=0xf5f688e0, sp=134524928)
    at ../../i386/i386/vm_machdep.c:571
#5  0xf01d836f in trap_pfault (frame=0xf5f70ec8, usermode=0, eva=134524928)
    at ../../i386/i386/trap.c:808
#6  0xf01d806e in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, 
      tf_esi = 0, tf_ebp = -168358064, tf_isp = -168358160, 
      tf_ebx = 672337920, tf_edx = 134524928, tf_ecx = -168366080, tf_eax = 1, 
      tf_trapno = 12, tf_err = 2, tf_eip = -266506240, tf_cs = 8, 
      tf_eflags = 66067, tf_esp = -266694180, tf_ss = 134524928})
    at ../../i386/i386/trap.c:437
#7  0xf01d7000 in suibyte ()
#8  0xf01d899f in syscall (frame={tf_es = 47, tf_ds = 47, tf_edi = 321312, 
      tf_esi = 134524928, tf_ebp = -272640092, tf_isp = -168357932, 
      tf_ebx = -272640036, tf_edx = 7, tf_ecx = 7, tf_eax = 78, 
      tf_trapno = 12, tf_err = 2, tf_eip = 671697364, tf_cs = 31, 
      tf_eflags = 582, tf_esp = -272640248, tf_ss = 47})
    at ../../i386/i386/trap.c:1100
#9  0xf01cb69c in Xint0x80_syscall ()
#10 0x80485d1 in ?? ()
(kgdb) frame 8
#8  0xf01d899f in syscall (frame={tf_es = 47, tf_ds = 47, tf_edi = 321312, 
      tf_esi = 134524928, tf_ebp = -272640092, tf_isp = -168357932, 
      tf_ebx = -272640036, tf_edx = 7, tf_ecx = 7, tf_eax = 78, 
      tf_trapno = 12, tf_err = 2, tf_eip = 671697364, tf_cs = 31, 
      tf_eflags = 582, tf_esp = -272640248, tf_ss = 47})
    at ../../i386/i386/trap.c:1100
1100		error = (*callp->sy_call)(p, args);
(kgdb) print callp
$1 = (struct sysent *) 0x0
(kgdb) quit


 Brian Feldman					  _ __  ___ ___ ___  
 green@unixhelp.org			      _ __ ___ | _ ) __|   \ 
	     http://www.freebsd.org/	 _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!	   _ __ ___ ____ _____ |___/___/___/ 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902271555290.25300-100000>