Date: Mon, 11 Sep 2006 20:02:05 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: rwatson@FreeBSD.org, current@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: panic: System call old.recv returning with 1 locks held Message-ID: <20060911180205.GA44856@garage.freebsd.pl> In-Reply-To: <20060911194740.0c671c28@Magellan.Leidinger.net> References: <20060910194536.1b699733@Magellan.Leidinger.net> <20060910184359.GA7152@xor.obsecurity.org> <20060910230003.28fbc780@Magellan.Leidinger.net> <20060910211556.GA9924@xor.obsecurity.org> <20060911100117.GA92022@garage.freebsd.pl> <20060911194740.0c671c28@Magellan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Kj7319i9nmIyA2yE Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 11, 2006 at 07:47:40PM +0200, Alexander Leidinger wrote: > Quoting Pawel Jakub Dawidek <pjd@FreeBSD.org> (Mon, 11 Sep 2006 12:01:18 = +0200): >=20 > > 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. > >=20 > > 'show alllocks' has to show them when the kernel (and modules) is > > compiled with WITNESS. >=20 > exclusive sleep mutex so_snd r=3D0 (0xc2b204c4) locked @ kern/uipc_socket= =2Ec: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. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFBaSdForvXbEpPzQRAunTAKDMegqoUoNnf/tqHRaFmQ51TUyPhQCfeNPb g7QvbefCskmQXq+S79ZBwEY= =v2/y -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060911180205.GA44856>