Date: Wed, 21 Apr 1999 17:59:49 -0400 From: "David E. Cross" <crossd@cs.rpi.edu> To: "David E. Cross" <crossd@cs.rpi.edu> Cc: Matthew Dillon <dillon@apollo.backplane.com>, freebsd-hackers@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: Deadlock on -stable Message-ID: <199904212159.RAA22824@cs.rpi.edu> In-Reply-To: Message from "David E. Cross" <crossd@cs.rpi.edu> of "Wed, 21 Apr 1999 17:21:15 EDT." <199904212121.RAA22131@cs.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Oops, one last thing, here is a backtrace (complete with debugging
symbols). The last 3 calls are from the program itself, which is compiled
with bebugging support too, I just don't know the magic to let gdb
reference it. Don't let the NFS references fool you, I was able to replicate
this off of local disk. Also, is this how a system 'locks up' with the
mmap() bug (I ask since this is a really nasty program, using semaphores,
shared memory, file locking, mmap()-ed files, file locking, etc.)
#0 boot (howto=256) at ../../kern/kern_shutdown.c:285
285 dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0 boot (howto=256) at ../../kern/kern_shutdown.c:285
#1 0xf012a1f5 in panic (fmt=0xf01ea1c4 "from debugger")
at ../../kern/kern_shutdown.c:446
#2 0xf0117045 in db_panic (addr=-266548297, have_addr=0, count=-1,
modif=0xf35d3c9c "") at ../../ddb/db_command.c:432
#3 0xf0116fe5 in db_command (last_cmdp=0xf02016dc, cmd_table=0xf020153c,
aux_cmd_tablep=0xf02122f0) at ../../ddb/db_command.c:332
#4 0xf01170aa in db_command_loop () at ../../ddb/db_command.c:454
#5 0xf01193fb in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6 0xf01cc992 in kdb_trap (type=3, code=0, regs=0xf35d3d8c)
at ../../i386/i386/db_interface.c:157
#7 0xf01d5bcc in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -266600892,
tf_esi = 134, tf_ebp = -211993136, tf_isp = -211993164, tf_ebx = 0,
tf_edx = -266370364, tf_ecx = -267677952, tf_eax = 38, tf_trapno = 3,
tf_err = 0, tf_eip = -266548297, tf_cs = 8, tf_eflags = 582,
tf_esp = -266370380, tf_ss = -266381435}) at ../../i386/i386/trap.c:548
#8 0xf01ccbb7 in Debugger (msg=0xf01f5785 "manual escape to debugger")
at ../../i386/i386/db_interface.c:317
#9 0xf01c83a0 in scgetc (kbd=0xf0227674, flags=2)
at ../../dev/syscons/syscons.c:3702
#10 0xf01c3120 in sckbdevent (thiskbd=0xf0227674, event=0, arg=0x0)
at ../../dev/syscons/syscons.c:812
#11 0xf01bfd0f in atkbd_intr (kbd=0xf0227674) at ../../dev/kbd/atkbd.c:536
#12 0xf01d9ae2 in atkbd_isa_intr (unit=0) at ../../i386/isa/atkbd_isa.c:97
#13 0xf0126deb in lf_wakelock (listhead=0xf088f8c0)
at ../../kern/kern_lockf.c:721
#14 0xf0126902 in lf_clearlock (unlock=0xf0889ec0)
at ../../kern/kern_lockf.c:446
#15 0xf01264ee in lf_advlock (ap=0xf35d3f10, head=0xf35c976c, size=2048000)
at ../../kern/kern_lockf.c:167
#16 0xf019f1ce in nfs_advlock (ap=0xf35d3f10) at ../../nfs/nfs_vnops.c:2963
#17 0xf01231c2 in closef (fp=0xf0889f40, p=0xf356f020) at vnode_if.h:979
#18 0xf01228c9 in close (p=0xf356f020, uap=0xf35d3f94)
at ../../kern/kern_descrip.c:504
#19 0xf01d6407 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -272639276,
tf_esi = 4, tf_ebp = -272639528, tf_isp = -211992604,
tf_ebx = -272639256, tf_edx = 3, tf_ecx = 4, tf_eax = 6, tf_trapno = 0,
tf_err = 2, tf_eip = 671760260, tf_cs = 31, tf_eflags = 582,
tf_esp = -272639600, tf_ss = 39}) at ../../i386/i386/trap.c:1100
#20 0xf01cd2ec in Xint0x80_syscall ()
#21 0x804905b in ?? ()
#22 0x804a3e4 in ?? ()
#23 0x8048cf1 in ?? ()
--
David Cross | email: crossd@cs.rpi.edu
Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd
Rensselaer Polytechnic Institute, | Ph: 518.276.2860
Department of Computer Science | Fax: 518.276.4033
I speak only for myself. | WinNT:Linux::Linux:FreeBSD
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904212159.RAA22824>
