From owner-freebsd-bugs Thu Apr 6 7:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4838C37BFE5 for ; Thu, 6 Apr 2000 07:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA41115; Thu, 6 Apr 2000 07:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 6 Apr 2000 07:10:02 -0700 (PDT) Message-Id: <200004061410.HAA41115@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Daniel Hagan Subject: Re: bin/3170: vi freaks and dump core if user doesn't exist Reply-To: Daniel Hagan Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/3170; it has been noted by GNATS. From: Daniel Hagan To: Anatoly Vorobey Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/3170: vi freaks and dump core if user doesn't exist Date: Thu, 6 Apr 2000 10:00:41 -0400 (EDT) On Thu, 6 Apr 2000, Anatoly Vorobey wrote: > FWIW, I succeeded in recreating this in -CURRENT a few weeks ago, but > only once. I created a user, logged in as the user, created some files, > logged in as root at the same time, removed the user, switched back > to the user shell, tried to edit the files with vi. After I danced > around a file and a bunch of lines, it freaked as described in the PR, > but I couldn't reproduce it later. Apparently the bug is still there but > triggered pretty randomly. No NIS whatsoever in my setup. I didn't try this exact sequence. I tried: 1) Add bogus user 2) login as bogus 3) create file owned by bogus 4) logout 5) remove bogus from passwd files 6) edit file as root I'll try your procedure sometime, which I understand was: 1) Add bogus user 2) login as bogus 3) create file owned by bogus 4) remove bogus from passwd files while bogus is still logged in 5) edit file as bogus (who is still logged in) 6) hopefully get core dump and recreate problem Daniel -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message