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

Bug#162132: marked as done (kernel-source-2.4.19: awk segfault on make menuconfig to compile kernel)



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; 24 Sep 2002 07:11:56 +0000
>From debian@platformglobal.com Tue Sep 24 02:11:56 2002
Return-path: <debian@platformglobal.com>
Received: from (aegean.platformglobal.com) [216.33.255.84] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17tjrQ-0005mQ-00; Tue, 24 Sep 2002 02:11:56 -0500
Received: from ddegraffT23 (adsl-64-169-88-59.dsl.snfc21.pacbell.net [64.169.88.59])
	(authenticated bits=0)
	by aegean.platformglobal.com (8.12.4/8.12.4) with ESMTP id g8O7BcOF019245;
	Tue, 24 Sep 2002 00:11:39 -0700 (PDT)
Message-ID: <003501c26399$836e8680$0500a8c0@ddegraffT23>
From: "David De Graff" <debian@platformglobal.com>
To: <submit@bugs.debian.org>
Cc: "Herbert Xu" <herbert@gondor.apana.org.au>, <srivasta@debian.org>,
   "Osamu Aoki" <debian@aokiconsulting.com>
Subject: kernel-source-2.4.19: awk segfault on make menuconfig to compile kernel
Date: Tue, 24 Sep 2002 00:10:43 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.2, required 5, AWL)
Delivered-To: submit@bugs.debian.org

Package: kernel-source-2.4.19
Version: 2.4.19-1
Severity: grave


-- System Information
Debian Release: 3.0
Kernel Version: Linux 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
unknown

Versions of the packages kernel-source-2.4.19 depends on:
ii  binutils       2.12.90.0.1-4  The GNU assembler, linker and binary
utiliti
ii  bzip2          1.0.2-1        A high-quality block-sorting file
compressor
ii  fileutils      4.1-10         GNU file management utilities

Upon executing 'make menuconfig' in /usr/src/kernel-source-2.4.19, the
process dies with the error at the bottom of the following session text:
---------------------------------------------------------
user@host:/usr/src/kernel-source-2.4.19$ make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o checklist.o checklist.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o menubox.o menubox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o textbox.o textbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o yesno.o yesno.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o inputbox.o inputbox.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o util.o util.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o lxdialog.o lxdialog.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE  -DCURSES_LO
C="<ncurses.h>" -c -o msgbox.o msgbox.c
gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o
lxdialog.o msgbox.o -lncurses
make[1]: Leaving directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/i386/config.in
Using defaults found in .config
Preparing scripts: functions, parsingscripts/Menuconfig: line 1:  1493
Segmentation fault      awk "$1"
Awk died with error code 139. Giving up.
make: *** [menuconfig] Error 1
user@host:/usr/src/kernel-source-2.4.19$
---------------------------------------------------------

I have attempted this step of the kernel compile process at least twenty
times, following advice from the Debian User mail list to:

- Unpack the source tar file as user and not root (and carefully set
permissions on the source directory. I went beyond that to set ownership of
/usr/src to user, and also added user to src group as advised. I also
executed the entire process as root, which should avoid permissions issues.
All but one attempt started with a clean unpack of the kernel source tar
file.

- Use gawk instead of mawk for awk, by installing gawk and changing the
simlink in /etc/alternatives to point to gawk. The same error persists,
whether gawk or mawk is used. This bug is not a duplicate of #81487 because
using gawk instead of mawk does not avoid the error. I even deleted mawk to
ensure that gawk was being used.

Testing also included gcc-3.2 and gcc-2.95.4, binutils 2.13.90.0.4-1, and
versions of other dependencies from testing / unstable.

These kernel compile attempts were run several times on a PIII 850 with 1GB
RAM, and several more times on a VMware virtual machine with a completely
clean install of Debian woody (stable) from a minimal CD from LordSutch.com
(with base install from main Debian archive over network). Each time the
make menuconfig dies with the same error.

The last attempt was on a VMware virtual machine on which nothing was
installed except sudo and the packages required for the kernel compilation,
including gcc-2.95.4 and those listed at
http://www.debian.org/doc/manuals/reference/ch-kernel.en.html, along with
their dependencies.


---------------------------------------
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: