This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls does not show any output


On 17 January 2012 13:26, marco atzeri <marco.atzeri@gmail.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@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@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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]