From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6241 invoked by alias); 2 Jul 2012 13:24:21 -0000 Received: (qmail 6222 invoked by uid 22791); 2 Jul 2012 13:24:20 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Jul 2012 13:24:05 +0000 Received: by yhr47 with SMTP id 47so5417429yhr.14 for ; Mon, 02 Jul 2012 06:24:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.83.33 with SMTP id n1mr21440181pay.7.1341235444235; Mon, 02 Jul 2012 06:24:04 -0700 (PDT) Received: by 10.68.28.228 with HTTP; Mon, 2 Jul 2012 06:24:04 -0700 (PDT) Date: Mon, 02 Jul 2012 13:24:00 -0000 Message-ID: Subject: Problem forking from Zsh under 1.7 when installed under UNC path From: Nikolai Weibull To: cygwin@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00008.txt.bz2 Hi! I have come across a problem that occurs when Zsh (both 4.3.11 and 4.3.12) tries to fork when Cygwin (1.7) has been installed under a UNC path. The problem occurs because Zsh has support for dynamically loaded modules. When Zsh forks to run a process (like =E2=80=9Cls=E2=80=9D= ), Cygwin tries to map these modules (DLLs) into the new process, but somewhere along the line gets confused as to what passed was used to load the module: 2 [main] zsh 8220 child_info_fork::abort: unable to map UNC\Filer\Pro= grams \Cygwin\lib\zsh\4.3.11\zsh\parameter.dll, Win32 error 126 compaudit:91: fork failed: resource temporarily unavailable 2 [main] zsh 4836 child_info_fork::abort: unable to map UNC\Filer\Pro= grams \Cygwin\lib\zsh\4.3.11\zsh\zle.dll, Win32 error 126 compinit:526: fork failed: resource temporarily unavailable I have installed Cygwin under the path \\Filer\Programs\Cygwin. MODULE_PATH in Zsh is /usr/lib/zsh/4.3.11. The modules are loaded fine inside Zsh itself, but can=E2=80=99t be mapped over into the fork properly, it seems. This occurred when I upgraded Cygwin from 1.5 to 1.7. Zsh was also upgraded from 4.3.11 to 4.3.12 at the same time, but was since downgraded to exclude any changes that may have occurred in Zsh between 4.3.11 and 4.3.12. Note that running =E2=80=9Cls=E2=80=9D from Bash works fine, as it doesn=E2= =80=99t have loadable modules. Mapping \\Filer\Programs\Cygwin to a drive and then running Zsh from there works fine, so it seems that the issue is completely isolated to that of the UNC path to the module not being saved/used correctly. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple