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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GJ
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4F15771D.3090402@gmail.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>
From: Tom Chiverton <tom DOT chiverton AT gmail DOT com>
Date: Tue, 17 Jan 2012 15:13:45 +0000
Message-ID: <CAKS-b5uyH2bOwHvk75QEEhHtJ8WJXM4kDxyLgv3D3HTkw+enYw@mail.gmail.com>
Subject: Re: ls does not show any output
To: cygwin AT cygwin DOT com
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 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 !

Did I manage to get a broken update at some point then ?
Can I recover, apart from deleting c:\cygwin and reinstall ?

>> If I type just 'ls', not output. Same for 'ls bin' when I know that
>> folder has stuff in. 'ls bin[tab][tab]' shows the files as expected:
>> tchiverton AT EV34:~$ ls
> so you are in your own home directory, that was not clear from
> your description.
> How are you running the shell and which is ?

I can replicate by just opening a Windows command prompt, run
c:\cygwin\bin\bash and then use '/bin/ls' as PATH seems wrong.
I normally use a short cut in the start menu that has a 'target' of
"C:\cygwin\bin\rxvt.exe -geometry 100x50 -sl 1500 -fn "Inconsolata-14"
-bg black -fg grey -sr -e c:\cygwin\bin\bash --login -i" though.

> what is the output of "ls -la ." ?

Nothing. "ls -la .[tab]" works as expected though.

> Have you problems or messed with the files:
> /etc/passwd
> /etc/group

Nope.
I looked in them, and they seem OK.
Running 'id' doesn't produce output either, so I guess that is why
it's not in the check output.

-- 
Tom

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