From owner-freebsd-alpha Fri Dec 14 10:49:25 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from postino.fi.infn.it (postino.fi.infn.it [192.84.145.9]) by hub.freebsd.org (Postfix) with ESMTP id 3810637B417 for ; Fri, 14 Dec 2001 10:49:20 -0800 (PST) Received: from dijkstra.fi.infn.it (dijkstra.fi.infn.it [192.84.145.11]) by postino.fi.infn.it (8.11.5/8.11.5) with ESMTP id fBEInDK56042; Fri, 14 Dec 2001 19:49:13 +0100 (CET) From: Riccardo.Veraldi@fi.infn.it Received: by dijkstra.fi.infn.it (Postfix, from userid 1001) id F04C21E02; Fri, 14 Dec 2001 19:15:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by dijkstra.fi.infn.it (Postfix) with ESMTP id 9E7ED18601; Fri, 14 Dec 2001 19:15:51 +0100 (CET) Date: Fri, 14 Dec 2001 19:15:51 +0100 (CET) X-X-Sender: To: Cc: Andrew Gallatin , Subject: Re: PPP bug?? I think it's something urgent. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (postino.fi.infn.it) Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 > 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 > > 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