Date: Sat, 30 Sep 2000 01:17:27 +0200 (IST) From: Roman Shterenzon <roman@harmonic.co.il> To: freebsd-stable@freebsd.org Cc: obrien@freebsd.org Subject: Coredump in ppp(8) Message-ID: <970269447.39d52307e0502@webmail.harmonic.co.il>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I've tried to connect my palm to 4.1.1-STABLE (built couple of days before)
and it dumped core.
I've already connected my palm to other 4.1-STABLE system back in mid-august.
The only options I'd were:
palm:
set device /dev/cuaa1
set speed 57600
set ifaddr 10.0.0.1 10.0.0.3
accept dns
enable proxy
then I write term in ppp and click on connect in palm.
I can't remember what was the setup on the laptop I used back in august,
but I think that it was the same or, really similar.
I can get more information from ppp(8) if you need, I built it with -g today.
I wonder what the bundle.66 is, it's missing debugging symbols.
--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
[-- Attachment #2 --]
Script started on Fri Sep 29 17:46:05 2000
alchemy:/root# pppctl /var/run/pppctl[16D[K[6Dzcat /var/log/ppp.log.0.gz | less[33Dpppctl[K /var/run/pppctl[22D[Kgdb /usr/src/usr.sbin/ppp
ppp/ pppctl/ pppd/ pppstats/
alchemy:/root# gdb /usr/src/usr.sbin/ppp/ppp
ppp* ppp.8 ppp.8.gz
alchemy:/root# gdb /usr/src/usr.sbin/ppp/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.3...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libalias.so.4...done.
Reading symbols from /usr/lib/libcrypto.so.1...done.
Reading symbols from /usr/lib/libradius.so.1...done.
Reading symbols from /usr/lib/libnetgraph.so.1...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x28225cee in memcpy () from /usr/lib/libc.so.4
(gdb) bt
#0 0x28225cee in memcpy () from /usr/lib/libc.so.4
#1 0x808e39c in bundle.66 ()
#2 0x805f251 in FsmRecvConfigNak (fp=0x74692065, lhp=0x20736d65,
bp=0x63206e69) at fsm.c:677
#3 0x68742065 in ?? ()
Cannot access memory at address 0x63616c70.
(gdb) up 1
#1 0x808e39c in bundle.66 ()
(gdb) up 2
#3 0x68742065 in ?? ()
(gdb) down
#2 0x805f251 in FsmRecvConfigNak (fp=0x74692065, lhp=0x20736d65,
bp=0x63206e69) at fsm.c:677
677 (*fp->fn->DecodeConfig)(fp, MBUF_CTOP(bp), flen, MODE_NAK, &dec);
(gdb) list
672
673 bp = m_pullup(bp);
674 dec.ackend = dec.ack;
675 dec.nakend = dec.nak;
676 dec.rejend = dec.rej;
677 (*fp->fn->DecodeConfig)(fp, MBUF_CTOP(bp), flen, MODE_NAK, &dec);
678 if (flen < sizeof(struct fsmconfig))
679 log_Printf(fp->LogLevel, " [EMPTY]\n");
680
681 switch (fp->state) {
(gdb) print dec
$1 = {
ack = "\003\006\n\000\000\003\002\006Té¿¿Té¿¿\003\215\006\b\f\000\000\000Té¿¿\f\215\006\b\006\000\000\000\214è¿¿dé¿¿x%04\000\003\013\b\030#\b\b\234ã\b\b\016\205\036(\003\000\000\000Äè¿¿´è¿¿dé¿¿tun0: IPCP: %s: Recv",
ackend = 0xbfbfe83c "\003\006\n",
nak = "d) state = %s\n\000Z\000 ", '\000' <repeats 30 times>, "\004é¿¿7N\a\b\000\000\000\000\222$\b\b4é¿¿\027ä\005\b\003\000\000\000ì«\n\bôé¿¿E\213\006\b\a\000\000\000\003\000\000\000\004ê¿¿", nakend = 0xbfbfe8a4 "d) state = %s\n",
rej = "\000\003\201\006ÂZÄ\201\000-\003\001\201\006ÂZ\031\026\203\006ÂZ\001\005\221§$~efault HISADDR\n enable dns\n\npapchap:\n\n #\n # edit the next three lines an", rejend = 0x65722126 <Address 0x65722126 out of bounds>}
(gdb) quit
alchemy:/root# ^Dexit
Script done on Fri Sep 29 17:46:49 2000
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?970269447.39d52307e0502>
