From owner-freebsd-emulation@freebsd.org Tue Mar 8 07:36:55 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2651EAC7BD5 for ; Tue, 8 Mar 2016 07:36:55 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from nijmegen.renzel.net (mx1.renzel.net [195.243.213.130]) by mx1.freebsd.org (Postfix) with ESMTP id CA270ED0 for ; Tue, 8 Mar 2016 07:36:53 +0000 (UTC) (envelope-from nbe@renzel.net) Received: from dublin.vkf.isb.de.renzel.net (unknown [10.0.0.80]) by nijmegen.renzel.net (smtpd) with ESMTP id 0BDD0141480F for ; Tue, 8 Mar 2016 08:33:07 +0100 (CET) Received: from asbach.renzel.net (unknown [172.18.96.1]) by dublin.vkf.isb.de.renzel.net (Postfix) with ESMTP id 00F57A9915 for ; Tue, 8 Mar 2016 08:33:06 +0100 (CET) From: Nils Beyer To: freebsd-emulation@freebsd.org Subject: citrix_ica - "wfica" generates deadlock in linux_sys_futex... Date: Tue, 08 Mar 2016 08:33:06 +0100 Message-ID: <1710849.HCaPmFIAXo@asbach.renzel.net> Organization: VKF Renzel GmbH X-Face: 78y|u$7i6y~oMJpcT\pHtGZhr+vW](?Eu?(C":l$)3KV#k'f1w0WthY%/#KWM'h; $.V.$; vA*2eR0V~?GK!tlozvmG{gup{PRpPPXXFk~|+dw)6/|[C!"j^D/pp+?*wadY^[JSr}%C{ %"WgaG_cCJG'Jyf6Jy4VO4n=[ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 07:36:55 -0000 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