From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 14 19:20:33 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 CC80116A403 for ; Thu, 14 Sep 2006 19:20:33 +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 46CE343D45 for ; Thu, 14 Sep 2006 19:20:33 +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 k8EJKXrk064463 for ; Thu, 14 Sep 2006 19:20:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8EJKWRV064459; Thu, 14 Sep 2006 19:20:33 GMT (envelope-from gnats) Date: Thu, 14 Sep 2006 19:20:33 GMT Message-Id: <200609141920.k8EJKWRV064459@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Devon H. O'Dell" Cc: Subject: Re: bin/100443 : awk(1) dies with SIGBUS when processing INDEX-6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Devon H. O'Dell" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 19:20:33 -0000 The following reply was made to PR bin/100443; it has been noted by GNATS. From: "Devon H. O'Dell" To: Dmitry Marakasov , bug-followup@FreeBSD.org Cc: Subject: Re: bin/100443 : awk(1) dies with SIGBUS when processing INDEX-6 Date: Thu, 14 Sep 2006 15:14:02 -0400 This is interesting. If you change RECSIZE to a value that is not 8192, it works fine. Probably an off-by-one somewhere in the code, because as it turns out, the first record is exactly RECSIZE (8192) bytes, which probably eats a terminator somewhere. I'll take a deeper look into this shortly and send a patch soon. --dho