From owner-freebsd-alpha Tue Dec 11 12: 2:31 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 452FA37B416 for ; Tue, 11 Dec 2001 12:02:26 -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 fBBK2MK97219; Tue, 11 Dec 2001 21:02:22 +0100 (CET) From: Riccardo.Veraldi@fi.infn.it Received: by dijkstra.fi.infn.it (Postfix, from userid 1001) id C1E741E02; Tue, 11 Dec 2001 21:01:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by dijkstra.fi.infn.it (Postfix) with ESMTP id 83B5F18601; Tue, 11 Dec 2001 21:01:00 +0100 (CET) Date: Tue, 11 Dec 2001 21:00:59 +0100 (CET) X-X-Sender: To: Andrew Gallatin Cc: , Subject: Re: PPP bug?? I think it's something urgent. In-Reply-To: <15381.9683.496533.896159@grasshopper.cs.duke.edu> 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 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