On Sat, 22 Jun 2002, Chris A. Mattingly wrote:

> On Fri, 21 Jun 2002, Mike Barcroft wrote:
>
> > Chris A. Mattingly <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to