Witness: acquiring duplicate lock of same type: "ftlk" in linux_futex.c

From: Pieter de Goeje <pieter_at_degoeje.nl>
Date: Thu, 13 Aug 2009 01:21:13 +0200
After upgrading a kernel from 7-stable to current, I got this witness 
warning during startup:

acquiring duplicate lock of same type: "ftlk"
  1st ftlk _at_ 
/FreeBSD/FreeBSD-current-clean/src/sys/modules/linux/../../compat/linux/linux_futex.c:177
  2nd ftlk _at_ 
/FreeBSD/FreeBSD-current-clean/src/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+0x22b
ia32_syscall() at ia32_syscall+0x19c
Xint0x80_syscall() at Xint0x80_syscall+0x95
--- syscall (240, Linux ELF32, linux_sys_futex), rip = 0x28080a91, rsp = 
0x2b13834c, rbp = 0x2 ---

I run a linux app (half-life dedicated server) on linux_base-f8, which 
uses futexes. The warning doesn't seem to impact functionality.

I don't think it matters but I only installed the new kernel and modules 
to test things before I do a full upgrade.

- Pieter
Received on Wed Aug 12 2009 - 21:21:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC