[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#147469: marked as done (menuconfig: crash due to infinite recursion (gawk))



Your message dated Mon, 10 Jan 2005 18:12:07 +0100
with message-id <20050110171207.GI2542@stro.at>
and subject line menuconfig: crash due to infinite recursion (gawk)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 May 2002 20:28:22 +0000
>From cesarb@nitnet.com.br Sun May 19 15:28:22 2002
Return-path: <cesarb@nitnet.com.br>
Received: from fonseca.nitnet.com.br [200.255.111.234] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 179XHw-0003X9-00; Sun, 19 May 2002 15:28:20 -0500
Received: from flower.cesarb (salzburg.nitnet.com.br [200.255.210.30])
	by fonseca.nitnet.com.br (Postfix) with ESMTP
	id 827DE2FD3E; Sun, 19 May 2002 15:38:14 -0300 (EST)
Received: from cesarb by flower.cesarb with local (Exim 3.35 #1 (Debian))
	id 179RHv-0001MQ-00; Sun, 19 May 2002 11:03:55 -0300
From: Cesar Eduardo Barros <cesarb@nitnet.com.br>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gawk: crash due to infinite recursion
X-Mailer: reportbug 1.50
Date: Sun, 19 May 2002 11:03:55 -0300
Message-Id: <E179RHv-0001MQ-00@flower.cesarb>
Sender: Cesar Eduardo Barros <cesarb@flower.cesarb>
Delivered-To: submit@bugs.debian.org

Package: gawk
Version: 1:3.1.0-3
Severity: normal

This bug happens in mawk and gawk; I'm reporting this bug in both.

This happens when trying 'make menuconfig' on a bitkeeper linux-2.5
tree, after doing the 'get' by hand only on the files needed to build
lxdialog, scripts/Menuconfig, and arch/i386/config.in.

Using gdb on the core dump shows an extremly deep stack trace (over 1000
function calls). Both die with SIGSEGV.

I've reduced the testcase to the relevant lines. It still crashes the
same way.

-----   runme    -----
=====> cut here <=====
#! /bin/bash

# This is what happens when you try to run make menuconfig without doing
# a bk -r get first

# This comes from scripts/Menuconfig on linux-2.5

: ${AWK:=awk}

$AWK '
BEGIN {
	parser("arch/i386/config.in","MCmenu0")
}

function parser(ifile,menu) {

	while (getline <ifile) {
		if ($1 == "source") {
			parser($2,menu)
		}
	}
}'
=====> cut here <=====

-----  arch/i386/config.in  -----
=====>      cut here       <=====
source init/Config.in
=====>      cut here       <=====


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux flower 2.4.19-pre7-rmap13 #1 Fri May 10 21:26:08 BRT 2002 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1

Versions of packages gawk depends on:
ii  debianutils                   1.16       Miscellaneous utilities specific t
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an


---------------------------------------
Received: (at 147469-done) by bugs.debian.org; 10 Jan 2005 17:12:08 +0000
>From max@stro.at Mon Jan 10 09:12:08 2005
Return-path: <max@stro.at>
Received: from baikonur.stro.at [213.239.196.228] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Co35L-00061v-00; Mon, 10 Jan 2005 09:12:08 -0800
Received: from sputnik (sputnik.itp.tuwien.ac.at [128.131.48.177])
	by baikonur.stro.at (Postfix) with ESMTP id 130425C001
	for <147469-done@bugs.debian.org>; Mon, 10 Jan 2005 18:12:02 +0100 (CET)
Received: from max by sputnik with local (Exim 4.34)
	id 1Co35L-0007tx-Bz
	for 147469-done@bugs.debian.org; Mon, 10 Jan 2005 18:12:07 +0100
Date: Mon, 10 Jan 2005 18:12:07 +0100
From: maximilian attems <debian@sternwelten.at>
To: 147469-done@bugs.debian.org
Subject: Re: menuconfig: crash due to infinite recursion (gawk)
Message-ID: <20050110171207.GI2542@stro.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Sender: maximilian attems <max@stro.at>
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 147469-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

bug is fixed in upstream in 2.4 and in debian since 2.4.27-6.
2.6 is not affected.
thanks for your report.
maks



Reply to: