Subject: pkg/12294: pkgsrc/net/userppp: pppctl dumps core
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 02/27/2001 20:17:01
>Number:         12294
>Category:       pkg
>Synopsis:       pkgsrc/net/userppp: pppctl dumps core
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 27 12:17:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5
>Organization:
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */
>Environment:
	
System: NetBSD cappi 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CAPPI) #1: Thu Feb 22 23:42:53 CET 2001 hv@cappi:/usr/src/sys/arch/i386/compile/CAPPI i386


>Description:
	pppctl (part of net/userppp package) dumps core for me;
	telneting to the right port by hand works fine,
	so we should blame pppctl.

zuntum@zunix:~# pkg_info -a | grep ppp
userppp-001107      User-PPP package as found in FreeBSD and OpenBSD
zuntum@zunix:~# grep -i server /usr/pkg/etc/ppp/ppp.conf
  set server +3000 my-password
zuntum@zunix:~# telnet localhost 3000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PPP on zunix> pass my-password
PPP ON zunix> show ipcp
[...works fine...]

PPP ON zunix>
zuntum@zunix:~# pppctl 3000
Password:
Segmentation fault (core dumped)
zuntum@zunix:~# gdb pppctl pppctl.core
GNU gdb 4.17
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--netbsd"...(no debugging symbols found)...
Core was generated by `pppctl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libedit.so.2...(no debugging symbols .
Reading symbols from /usr/lib/libtermcap.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libutil.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
#0  0x4806cc52 in history ()
(gdb)
	
>How-To-Repeat:
	
>Fix:
	No idea... I hope someone wants to take a look at this.
	
>Release-Note:
>Audit-Trail:
>Unformatted: