delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/05/01:01:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,TW_YG
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4C314E44.8080707@cygwin.com>
References: <AANLkTikyaBS4Lus3HcY91A4Iq2DB_KLkKtvxPpBknIK_ AT mail DOT gmail DOT com> <4C30170E DOT 8030103 AT cygwin DOT com> <AANLkTim0ySYn0yvwCdcPU454tPL5E4q1eKsQQ8p9Bc9J AT mail DOT gmail DOT com> <4C314E44 DOT 8080707 AT cygwin DOT com>
Date: Mon, 5 Jul 2010 01:00:52 -0400
Message-ID: <AANLkTinFCTlsxyJp3ZkVOa1HjesT1lPWylu2eRneRiBX@mail.gmail.com>
Subject: Re: Rebaseall fails with error 6 on cygcrypt-0.dll
From: Alex Leigh <leigh AT hcs DOT harvard DOT edu>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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

On Sun, Jul 4, 2010 at 11:15 PM, Larry Hall (Cygwin) wrote:
> On 7/4/2010 3:20 AM, Alex Leigh wrote:
>>
>> On Sun, Jul 4, 2010 at 1:07 AM, Larry Hall (Cygwin) wrote:
>>>
>>> On 7/4/2010 1:01 AM, Alex Leigh wrote:
>>>>
>>>> Hi,
>>>>
>>>> I've been getting some STATUS_ACCESS_VIOLATION errors when running
>>>> bash and some xwin programs, and after some searching I'm trying to
>>>> run rebaseall to see if that would fix the problem. However, when
>>>> running rebaseall from ash, I get the following error: "ReBaseImage
>>>> (/usr/bin/cygcrypt-0.dll) failed with last error =3D 6". Searching
>>>> around it seems error code 6 comes from the DLL being in use. However
>>>> I made sure to close all running cygwin programs, and I went through
>>>> each of my running programs to see if any of them loads that
>>>> particular DLL, which none of them do. Could there be anything else
>>>> that would cause rebaseall to fail on that particular DLL? Thanks.
>>>> I've attached an output from cygcheck.
>>>
>>> Make sure you stopped all services and then reboot.
>>
>> I rebooted, then shut down all non-essential programs and services,
>> and still get the same error. This is baffling...is there anything
>> else that could cause this error?
>
> Something has that DLL open/locked. =A0I suppose it doesn't have to be
> Cygwin but I wouldn't know what that would be. =A0Any rogue cygwin1.dlls
> on your system.
>
> To be sure you've excluded all things Cygwin from this install, do a
> 'cygrunsrv --list' followed by a 'cygrunsrv --stop <service_name>'
> where <service_name> is any service you see listed by the previous
> command.

Oops, I figured out why this was happening and it was rather silly on
my part. I installed cygwin under the Administrator account and was
trying to run rebaseall under a different account. I thought using the
"run as administrator" option when opening ash would give it enough
privileges but apparently it's not enough. Running ash under the
actual Administrator account made the error go away and solved my
status_access_violation problems. Thanks for the help everyone.

Sincerely,
Alex

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