From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 27 20:50:22 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F035C16A403 for ; Fri, 27 Oct 2006 20:50:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A488C43D6E for ; Fri, 27 Oct 2006 20:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9RKoM5K046248 for ; Fri, 27 Oct 2006 20:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9RKoMqX046244; Fri, 27 Oct 2006 20:50:22 GMT (envelope-from gnats) Date: Fri, 27 Oct 2006 20:50:22 GMT Message-Id: <200610272050.k9RKoMqX046244@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: bin/104845: Build error on contrib/file/magic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 20:50:23 -0000 The following reply was made to PR bin/104845; it has been noted by GNATS. From: Kris Kennaway To: Ryoji Kanai Cc: Kris Kennaway , freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/104845: Build error on contrib/file/magic Date: Fri, 27 Oct 2006 16:42:58 -0400 On Fri, Oct 27, 2006 at 12:58:45PM -0700, Ryoji Kanai wrote: > > At Fri, 27 Oct 2006 00:38:42 -0400, > Kris Kennaway wrote: > > > > That's it. You should get a Segmentation fault. Is this only me? > > > > Maybe. There was a segfault fix to this file 4 months ago, can you > > please confirm that you have it? > > My fix is another problem. The problem exists even in the latest code. > > > > >Fix: > > > I GDBed the magic program and found this. I'm not sure this is the right way to fix it. > > > > You could also check with the authors. > > I talked with Christos Zoulas (maintainer). He said this was a bug > and he fixed it. I hope new version will be released soon. Anyway, you > can close this pr and set a "should update contrib/file to the next > version" flag. Interesting, I wonder why others aren't seeing it. Do you have nonstandard MALLOC_OPTIONS (or /etc/malloc.conf)? If Christos has imported the fix, we can also do a vendor import of just your patch into FreeBSD since it won't cause a divergence from vendor code. Kris