delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/13/08:06:26

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <95455e980808111758m41454d93g44ae3d7bd822d23c AT mail DOT gmail DOT com> <6910a60808112315v12711bbft8591b70d859858a1 AT mail DOT gmail DOT com> <95455e980808121907y480400d2s9880ad96b3a8d684 AT mail DOT gmail DOT com> <6910a60808122348m426a0f44g51c53966da519ff6 AT mail DOT gmail DOT com> <95455e980808130333y66b26123k8f7f608cc9f4c47e AT mail DOT gmail DOT com> <6910a60808130345n5cf7c905hdfbbde2623d3f785 AT mail DOT gmail DOT com> <95455e980808130436g428e4e2erd8e278eb633e49a0 AT mail DOT gmail DOT com>
Subject: RE: perl.exe: fatal error on Vista
Date: Wed, 13 Aug 2008 13:05:35 +0100
Message-ID: <000601c8fd3c$e783f8b0$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <95455e980808130436g428e4e2erd8e278eb633e49a0@mail.gmail.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

hce wrote on 13 August 2008 12:36:
> On 8/13/08, Reini Urban wrote:

>>  >>  I would try rebase with -v (verbose) and also tie it to a log file.
>>  >>  $ rebaseall -v | tie rebaseall.log

>>  > There is no tie command, 

  It's a typo, Reini meant 'tee'.

>>  > so I tried to call /bin/rebaseall -v >
>>  > rebaseall.log from the ash. Please find attached rebaseall.log and
>>  > cygcheck.log as per above requirment.

  That works too :)

>> Yes, that's the problem. There are non ash cygwin processes still
>>  running. See the output of ps x. There must only be 2 processes:  
>>   /usr/bin/ash /usr/bin/ps
>> 
>>  Kill all other.
>> 
>>  rebaseall: only ash processes are allowed during rebasing
>>     Exit all Cygwin processes and stop all Cygwin services.
>>     Execute ash from Start/Run... or a cmd or command window.
>>     Execute '/bin/rebaseall' from ash.
>>  exit 2
> 
> Where did the log files indicate there were more than two processes? 

  Right here:

>>  rebaseall: only ash processes are allowed during rebasing

  It's not the quantity that matters, it's that the only thing running must
be ash itself, and 'ps' for the brief moment when you're checking that only
ash is running.

> I
> checked ps, there were indeed only two processes before calling the
> /bin/rebaseall from ash command line:
> 
> C:\Cygwin\bin\ps
> 
> PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
> I    2484       1    2484       2484  con 1000 11:24:31 /usr/bin/ash
>      4564       1    4564       4564  con 1000 11:29:04 /usr/bin/ps

  Try using "ps -a" to show /all/ processes (including services, for
example).  Or try doing it the same way the rebaseall script checks:

grep -E -q -i -v '/ash(.exe)?$' /proc/[0-9]*/exename


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019