Subject: Re: Racoon
To: None <current-users@netbsd.org>
From: Mihai CHELARU <kefren@NetBSD.ro>
List: current-users
Date: 07/18/2003 16:38:15
And here is what gdb says after -ggdb:
#0 yycf_init_buffer () at
/usr/src/crypto/dist/kame/racoon/cftoken.l:594
594 incstackp = 0;
(gdb) bt
#0 yycf_init_buffer () at
/usr/src/crypto/dist/kame/racoon/cftoken.l:594
#1 0x807ca2b in cfparse () at y.tab.y:1390
#2 0x804b8de in main (ac=1, av=0xbfbff868)
at /usr/src/crypto/dist/kame/racoon/main.c:193
#3 0x804b384 in ___start ()
(gdb)
Thanks,
Mihai
On Friday 18 July 2003 16:30, Mihai CHELARU wrote:
> Hi,
>
> Well, it worked here for about 6 months, too :)
>
> Here is what I got in a rush (I gotta set the static keys, meanwhile)
>
>
> # ktrace racoon -ddd
> Segmentation fault (core dumped)
> # kdump | tail -n 20
> 1582 racoon CALL getpid
> 1582 racoon RET getpid 1582/0x62e
> 1582 racoon CALL recvfrom(0x4,0xbfbff770,0x10,0x2,0,0)
> 1582 racoon GIO fd 4 read 16 bytes
> "\^B\a\0 \^O\0\0\0\0\0\0\0.\^F\0\0"
> 1582 racoon RET recvfrom 16/0x10
> 1582 racoon CALL recvfrom(0x4,0x80b3300,0x78,0,0,0)
> 1582 racoon GIO fd 4 read 120 bytes
> "\^B\a\0
> \^O\0\0\0\0\0\0\0.\^F\0\0\^F\0\^N\0\0\0\0\0\^B\0\M^@\0\M^@\0\0\0\^C\0
>\240\0\240\0\0\0\M-y\0\M^@\0\M^@\0\0\
>
> \0\M-z\0\240\0\240\0\0\0\M-{\0\0\0\0\b\0\0\a\0\^O\0\0\0\0\0\^B\b@\0@\
>0\0\0\^C\b\M-@\0\M-@\0.c\^F\b(\0\M^@\0/s\a\b(\
> \0\M-@\^A\M-+\^B\v\0\0\0\0\b\^A\0\f\^P\M^@\0\0\^Al " 1582 racoon
> RET recvfrom 120/0x78
> 1582 racoon CALL getpid
> 1582 racoon RET getpid 1582/0x62e
> 1582 racoon CALL sendto(0x4,0x80bc280,0x10,0,0,0)
> 1582 racoon GIO fd 4 wrote 16 bytes
> "\^B\^R\0\0\^B\0\0\0\0\0\0\0.\^F\0\0"
> 1582 racoon RET sendto 16/0x10
> 1582 racoon PSIG SIGSEGV SIG_DFL
> 1582 racoon NAMI "racoon.core"
>
> # gdb -c racoon.core `which racoon`
> ...
> (gdb) bt
> #0 0x8084ec0 in dladdr ()
> #1 0x807ca2b in dladdr ()
> #2 0x804b8de in dladdr ()
> #3 0x804b384 in getsockname ()
> (gdb)
>
>
> I'll compile -ggdb in a while to give more details.
>
> Thanks,
> Mihai
>
> On Friday 18 July 2003 16:29, David Ferlier wrote:
> > Hi,
> >
> > I used racoon on -current for more than 6 months, it never crashed
> > nor dumped core. I can say that it worked yesterday with a fresh
> > current.
> >
> > David
> >
> > On Fri, Jul 18, 2003 at 04:14:25PM +0300, Mihai CHELARU wrote:
> > > Hi,
> > >
> > > Is anyone running racoon on -current (from 6 hours ago or so) ?
> > > Mine dumps and I don't have a clue why (worked fine a -current
> > > from two weeks ago). Core can be provided if someone cares.
> > >
> > > M