From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 15 08:51:30 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1EB637B401 for ; Sun, 15 Jun 2003 08:51:30 -0700 (PDT) Received: from HAL9000.homeunix.com (ip114.bella-vista.sfo.interquest.net [66.199.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6BA143F93 for ; Sun, 15 Jun 2003 08:51:29 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.9) with ESMTP id h5FFp0q7001489; Sun, 15 Jun 2003 08:51:01 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.9/Submit) id h5FFow3Z001488; Sun, 15 Jun 2003 08:50:58 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sun, 15 Jun 2003 08:50:58 -0700 From: David Schultz To: Tom Alsberg , FreeBSD Hackers List Message-ID: <20030615155058.GA1405@HAL9000.homeunix.com> Mail-Followup-To: Tom Alsberg , FreeBSD Hackers List References: <20030615112920.GA39687@cs.huji.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030615112920.GA39687@cs.huji.ac.il> Subject: Re: (bug?) panic in union filesystem - file/. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 15:51:31 -0000 On Sun, Jun 15, 2003, Tom Alsberg wrote: > I recently stumbled upon a crash in the union filesystem. It seems > that when trying to stat "/." where file is a regular > (non-directory) file in a union mounted filesystem, the system will > panic. > > I first noticed this as an effect of zsh (Z shell)'s tab completion, > which after I checked, tries to lstat "/." if there are no other > completions and the file exists, to see if it is a directory with > other files in it which it should try to complete (I do not know why > they chose to do it this way). > > It seems like a bug in the union filesystem to me. I can reproduce it > on both 4.8-STABLE and 5.1-CURRENT. This problem is on my TODO list, but it may take me a while before I have a chance to look at it. It would help me to keep track of it if you could file what you just said (verbatim, even) as a followup to kern/53004, though. Thanks for investigating the issue!