[Olsr-dev] OLSR crash: LoadPlugin and Debug level 0
Sven-Ola Tuecke
(spam-protected)
Tue May 20 15:37:45 CEST 2008
Hi,
you may have a non-posix system. Posix system should return a PID or minus
one. Watch "man fork". Examine the errno variable for reasons. "gdb --args
./olsrd -d 0 -nofork" may help also.
// Sven-Ola
"Vittorio Curcio" <(spam-protected)> schrieb im Newsbeitrag
news:(spam-protected)
i think that the problem is caused by the function daemon(0,0), in file
main.c.
I heve tried to use some "printf" as debug, but it seems that this function
return no value
why?
> CC: (spam-protected)
> From: (spam-protected)
> Subject: Re: [Olsr-dev] OLSR crash: LoadPlugin and Debug level 0
> Date: Mon, 19 May 2008 21:57:58 +0200
> To: (spam-protected)
>
>
> and when you start it with -d 1 it works fine?
>
>
> On May 19, 2008, at 5:41 PM, Vittorio Curcio wrote:
>
> >
> >
> >
> > i tried but the output of gdb didn't change
> > Have you ever launch olsr with debug level 0 and a standard plugin
> > (like dyn_gw)?
> >
> > I think it is a bug
> >
> >
> >
> > ----------------------------------------
> >> CC: (spam-protected)
> >> From: (spam-protected)
> >> Subject: Re: [Olsr-dev] OLSR crash: LoadPlugin and Debug level 0
> >> Date: Mon, 19 May 2008 17:09:53 +0200
> >> To: (spam-protected)
> >>
> >>
> >> set it to follow the child . WIth debug level 0 it forks .
> >>
> >>
> >> On May 19, 2008, at 5:05 PM, Vittorio Curcio wrote:
> >>
> >>>
> >>> Hi,
> >>> can anyone suggest me why olsrd(version from 0.5.4 up to 0.5.5)
> >>> crash if i try to run with a plugin and debug level 0?
> >>> I use gdb to find the cause, but it tells that olsrd exit normally
> >>> with empty stack
> >>> thanks for the answer
> >>> vittorio
> >>>
> >>>
> >>> _________________________________________________________________
> >>> Invite your mail contacts to join your friends list with Windows
> >>> Live Spaces. It's easy!
> >>> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/
> >>> friends.aspx&mkt=en-us
> >>> --
> >>> Olsr-dev mailing list
> >>> (spam-protected)
> >>> http://lists.olsr.org/mailman/listinfo/olsr-dev
> >>
> >> ---
> >> there's no place like 127.0.0.1
> >>
> >>
> >>
> >
> > _________________________________________________________________
> > Invite your mail contacts to join your friends list with Windows
> > Live Spaces. It's easy!
> > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/
> > friends.aspx&mkt=en-us
> > --
> > Olsr-dev mailing list
> > (spam-protected)
> > http://lists.olsr.org/mailman/listinfo/olsr-dev
>
> ---
> there's no place like 127.0.0.1
>
>
>
Connect to the next generation of MSN Messenger Get it now!
--
Olsr-dev mailing list
(spam-protected)
http://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list