panic on yesterday's -CURRENT: linux emulation and vm (lockmgr: locking against myself)

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Thu, 25 Sep 2003 11:15:57 -0400 (EDT)
Running -CURRENT from yesterday:
FreeBSD paprika 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Wed Sep 24 19:42:45
EDT 2003     rwatson_at_paprika:/usr/obj/usr/src/sys/PAPRIKAMAC  i386

MAC, mac_mls, mac_biba, X11, KDE, vic, sdr, xchat.  When I ran aim, the
system panicked. Trace below.  Please let me know if more information
would be useful.

panic: lockmgr: locking against myself
panic messages:
---
panic: lockmgr: locking against myself

syncing disks, buffers remaining... 3850 3850 3849 3849 3849 3849 3849
3849 3849
 3849 3849 3849 3849 3849 3849 3849 3849 3849 3849 3849 3849 3849 
giving up on 3349 buffers
Uptime: 14h13m32s
Dumping 511 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320
336 3
52 368 384 400 416 432 448 464 480 496

0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc034bed8 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc034c267 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc032baad in lockmgr (lkp=0xc6fc173c, flags=2, interlkp=0x1000000, 
    td=0xc6498ab0) at /usr/src/sys/kern/kern_lock.c:439
#4  0xc04a424a in _vm_map_lock_read (map=0x0, file=0x0, line=0)
    at /usr/src/sys/vm/vm_map.c:378
#5  0xc04a7d78 in vm_map_lookup (var_map=0xdd699a30, vaddr=0, 
    fault_typea=1 '\001', out_entry=0xdd699a34, object=0x0, pindex=0x0, 
    out_prot=0x0, wired=0xdd6999f8) at /usr/src/sys/vm/vm_map.c:2888
#6  0xc049f355 in vm_fault (map=0xc6fc1700, vaddr=0, fault_type=1 '\001', 
    fault_flags=0) at /usr/src/sys/vm/vm_fault.c:219
#7  0xc04eddd9 in trap_pfault (frame=0xdd699b18, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:709
#8  0xc04eda50 in trap (frame=
      {tf_fs = -1070333928, tf_es = -1067384816, tf_ds = 16, tf_edi = 0,
tf_esi = -1068054086, tf_ebp = -580281484, tf_isp = -580281532, tf_ebx =
441, tf_edx = -968258896, tf_ecx = 0, tf_eax = -968258896, tf_trapno = 12,
tf_err = 0, tf_eip = -1070325008, tf_cs = 8, tf_eflags = 66178, tf_esp =
0, tf_ss = -1068146900})
    at /usr/src/sys/i386/i386/trap.c:418
#9  0xc04dd9e8 in calltrap () at {standard input}:102
#10 0xc04adbde in vm_page_sleep_if_busy (m=0x1b9, also_m_busy=1, msg=0x0)
    at /usr/src/sys/vm/vm_page.c:441
#11 0xc04abcfb in vm_object_split (entry=0xc6eea8ac)
    at /usr/src/sys/vm/vm_object.c:1226
#12 0xc04a702a in vm_map_copy_entry (src_map=0xc6fc1700,
dst_map=0xc6fc1e00, 
    src_entry=0xc6eea8ac, dst_entry=0xc701803c)
    at /usr/src/sys/vm/vm_map.c:2347
#13 0xc04a73ee in vmspace_fork (vm1=0xc6fc1700)
    at /usr/src/sys/vm/vm_map.c:2488
#14 0xc04a201e in vm_forkproc (td=0xc6498ab0, p2=0xc714d1e4,
td2=0xc714bab0, 
    flags=20) at /usr/src/sys/vm/vm_glue.c:624
#15 0xc032340e in fork1 (td=0xc6498ab0, flags=20, pages=0,
procp=0xdd699cc4)
    at /usr/src/sys/kern/kern_fork.c:654
#16 0xc032239b in fork (td=0xc6498ab0, uap=0xdd699d10)
    at /usr/src/sys/kern/kern_fork.c:102
#17 0xc4260fab in linux_fork (td=0xc6498ab0, args=0x0)
    at /usr/src/sys/i386/linux/linux_machdep.c:280
#18 0xc04ee503 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 671827304, tf_esi = 0,
tf_ebp = -1090520360, tf_isp = -580280972, tf_ebx = 671837948, tf_edx = 1,
tf_ecx = 1, tf_eax = 2, tf_trapno = 12, tf_err = 2, tf_eip = 675477303,
tf_cs = 31, tf_eflags = 582, tf_esp = -1090520388, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1006
#19 0xc04dda3d in Xint0x80_syscall () at {standard input}:144




Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Network Associates Laboratories
Received on Thu Sep 25 2003 - 06:16:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC