delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/17/10:24:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 17 Jan 2012 16:23:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ls does not show any output
Message-ID: <20120117152338.GB2446@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAKS-b5uCKxVdA08btcyZ5549aKdSyitW=US8quGOPenOGUXMEA AT mail DOT gmail DOT com> <CAKS-b5szp6vBmq_aDxo8Crc4FJKnd3z5N4k7Km0o7sz30KV5hw AT mail DOT gmail DOT com> <4F1547C1 DOT 2050304 AT gmail DOT com> <CAKS-b5u+13N1EhXMC-ki_mXqJ4Ezw=ZAp4jWbHZOcuCGb+6A2A AT mail DOT gmail DOT com> <4F155491 DOT 7040306 AT gmail DOT com> <CAKS-b5ubVr9X3hCmn63=TSmioiC5Sw9afgvk3pLsTj96YZfnig AT mail DOT gmail DOT com> <CAKS-b5vYL0gQkrwXA4jJvASEg8Rk5CiVOfvuET3Y_Q4uN0Ns6w AT mail DOT gmail DOT com> <4F15771D DOT 3090402 AT gmail DOT com> <CAKS-b5uyH2bOwHvk75QEEhHtJ8WJXM4kDxyLgv3D3HTkw+enYw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKS-b5uyH2bOwHvk75QEEhHtJ8WJXM4kDxyLgv3D3HTkw+enYw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jan 17 15:13, Tom Chiverton wrote:
> On 17 January 2012 13:26, marco atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> > your cygwin dll is 1.7.7 while last one is 1.7.9,
> > so your update did not work.
> 
> Hmm. I'm just re-running the (latest) setup.exe - what else should I do ?
> In c:\cygwin\bin I found a cygwin1.dll.new with version 1007.9.0.0 as
> well as one with the right name, version 1007.7.0.0.
> 
> If I swap to using the 1007.9 one by changing the names, bash stared
> from the command line just seg faults...
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> C:\Documents and Settings\tchiverton>c:\cygwin\bin\bash
> tchiverton AT EV34:tchiverton$ /bin/bash
>       2 [main] bash 5320 c:\cygwin\bin\bash.exe: *** fatal error - couldn't allo
> cate heap, Win32 error 487, base 0x4E0000, top 0x550000, reserve_size 454656, al
> locsize 458752, page_const 4096
> Stack trace:
> Frame     Function  Args
> 0022E4C0  6102796B  (0022E4C0, 00000000, 00000000, 00000000)
> 0022E7B0  6102796B  (6117EC60, 00008000, 00000000, 61180977)
> 0022F7E0  61004F1B  (611B66CC, 004E0000, 00550000, 0006F000)
> 0022F810  6106E8C3  (7FFEFFFF, 00000007, 00000003, 7C90DA0A)
> 0022F900  610C133B  (000007C8, 02000000, 6116A724, 6116A720)
> 0022F930  610064C0  (00000000, 00000002, 00000000, 00000000)
> 0022F9F0  6106FC15  (61000000, 00000001, 0022FD30, 6106F960)
> 0022FA10  7C90118A  (6106F960, 61000000, 00000001, 0022FD30)
> 0022FB18  7C91B5D2  (0022FD30, 7FFDF000, 7FFD9000, 00000000)
> 0022FC94  7C91FBDC  (0022FD30, 7C900000, 0022FCE0, 7C90E900)
> 0022FD1C  7C91FAD7  (0022FD30, 7C900000, 00000000, 00010017)
> End of stack trace
>       0 [main] bash 4120 fork: child -1 - died waiting for longjmp before initia
> lization, retry 0, exit code 0x100, errno 11
> bash: fork: retry: Resource temporarily unavailable
> tchiverton AT EV34:tchiverton$
> 
> This does not happen if I run Bash again from CMD (!)
> Though I can now run ls and get output !

This sounds as if you made an update without stopping all Cygwin
processes.  Do you have some Cygwin services like sshd running?
You should stop all Cygwin processes, even using TaskManager if
necessary, then make sure you only have one Cygwin DLL called
cygwin1.dll, preferredly the 1.7.9 DLL, and only then start a
fresh Cygwin process.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019