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: /bin/ gets deleted on error


Hi Felipe,

On 13 April 2017 at 14:13, Felipe Vieira wrote:
> For the second time this week my /bin/ folder gets obliterated on an
> error during normal usage. It is equivalent of doing the infamous "rm
> -rf  /bin" .
>
> 1) I would like to know if there is a log for cygwin somewhere so I
> can be more useful in specifying what happened.

There is no general "log for cygwin"; it's up to individual applications to log
useful information.  In this case it'd be your zsh script logging the commands
it's running and/or the output it's producing.

>
> 2) My 'specs' are: windows 7 64 bits with cygwin64 . I wonder if
> cygwin64 is considered 'stable'.

Yes, Cygwin64 is stable.

> From what I recall the terminal was spamming messages containing the
> words "fork" , "-1" and some others which I don't recall. And what I
> did was trying to run a normal zsh script.

Sadly that doesn't tell us much.  You could take a look at the FAQ entry on
fork failures, and see if that gets you anywhere.

https://cygwin.com/faq.html#faq.using.fixing-fork-failures

> I am not able to tell exactly what I did on both occasions to trigger
> this behavior.

Can you provide something to narrow down the search?  Actually giving us the
zsh script you're trying to run would be a good start!

Adam

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