X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 5 Jul 2010 00:52:17 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Rebaseall fails with error 6 on cygcrypt-0.dll Message-ID: <20100705045217.GA17540@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4C30170E DOT 8030103 AT cygwin DOT com> <4C314E44 DOT 8080707 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C314E44.8080707@cygwin.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 04, 2010 at 11:15:16PM -0400, 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: >>>> 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 = 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. I suppose it doesn't have to be >Cygwin but I wouldn't know what that would be. Any 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 ' >where is any service you see listed by the previous >command. Actually, you might be able to get away with something like this from the DOS prompt. c: cd \cygwin\bin ren cygcrypt-0.dll cygcrypt-0.dll.hmm copy cygcrypt-0.dll.hmm cygcrypt-0.dll If you can do the rename but not the copy then reinstalling (via setup.exe's Reinstall option) cygcrypt-0.dll from the crypt package might work. cgf -- 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