From owner-freebsd-current Fri Jun 21 21:41:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from crazytrain.camattin.com (dsl-64-192-134-253.telocity.com [64.192.134.253]) by hub.freebsd.org (Postfix) with ESMTP id 0B44937B403 for ; Fri, 21 Jun 2002 21:40:45 -0700 (PDT) Received: from crazytrain.camattin.com (localhost [127.0.0.1]) by crazytrain.camattin.com (8.12.4/8.12.4) with ESMTP id g5M4edNM030444 for ; Sat, 22 Jun 2002 00:40:44 -0400 (EDT) (envelope-from camattin@camattin.com) Received: from localhost (camattin@localhost) by crazytrain.camattin.com (8.12.4/8.12.4/Submit) with ESMTP id g5M4eXAn030441 for ; Sat, 22 Jun 2002 00:40:34 -0400 (EDT) X-Authentication-Warning: crazytrain.camattin.com: camattin owned process doing -bs Date: Sat, 22 Jun 2002 00:40:33 -0400 (EDT) From: "Chris A. Mattingly" To: freebsd-current@FreeBSD.ORG Subject: Re: awk woes In-Reply-To: <20020621235107.E24172-100000@crazytrain.camattin.com> Message-ID: <20020622003918.B30436-100000@crazytrain.camattin.com> X-Message-Flag: You really should not be able to see this message. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Jun 2002, Chris A. Mattingly wrote: > On Fri, 21 Jun 2002, Mike Barcroft wrote: > > > Chris A. Mattingly writes: > > > Problem 1: > > > > > > When running php's configure, awk core dumps several times. I've yet to > > > determine exactly where the core dumps are occurring, though. Four of > > > them occur during the configure; but the configure seems to complete OK. > > > > Enable debugging symbols in awk and get a traceback. > > > Will do (after the current build finishes ... see below). As promised, here's the gdb output from awk and its core dump: Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libc.so.5...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x805163a in format (pbuf=0xbfbffa84, pbufsize=0xbfbffa88, s=0x806e240 "%c%c%c%c%c", a=0x80710a0) at /usr/src/contrib/one-true-awk/run.c:921 921 } (gdb) where #0 0x805163a in format (pbuf=0xbfbffa84, pbufsize=0xbfbffa88, s=0x806e240 "%c%c%c%c%c", a=0x80710a0) at /usr/src/contrib/one-true-awk/run.c:921 #1 0x80517a6 in awkprintf (a=0x8071190, n=320) at /usr/src/contrib/one-true-awk/run.c:921 #2 0x804f914 in execute (u=0x8071180) at /usr/src/contrib/one-true-awk/run.c:921 #3 0x804f9a6 in program (a=0x80711b0, n=258) at /usr/src/contrib/one-true-awk/run.c:921 #4 0x804f914 in execute (u=0x80711a0) at /usr/src/contrib/one-true-awk/run.c:921 #5 0x804f878 in run (a=0x80711a0) at /usr/src/contrib/one-true-awk/run.c:921 #6 0x804f25c in main (argc=1, argv=0xbfbffba4) at /usr/src/contrib/one-true-awk/main.c:154 I'm not a programmer (nor do I play one on TV), but will be willing to help out any way I can. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message