[pptp-server] pptpctrl segfaults

Harald Hannelius harald at iki.fi
Tue Sep 19 03:37:00 CDT 2000


Hi there,

I have a problem with pptpctrl, it compiles ok, but always segfaults on
me:

# gdb pptpctrl
GNU gdb 5.0
Copyright 2000 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-slackware-linux"...
(gdb) run
Starting program: /usr/local/src/pptpd-1.1.1/pptpctrl 

Program received signal SIGSEGV, Segmentation fault.
__strtol_internal (nptr=0x0, endptr=0x0, base=10, group=0) at strtol.c:287
287     strtol.c: No such file or directory.
(gdb) bt
#0  __strtol_internal (nptr=0x0, endptr=0x0, base=10, group=0) at
strtol.c:287
#1  0x8048c6c in main ()
#2  0x40036aa7 in __libc_start_main (main=0x8048bf8 <main>, argc=1,
argv=0xbffff9a4, init=0x8048888 <_init>, 
    fini=0x804b244 <_fini>, rtld_fini=0x4000acb0 <_dl_fini>,
stack_end=0xbffff99c)
    at ../sysdeps/generic/libc-start.c:92
(gdb) The program is running.  Exit anyway? (y or n) y



Anu clues? I'm not a programmer (IANAP)...

Looks like libc to me though...

Harald H Hannelius | Harald at iki.fi      | GSM +358405470870




More information about the pptp-server mailing list