X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=n15Gea+aQkBsKSr54fvFpxKz6/bk55xX2qawbFjtE13bEAtPev+8w
	sRtkxZtEtrj35jsXozfjFPn08hmmAO10Ao32fAjdjB6K+FMnhrI5B7Xjw185waKp
	iTgbB//6245RWSVUWlx68IcMN/wCGX6XTPzGqYQSO4bJrpHyUvkfuI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=Ij8rf8iFDliQEv1g8xF/T7GSCN8=; b=q8CAyvB4Q2jUFQyqnBbpNn6Qt4/H
	SuFmCh43N+ko/X9D25Hr1OFyxoDffiC32Spy49We7MSjB+1TNayLhTdoS5WZDfaB
	PowRZYbe1PlMlgM+/W23qWPAske7FZgT9B15KigsNt6xNmZTky+6yi0dpOL81vIY
	zukcZ6v7MEGDx90=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Jaakov, H*MI:sk:1462546, H*f:sk:1462546, H*M:post
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Mark Geisert <mark@maxrnd.com>
Subject: Re: xpdf relocation error
Date: Sat, 7 May 2016 04:22:10 +0000 (UTC)
Lines: 59
Message-ID: <loom.20160507T061715-823@post.gmane.org>
References: <1462546233.1422.19077.24751@mail.rambler.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Jaakov Jaakov <j_k_v <at> ro.ru> writes:
> Dear Mark et al., dear developers:
> 
> Finally I got the culprit machine again.
> 
>  > Sorry but my suspicion expressed earlier, that there's an address 
> 
>  > collision, was incorrect.   The rebase source code shows it's a 
Windows 
> 
>  > error code being reported, and it's Windows' ReBaseImage64() 
function 
> 
>  > itself having some issue operating on the cygXt-6.dll file.   Do 
you have 
> 
>  > write access to that file and its directory?
> 
>  I do. Here we go (started from a non-X terminal):
> 
> admin <at> hostname:~$ xpdf
> 
>  Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation.   
Offset 0x2f6e3bad9 at address
> 0x100494523 doesn't fit into 32 bits
> 
> admin <at> hostname:~$ ls -la /usr/bin/cygXt-6.dll
> 
>  -rwxr-xr-x 1 admin None 333855 29. Jan 21:27 /usr/bin/cygXt-6.dll
> 
> admin <at> hostname:~$ ls -la /usr/
> 
>  insgesamt 920
> 
>  drwxr-xr-x+ 1 admin None 0 28. Nov 13:24 .
> 
>  drwxr-xr-x+ 1 admin None 0 15. Aug 2015   ..
> 
>  drwxr-xr-x+ 1 admin None 0 17. Apr 22:23 bin
> 
>  ...
> 
>  As we see, the write attributes for "admin" are set, and I am "admin" 

That all looks perfectly normal to me, and exactly what I see on my own 
systems.  But your explicit mention of using a non-X terminal suggested 
another possible reason for rebase failure: the cygXt-6.dll is very 
likely to be in-use, and thus busy as far as Windows is concerned, if 
you're running an X server and/or xterms etc. at the same time you're 
trying to rebase that DLL.

Try closing all xterms, background X apps, and the X server and any X 
window manager you may be running.  All processes related to X, in other 
words.  Then retry the rebase of cygXt-6.dll.

..mark





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

