Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2009 23:01:01 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Ulrich Sp??rlein <uqs@spoerlein.net>, emulation@freebsd.org
Subject:   Re: acquiring duplicate lock of same type: "ftlk"
Message-ID:  <20090820200101.GW9623@deviant.kiev.zoral.com.ua>
In-Reply-To: <20090820194932.GA66475@acme.spoerlein.net>
References:  <20090820194932.GA66475@acme.spoerlein.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--p51eBkY87UC7w4vh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 20, 2009 at 09:49:32PM +0200, Ulrich Sp??rlein wrote:
> Hi, I'm on RELENG_8/amd64 now and while using flash inside FF3 I
> observed the following
>=20
> acquiring duplicate lock of same type: "ftlk"
>  1st ftlk @ /data/freebsd-head/sys/modules/linux/../../compat/linux/linux=
_futex.c:177
>  2nd ftlk @ /data/freebsd-head/sys/modules/linux/../../compat/linux/linux=
_futex.c:203
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> _witness_debugger() at _witness_debugger+0x2e
> witness_checkorder() at witness_checkorder+0x8ef
> _sx_xlock() at _sx_xlock+0x55
> futex_get0() at futex_get0+0xfe
> linux_sys_futex() at linux_sys_futex+0x96
> ia32_syscall() at ia32_syscall+0x19c
> Xint0x80_syscall() at Xint0x80_syscall+0x95
> --- syscall (240, Linux ELF32, linux_sys_futex), rip =3D 0x287d89b3, rsp =
=3D 0xffffaa8c, rbp =3D 0x4000001 ---
>=20
> I'm running with linux-f8 (f10 gave me trouble last time I tried on CURRE=
NT) and flash10.
>=20
> Is this a known problem? Is someone working on this or shall I file a PR?
>=20
> Regards,
> Uli
>=20
> PS: please keep me CC'ed. thx.

This is a known and harmless issue.
We need sx_xlock_flags().

--p51eBkY87UC7w4vh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkqNq3wACgkQC3+MBN1Mb4gw0gCg2eLcCmB44sabC0ctvnctdybW
7dEAnR13qp2eR5V6uEt45cs6uJ/MXYdS
=6959
-----END PGP SIGNATURE-----

--p51eBkY87UC7w4vh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090820200101.GW9623>