Date: Thu, 3 Apr 1997 16:50:04 -0800 (PST) From: Tor Egge <Tor.Egge@idi.ntnu.no> To: freebsd-bugs Subject: Re: kern/3168: Panic: lockmgr: locking against myself Message-ID: <199704040050.QAA01214@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/3168; it has been noted by GNATS. From: Tor Egge <Tor.Egge@idi.ntnu.no> To: sysseh@devetir.qld.gov.au Cc: FreeBSD-gnats-submit@freebsd.org, toor@dyson.iquest.net Subject: Re: kern/3168: Panic: lockmgr: locking against myself Date: Fri, 04 Apr 1997 02:42:38 +0200 > > >Number: 3168 > >Category: kern > >Synopsis: Machine crashes when starting X or xdm I got a similar crash (same stack trace). How-To-Repeat: rm -f bad touch bad chmod 755 bad ./bad Fix: Index: kern_exec.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_exec.c,v retrieving revision 1.53 diff -c -r1.53 kern_exec.c *** kern_exec.c 1997/03/31 11:10:55 1.53 --- kern_exec.c 1997/04/04 00:09:11 *************** *** 160,167 **** */ error = exec_check_permissions(imgp); ! if (error) goto exec_fail_dealloc; /* * Get the image header, which we define here as meaning the first --- 160,169 ---- */ error = exec_check_permissions(imgp); ! if (error) { ! VOP_UNLOCK(imgp->vp, 0, p); goto exec_fail_dealloc; + } /* * Get the image header, which we define here as meaning the first
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704040050.QAA01214>