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: perl.exe: fatal error on Vista


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/


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