Subject: Re: Racoon
To: Mihai CHELARU <kefren@NetBSD.ro>
From: David Ferlier <david@netbsd-fr.org>
List: current-users
Date: 07/18/2003 15:44:41
On Fri, Jul 18, 2003 at 04:30:08PM +0300, 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"

sendto(2) returns 0x10 (16). If you look at errno(2), this involves a
EBUSY error (resource busy). It maybe comes from a recent -current
mistake.

> 
> # 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
> 

-- 
	David Ferlier -- david@netbsd-fr.org

    http://happy-hacking.homeunix.org/~krp      (IPv4) ||
    http://minimoi.segfault.quatriemek.com/~krp (IPv6)