delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/22/14:34:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_20,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4CC1D8FC.1070105@veritech.com>
Date: Fri, 22 Oct 2010 14:33:32 -0400
From: "Lee D. Rothstein" <l1ee057 AT veritech DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4
MIME-Version: 1.0
To: "Cygwin, eMail List" <cygwin AT cygwin DOT com>
Subject: Re: Bash problems, strace, performance, etc. -> More details on cause (?)
References: <4CBE119C DOT 9070504 AT veritech DOT com> <4CBE179C DOT 7020008 AT veritech DOT com> <4CBFCE23 DOT 3010706 AT laposte DOT net> <4CC0AF02 DOT 1090600 AT veritech DOT com> <AANLkTinxqkPFWgOQkXBcAyuDK_vbqxxWAfg7g-EiEU7=@mail.gmail.com>
In-Reply-To: <AANLkTinxqkPFWgOQkXBcAyuDK_vbqxxWAfg7g-EiEU7=@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 10/22/2010 12:32 AM, Andy Koppe wrote:

 > On 21 October 2010 22:22, Lee D. Rothstein wrote:

 >>> do you have bash-completion, if yes, get rid of it and try again.
 >>
 >> Bash completion is installed on my system but never loaded; i.e.,
 >> /etc/bash_completion is not sourced in '~/.bashrc', or
 >> '~/.profile', or anywhere else.

 > It gets loaded by /etc/profile.d/bash_completion.sh, which is sourced
 > by /etc/profile.

Not in mine. No sourcing. It's always been commented out in all
the pre-scripts. Probably by me ages ago, when I decided that
completion was only useful in Tenex-like systems where commands
and options have whole word names like 'copy' and 'directory'
rather than 'cp' and 'ls'.

Bash completion had nothing to do with this problem, IMHO.

And, as I said in a later post, the problems were probably caused
by file locking by Adobe Reader (AAR).

*Can't Cygwin apps tell when a Windows app has locked a file
without timing out, 'strace'ing and crashing?*

The ghost AAR session was invoked from a Bash script by 'cygstart
foo.pdf', and I may have closed the Cygwin/mintty window that AAR
was invoked from.

To be clear, I believe the sequence of events of the problem is:

     cygstart foo.pdf    # which on my system invokes AAR -- ongoing,
                         # but ghostly
<invoking script completes>
<Cygwin/Mintty/Bash window closed (?) via Ctrl-D>

     cygwin_command>foo.pdf

<long pause>
<timeout of cygwin_command>
<crash/strace>
<Cygwin and Windows both put into sssllloooowww Zombie state,
         requiring reboot>

Perhaps, if I had known what I think I know now (;-)), I could
have killed the ghost AAR process in Task Manager, and avoided
the reboot, but at the time no amount of Cygwin process hunt down
and kill worked.

Now, if I can only figure out why some Windows apps go into a
"ghost mode", where they don't appear in the task bar, or in Task
Manager's Applications tab.

The two others that I know do this from time to time are:
FireFox, and PDFcreator. Currently I'm running the FireFox Beta,
and it actually does it less that then prior stable FireFox
version. PDFcreator never gets invoked from Cygwin, to my
knowledge. FireFox rarely, if ever does. Via 'cygstart' or
otherwise.

With the latter two ghosties, I just kill them from the Task
Manager Processes tab.


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