acquiring duplicate lock of same type: "ftlk"

Kostik Belousov kostikbel at gmail.com
Thu Aug 20 20:29:26 UTC 2009


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
> 
> 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 = 0x287d89b3, rsp = 0xffffaa8c, rbp = 0x4000001 ---
> 
> I'm running with linux-f8 (f10 gave me trouble last time I tried on CURRENT) and flash10.
> 
> Is this a known problem? Is someone working on this or shall I file a PR?
> 
> Regards,
> Uli
> 
> PS: please keep me CC'ed. thx.

This is a known and harmless issue.
We need sx_xlock_flags().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20090820/2366b4da/attachment.pgp


More information about the freebsd-emulation mailing list