panic: System call old.recv returning with 1 locks held
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Sep 11 11:02:32 PDT 2006
On Mon, Sep 11, 2006 at 07:47:40PM +0200, Alexander Leidinger wrote:
> Quoting Pawel Jakub Dawidek <pjd at FreeBSD.org> (Mon, 11 Sep 2006 12:01:18 +0200):
>
> > In HEAD (not sure if it was MFCed) jhb@ added code to track number of
> > mutexes/sx-locks acquired/released. So bascially this panic can happen
> > when you leak a lock of any kind.
> >
> > 'show alllocks' has to show them when the kernel (and modules) is
> > compiled with WITNESS.
>
> exclusive sleep mutex so_snd r=0 (0xc2b204c4) locked @ kern/uipc_socket.c:984
[...]
Much easier now.
> How to track this down?
Try this patch:
http://people.freebsd.org/~pjd/patches/uipc_socket.c.2.patch
PS. CCing rwatson@ as he might be interested.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060911/457682b5/attachment.pgp
More information about the freebsd-current
mailing list