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: <4F1547C1 DOT 2050304 AT gmail DOT com> <4F155491 DOT 7040306 AT gmail DOT com> <4F15771D DOT 3090402 AT gmail DOT com> From: Tom Chiverton Date: Tue, 17 Jan 2012 15:13:45 +0000 Message-ID: Subject: Re: ls does not show any output To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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