From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 25 13:10:43 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 F3B5716A4EF for ; Wed, 25 Oct 2006 13:10:42 +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 42D9043E1A for ; Wed, 25 Oct 2006 13:10:23 +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 k9PDANc0030176 for ; Wed, 25 Oct 2006 13:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9PDANhK030175; Wed, 25 Oct 2006 13:10:23 GMT (envelope-from gnats) Resent-Date: Wed, 25 Oct 2006 13:10:23 GMT Resent-Message-Id: <200610251310.k9PDANhK030175@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Fromme Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E493016A4EB for ; Wed, 25 Oct 2006 13:02:46 +0000 (UTC) (envelope-from olli@secnetix.de) Received: from pluto.secnetix.de (pluto.secnetix.de [88.198.44.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6024543EBA for ; Wed, 25 Oct 2006 13:00:47 +0000 (GMT) (envelope-from olli@secnetix.de) Received: from pluto.secnetix.de (localhost.secnetix.de [127.0.0.1]) by pluto.secnetix.de (8.13.8/8.13.8) with ESMTP id k9PD0RGu073638; Wed, 25 Oct 2006 15:00:34 +0200 (CEST) (envelope-from olli@pluto.secnetix.de) Received: (from olli@localhost) by pluto.secnetix.de (8.13.8/8.13.8/Submit) id k9PD0QBN073637; Wed, 25 Oct 2006 15:00:26 +0200 (CEST) (envelope-from olli) Message-Id: <200610251300.k9PD0QBN073637@pluto.secnetix.de> Date: Wed, 25 Oct 2006 15:00:26 +0200 (CEST) From: Oliver Fromme To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Oliver Fromme Subject: bin/104795: Bug in awk (core dump, easy to reproduce) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 13:10:43 -0000 >Number: 104795 >Category: bin >Synopsis: Bug in awk (core dump, easy to reproduce) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 25 13:10:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Oliver Fromme >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: secnetix GmbH & Co. KG http://www.secnetix.de/bsd >Environment: Bug found on FreeBSD/i386 RELENG_6 (6.2-PRERELEASE). >Description: Our awk (bsd awk) seems to coredump when a function locally assigns a string to a parameter that was initialized by the function call to a non-zero numeric value. >How-To-Repeat: This is the smallest snippet that reproduces the problem described above: # awk 'function f(x) {x=""} BEGIN {f(1)}' awk in free(): error: junk pointer, too low to make sense Abort trap (core dumped) >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: