Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2000 21:29:39 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Cc:        David Malone <dwmalone@maths.tcd.ie>, will@FreeBSD.ORG, bugs@FreeBSD.ORG, gnats-submit@FreeBSD.ORG
Subject:   Re: bin/19978: /usr/bin/make segfaults w/o Makefile for root (over NFS)
Message-ID:  <Pine.BSF.4.21.0011072125130.2869-100000@besplex.bde.org>
In-Reply-To: <Pine.BSF.4.30.0011052331360.15575-100000@deneb.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Nov 2000, Gerald Pfeifer wrote:

> On Sun, 5 Nov 2000, David Malone wrote:
> > I've reopened the PR.
> 
> Thanks!
> 
> > Can you either get a back trace of the core from make using gdb or
> > ktrace it, so we can see what it was doing when it died?

>  15545 make     CALL  stat(0x805b887,0xbfbfeb64)
>  15545 make     NAMI  "."
>  15545 make     RET   stat 0
>  15545 make     CALL  open(0x805b887,0x4,0x280f8190)
>  15545 make     NAMI  "."
>  15545 make     RET   open -1 errno 13 Permission denied
>  15545 make     PSIG  SIGSEGV SIG_DFL
>  15545 make     NAMI  "/tmp/make.core"

This output made it easy to reproduce the bug in a simpler way:

    $ cd /tmp
    $ mkdir z
    $ cd z
    $ chmod 0 /tmp/z
    $ make
    Segmentation fault

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011072125130.2869-100000>