rpc.lockd segfault

Antoine Jacoutot ajacoutot at lphp.org
Mon Jan 19 01:40:27 PST 2004


Selon Dan Nelson <dnelson at allantgroup.com>:
> > > install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
> >           ^^
> > 
> > This strips the debugging symbols.  Run gdb against the version of the
> > binary in the obj/ directory.

Allright, so I rebuilt rpc.lockd with: "-g" and copy the binary to
/usr/sbin/rpc.lockd (without stripping it).
I can't attache gdb to it because rpc.lockd wouldn't work for clients.
So I analysed to core file again and didn't get much info:

Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804dd2f in ?? ()
(gdb) quit

Any idea ?
Thanks all for your help.
Oh, by the way, it does not core dump right away, it does sometimes (from 30
minutes to 12 hours).
Regards,

Antoine


More information about the freebsd-questions mailing list