Brian,

I CVSup'd earlier this morning and did a 'make world' on my
-current box.  If I try to use PAP/CHAP authentication, then
ppp coredumps.  Without using PAP/CHAP it seems to work fine.
It also works when I did a

        cd /usr/src/usr.sbin/ppp
        cvs update -Dyesterday -PAd
        make clean && make && make install

I haven't done a whole lot of investigation yet, but I did
attach a copy of my ppp.conf, a stacktrace, and the tail(1)
of /var/log/ppp.log.

Any ideas on what might be happening?

Thanks.

-steve
Script started on Sat May  8 16:38:18 1999
bonsai# cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/modem
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK 
\\dATDT\\T TIMEOUT 40 CONNECT"

isp:
 set phone 5551234
 set timeout 0
 set authname myauth
 set authkey mykey
bonsai# ppp
Working in interactive mode
Using interface: tun0
ppp ON bonsai> dial isp
ppp ON bonsai> 
Ppp ON bonsai> 
PPp ON bonsai> Segmentation fault (core dumped)
bonsai# gdb `which ppp` ppp.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `ppp'.
Program terminated with signal 11, Segmentation fault.
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.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libalias.so.3...done.
Reading symbols from /usr/lib/libdes.so.3...done.
Reading symbols from /usr/lib/libradius.so.1...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x805b519 in FsmRecvConfigRej (fp=0x80ae608, lhp=0xbfbfce98, bp=0x0)
    at fsm.c:795
795       (*fp->fn->DecodeConfig)(fp, MBUF_CTOP(bp), flen, MODE_REJ, &dec);
(gdb) where
#0  0x805b519 in FsmRecvConfigRej (fp=0x80ae608, lhp=0xbfbfce98, bp=0x0)
    at fsm.c:795
#1  0x805ba19 in fsm_Input (fp=0x80ae608, bp=0x8095120) at fsm.c:1008
#2  0x8050191 in ccp_Input (bundle=0x807ff60, l=0x80ae000, bp=0x8095120)
    at ccp.c:540
#3  0x806270e in Despatch (bundle=0x807ff60, l=0x80ae000, bp=0x8095120, 
    proto=33021) at link.c:322
#4  0x8062638 in link_PullPacket (l=0x80ae000, buf=0x80b0874 "~\200?\004\002", 
    len=32, b=0x807ff60) at link.c:270
#5  0x80676ee in physical_DescriptorRead (d=0x80ae740, bundle=0x807ff60, 
    fdset=0xbfbfd904) at physical.c:470
#6  0x8056e71 in datalink_Read (d=0x80ac000, bundle=0x807ff60, 
    fdset=0xbfbfd904) at datalink.c:417
#7  0x804c58e in bundle_DescriptorRead (d=0x807ff60, bundle=0x807ff60, 
    fdset=0xbfbfd904) at bundle.c:604
#8  0x80645fb in DoLoop (bundle=0x807ff60) at main.c:557
#9  0x806427a in main (argc=1, argv=0xbfbfdac0) at main.c:447
#10 0x804a9d1 in _start ()
(gdb) quit
bonsai# tail /var/log/ppp.log
May  8 16:39:05 bonsai ppp[1024]: tun0: CCP:  PRED1[2]  
May  8 16:39:05 bonsai ppp[1024]: tun0: CCP: deflink: SendConfigReq(2) state = 
Req-Sent 
May  8 16:39:05 bonsai ppp[1024]: tun0: CCP:   [EMPTY] 
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP: deflink: RecvConfigNak(1) state = 
Ack-Sent 
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP:  IPADDR[6]  aaa.bbb.ccc.ddd
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP:  IPADDR[6]  changing address: 
127.0.0.1  --> aaa.bbb.ccc.ddd 
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP: deflink: SendConfigReq(2) state = 
Ack-Sent 
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP:  IPADDR[6]  aaa.bbb.ccc.ddd
May  8 16:39:05 bonsai ppp[1024]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots with 
slot compression 
May  8 16:39:05 bonsai ppp[1024]: tun0: CCP: deflink: RecvConfigRej(2) state = 
Req-Sent 
bonsai# exit

Script done on Sat May  8 16:39:54 1999

Reply via email to