Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 1997 00:54:45 -0500 (CDT)
From:      Rusell Cattelan <cattelan@thebarn.com>
To:        freebsd-bugs@freebsd.org
Subject:   Current state of ppp and pppd
Message-ID:  <199706170554.AAA02295@fuckme.thebarn.com>

next in thread | raw e-mail | index | archive | help
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!
-------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706170554.AAA02295>