From owner-freebsd-bugs Mon Jun 16 22:55:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA24836 for bugs-outgoing; Mon, 16 Jun 1997 22:55:02 -0700 (PDT) Received: from lips.lcse.umn.edu (lips.lcse.umn.edu [128.101.182.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA24825 for ; Mon, 16 Jun 1997 22:54:57 -0700 (PDT) Received: from fuckme.thebarn.com (banana.lcse.umn.edu [128.101.182.200]) by lips.lcse.umn.edu (8.8.5/8.8.4) with ESMTP id AAA26423 for ; Tue, 17 Jun 1997 00:54:48 -0500 (CDT) Received: (from cattelan@localhost) by fuckme.thebarn.com (8.8.5/8.8.5) id AAA02295; Tue, 17 Jun 1997 00:54:45 -0500 (CDT) Date: Tue, 17 Jun 1997 00:54:45 -0500 (CDT) Message-Id: <199706170554.AAA02295@fuckme.thebarn.com> From: Rusell Cattelan MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 To: freebsd-bugs@freebsd.org Subject: Current state of ppp and pppd X-Mailer: VM 6.31 under 20.2 XEmacs Lucid Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id WAA24829 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well since pppd developed this problem sometime back in the 3.0 tree where as the system would hang if the modem hung up abnormally. So I started using ijppp, which is fine except that is crashes! I currently run it under the debug, but the results are very strange... looks like the stack is getting trashed. ie gdb) where #0 0x154d5 in VjCompInput (bp= Error accessing memory address 0xffffcac0: Invalid argument. ) at vjcomp.c:147 Error accessing memory address 0xffffcab8: Invalid argument. (gdb) list 142 LogPrintf(LogERROR, "VjCompInput...???\n"); 143 return(bp); 144 } 145 bp = VjUncompressTcp(bp, type); 146 return(bp); 147 } (gdb) print bp $1 = (struct mbuf *) 0x0 (gdb) Program received signal SIGSEGV, Segmentation fault. 0x1ffff in InputGuessTable () (gdb) where #0 0x1ffff in InputGuessTable () #1 0x41040 in end () #2 0x9d66 in DecodePacket (proto=45, bp=0x41040) at hdlc.c:223 #3 0xa215 in HdlcInput (bp=0x41040) at hdlc.c:396 #4 0x223d in AsyncInput (buff=0xefbfcb3c "h\006.½", cnt=42) at async.c:191 #5 0xfda8 in DoLoop () at main.c:1022 #6 0xedad in main (argc=1, argv=0xefbfd508) at main.c:532 (gdb) list Line number 148 out of range; vjcomp.c has 147 lines. (gdb) The crashes seem to occur when accessing certain web pages. Note the crashes mainly occur when the FreeBSD box is acting as router for my other home machine. ie SGI -(ether)-> FreeBSD (ppp) -> ..... -> FreeBSD 2.2.1 (pppd) -- Russell Cattelan ------------------------------------------- Of all that works backward must be foreword! -------------------------------------------