[quagga-dev 597] Re: Stale pointer crashes OSPFD under FreeBSD 5.1 Current

Lennert Buytenhek buytenh at gnu.org
Mon Dec 29 12:09:02 GMT 2003


On Sun, Nov 30, 2003 at 08:25:56PM -0800, Steven Roberts wrote:

> > > > The memory is overwritten by a pattern of all 0x0d characters. I
> > > > assume it is for debug/security purposes, as it did not happen in
> > > > FreeBSD 5.1 RELEASE, only in CURRENT.
> > > 
> > > neat. it will no doubt throw up lots of bugs in lots of programmes. 
> > > nice :)
> > 
> > If you're worried about this kind of thing, use Valgrind on your
> > application (developer.kde.org/~sewardj).  I was planning on running
> > it on quagga, but didn't find the time yet.  Generally valgrind
> > reveals a lot of programming errors.
> 
> Greetings,
> I tried to run ospfd under valgrind (ver 2.0.0) and I can't get ospfd
> to actually come up and run.  I even tried using --skin=none and still
> no luck (so far waited 20-30 minutes for ospfd to start).  Neighbors
> don't see any this router and a tcpdump on the box shows no activity.

Have you tried strace()ing valgrind?  Do you see any system calls being
called?  Does valgrind or ospfd go to 100% CPU?  Can you telnet into the
ospfd port?


--L



More information about the Quagga-dev mailing list