Date: Fri, 10 May 1996 04:54:25 -0600 From: Kenneth Ingham <ingham@gatekeeper.swd.ara.com> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/1187: pppd dies with a segv Message-ID: <199605101054.EAA02187@gatekeeper.swd.ara.com> Resent-Message-ID: <199605101750.KAA11763@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1187 >Category: misc >Synopsis: pppd dies with a segv >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 10 10:50:00 PDT 1996 >Last-Modified: >Originator: Kenneth Ingham >Organization: Kenneth Ingham Consulting (working for ARA) >Release: FreeBSD 2.1-STABLE i386 >Environment: Gateway 2000 P5 125, AHC0 and sd0, sio0 and sio1, ep0. running pppd as : /usr/sbin/pppd 38.245.99.3:38.245.99.254 ttyd1 115200 from /etc/rc.local Note that no getty is running on ttyd1. >Description: When connecting from a NeXT running NextSTEP 3.3 and Morningstar PPP 1.4.1, the connection is established and then pppd dies. Running pppd from within gdb shows the following when it dies: (gdb) run -detach 38.245.99.3:38.245.99.254 ttyd1 115200 Starting program: /usr/src/usr.sbin/pppd/pppd -detach 38.245.99.3:38.245.99.254 ttyd1 115200 Program received signal SIGSEGV, Segmentation fault. 0x802c1e0 in crypt () (gdb) where #0 0x802c1e0 in crypt () #1 0x2260055b in end () Error accessing memory address 0x4f850bfc: Invalid argument. the contents of /etc/ppp/options is: crtscts silent auth login proxyarp The modem attached to ttyd1 is a USR Courier v.everything. If I enable a getty I can dial in and log in no problem. >How-To-Repeat: Set up options as above, start pppd. Try to connect and authenticate. Note that the problem did not occur when the NeXT had no secrets file. Instead, pppd stayed up and the NeXT reported authentication failure. When the NeXT was configured with a name to use that corresponded with a login name on the FreeBDS machine is when the problem occurred. The NeXT command line used was: /usr/etc/pppd name fubar auto up log - debug 2 nodetach cube.i-pi.com:gatekeeper.swd.ara.com~ A connection/debug log is: bash# /usr/etc/pppd name fubar auto up log - debug 2 nodetach cube.i-pi.com:38.245.99.3~ 5/10-11:14:54-18492 Morning Star Technologies PPP 5/10-11:14:54-18492 Version 1.4.1 [2-Jun-1994 14:30:58 next-3.2] 5/10-11:14:54-18492 du2: /usr/etc/pppd name fubar auto up log - debug 2 nodetach cube.i-pi.com:38.245.99.3~ 5/10-11:14:54-18492 Can't open 'cufb': Device is locked by pid 219 5/10-11:14:55-18492 Lock file /usr/spool/uucp/LCK/LCK..cufa created 5/10-11:14:55-18492 Dialing 38.245.99.3 (cufa 38400 8831378 ZYXEL_U-1496E) 5/10-11:14:55-18492 abort on (NO CARRIER) 5/10-11:14:55-18492 abort on (BUSY) 5/10-11:14:55-18492 abort on (NO DIALTONE) 5/10-11:14:55-18492 timeout set to 5 seconds 5/10-11:14:55-18492 expect () 5/10-11:14:55-18492 got it 5/10-11:14:55-18492 send (AT^M) 5/10-11:14:55-18492 expect (OK) 5/10-11:14:55-18492 AT^M^M 5/10-11:14:55-18492 OKgot it 5/10-11:14:55-18492 send (ATE0L0M0N0Q2V1X5&B1&C1&D3&H3&J0&K4&L0&M0&N0&R1&S1&Y1*E0*Q2^M) 5/10-11:14:58-18492 expect (OK) 5/10-11:14:58-18492 ^M 5/10-11:14:58-18492 ATE0L0M0N0Q2V1X5&B1&C1&D3&H3&J0&K4&L0&M0&N0&R1&S1&Y1*E0*Q2^M^M 5/10-11:14:58-18492 OKgot it 5/10-11:14:58-18492 send (ATS0=1S2=128S18=2S20=2S38=0^M) 5/10-11:15:00-18492 expect (OK) 5/10-11:15:00-18492 ^M 5/10-11:15:00-18492 ^M 5/10-11:15:00-18492 OKgot it 5/10-11:15:00-18492 send (ATDT8831378^M) 5/10-11:15:01-18492 timeout set to 60 seconds 5/10-11:15:01-18492 expect (CONNECT) 5/10-11:15:01-18492 ^M 5/10-11:15:18-18492 ^M 5/10-11:15:18-18492 CONNECTgot it 5/10-11:15:18-18492 Chat script succeeded 5/10-11:15:18-18492 38400/V32b 14400/V42b^M At this point, it started over again trying to connect again. >Fix: Not currently known. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605101054.EAA02187>