Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 19:15:51 +0100 (CET)
From:      Riccardo.Veraldi@fi.infn.it
To:        <Riccardo.Veraldi@fi.infn.it>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, <freebsd-alpha@FreeBSD.ORG>
Subject:   Re: PPP bug?? I think it's something urgent.
Message-ID:  <Pine.NEB.4.33.0112141913120.4076-100000@dijkstra.fi.infn.it>
In-Reply-To: <Pine.NEB.4.33.0112112051440.723-100000@dijkstra.fi.infn.it>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,
I found out I was wrong, the ppp core dump problem still exist.
Actually I had disabled "nat enable yes" in ppp.conf and I only keep ipnat
configuration and it still crashes, I'll try now to disable ipnat and to
enable the nat mechanism in ppp.conf to see what happens.

thanks

bye

Rick


On Tue, 11 Dec 2001 Riccardo.Veraldi@fi.infn.it wrote:

> Date: Tue, 11 Dec 2001 21:00:59 +0100 (CET)
> From: Riccardo.Veraldi@fi.infn.it
> To: Andrew Gallatin <gallatin@cs.duke.edu>
> Cc: Riccardo.Veraldi@fi.infn.it, freebsd-alpha@FreeBSD.ORG
> Subject: Re: PPP bug?? I think it's something urgent.
>
>
> Hi,
> I finally have something more about ppp ,it is really a bug and I can
> reproduce it.
> First of all it crashes the very first time I initialize a nat connection.
> That is if I restart ppp after it crashes it won't crash anymore until
> there are active sessions. When the active sessions list is empty if I
> open a new nat session it will crash:
> durlindana# ipnat -l
> List of active MAP/Redirect filters:
> map tun0 172.16.16.0/24  -> 80.116.y.x/32
>
> List of active sessions:
> (empty)
>
> now the active session list is empty and ppp did crash.
>
> Here is what gdb reported (gdb ./ppp -c ./ppp.core):
> (gdb) bt
> Program terminated with signal 10, Bus error.
> Reading symbols from /usr/lib/libcrypt.so.2...done.
> Reading symbols from /usr/lib/libmd.so.2...done.
> Reading symbols from /usr/lib/libutil.so.3...done.
> Reading symbols from /usr/lib/libz.so.2...done.
> Reading symbols from /usr/lib/libalias.so.4...done.
> Reading symbols from /usr/lib/libcrypto.so.2...done.
> Reading symbols from /usr/lib/libradius.so.1...done.
> Reading symbols from /usr/lib/libnetgraph.so.1...done.
> Reading symbols from /usr/lib/libc.so.4...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> #0  0x16013a714 in AliasHandleUdpNbt () from /usr/lib/libalias.so.4
> #1  0x16013af00 in AliasHandleUdpNbtNS () from /usr/lib/libalias.so.4
> warning: Hit heuristic-fence-post without finding
> warning: enclosing function for address 0x890004187450
> This warning occurs if you are debugging a function without any symbols
> (for example, in a stripped executable).  In that case, you may wish to
> increase the size of the search with the `set heuristic-fence-post'
> command.
>
> Otherwise, you told GDB there was a function where there isn't one, or
> (more likely) you have encountered a bug in GDB.
>
>
> I built PPP with symbols (-g).
> So I don;t really know what to do.... this ppp problem is really a BIG
> problem, at least for me which I ahev to restart it over and over often
> every day. I did a script which did it but the problem is that a new
> dynamic IP is assigned to me every time and this is really a mess for me.
>
> thanks
> sorry for boring you.
>
> Rick
>
>
>  On Mon, 10 Dec 2001, Andrew Gallatin wrote:
>
> > Date: Mon, 10 Dec 2001 16:14:59 -0500 (EST)
> > From: Andrew Gallatin <gallatin@cs.duke.edu>
> > Reply-To: trimyourccs@loopback.net
> > To: Riccardo.Veraldi@fi.infn.it
> > Cc: freebsd-alpha@FreeBSD.ORG
> > Subject: Re: PPP bug?? I think it's something urgent.
> >
> >
> > Riccardo.Veraldi@fi.infn.it writes:
> >  > ADSL PPP connection (PPPoE). It's not possible for me to backtrace looking
> >  > the core dump with gdb, it does not work.
> >  >
> >
> >
> > I don't suppose that you've rebuilt ppp with symbols?  (eg, added -g
> > to the CFLAGS when building ppp).
> >
> > One you've done this, please go into more detail than "[gdb] does not
> > work".  Supply an exact transcript.  Make sure you do "info registers"
> > and "info frame" in addition to "backtrace"
> >
> > Drew
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-alpha" in the body of the message
> >
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.33.0112141913120.4076-100000>