Date: Tue, 08 Mar 2016 08:33:06 +0100 From: Nils Beyer <nbe@renzel.net> To: freebsd-emulation@freebsd.org Subject: citrix_ica - "wfica" generates deadlock in linux_sys_futex... Message-ID: <1710849.HCaPmFIAXo@asbach.renzel.net>
next in thread | raw e-mail | index | archive | help
Hi, using 10.3-RC1 (r296451M) "wfica" from citrix_ica generates a deadlock in linux_sys_futex: ============================================================================== #tail -50 ktrace.wfica.log 1657 100732 wfica RET linux_mprotect 0 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_access(0x28ce9338,0) 1657 100732 wfica NAMI "/compat/linux/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica NAMI "/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove" 1657 100732 wfica RET linux_access -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_mprotect(0x2dc87000,0x40000,0x5) 1657 100732 wfica RET linux_mprotect 0 1657 100732 wfica CALL linux_sys_futex(0x2d70f85c,0x81,0x7fffffff,0,0x2d70cbe8,0x2d4cb558) 1657 100732 wfica RET linux_sys_futex 0 1657 100732 wfica CALL linux_ipc(0x2,0x1e240,0x1,0x7b6,0,0x2d4cb598) 1657 100732 wfica RET linux_ipc -1 errno 17 File exists 1657 100732 wfica CALL linux_ipc(0x2,0x1e240,0x1,0x1b6,0,0x2d4cb598) 1657 100732 wfica RET linux_ipc 65536/0x10000 1657 100732 wfica CALL linux_open(0x2d4cc968,0x8000,0) 1657 100732 wfica NAMI "/compat/linux/home/nbe/HDXFlash.ini" 1657 100732 wfica NAMI "/home/nbe/HDXFlash.ini" 1657 100732 wfica RET linux_open -1 errno 2 No such file or directory 1657 100732 wfica CALL linux_time(0) 1657 100732 wfica RET linux_time 1457421694/0x56de7d7e 1657 100732 wfica CALL linux_mkdir(0x2dcc9ca0,0x1ff) 1657 100732 wfica NAMI "/compat/linux/home/nbe/.ICAClient/CtxFlashCache" 1657 100732 wfica NAMI "/home/nbe/.ICAClient/CtxFlashCache/" 1657 100732 wfica RET linux_mkdir -1 errno 17 File exists 1657 100732 wfica CALL linux_ipc(0x1,0x10000,0x1,0,0x2dcc8204,0x2d4ce168) 1657 100731 wfica RET poll 1 1657 100731 wfica CALL linux_sys_futex(0x8253a70,0x80,0x2,0,0,0xffffc3d8) ============================================================================== Downgrading the kernel to 10.2-RELEASE makes it working again. Any ideas how to fix that apart from downgrading? Thanks in advance and reagards, Nils
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1710849.HCaPmFIAXo>