Date: Sat, 22 Jun 2002 00:40:33 -0400 (EDT) From: "Chris A. Mattingly" <camattin@camattin.com> To: freebsd-current@FreeBSD.ORG Subject: Re: awk woes Message-ID: <20020622003918.B30436-100000@crazytrain.camattin.com> In-Reply-To: <20020621235107.E24172-100000@crazytrain.camattin.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Jun 2002, Chris A. Mattingly wrote: > On Fri, 21 Jun 2002, Mike Barcroft wrote: > > > Chris A. Mattingly <camattin@camattin.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020622003918.B30436-100000>