delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/11/20:53:02

X-Recipient: archive-cygwin AT delorie DOT 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; q=dns; s=default; b=QPklXQR7lGUnRjrR
bjeuCKjNtEZLeweOrnULnIby4cmQijLko+5QOrYg5J4/9oh+NxcvCL8P9s6hAUfg
7erjHJYWxwM3gHoeFAdH84RQlakGRw3LXlRZp+ICHXBMQxtIF3GD6GOdzWI2nOqQ
o4gcmhaoa7X9xTGLrzQusgUWeCg=
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; s=default; bh=jY5jFIhB7zfBRrPDS18zJ3
DSmQI=; b=RfBwbkTL/GpTTdj6+EqR3Qzy/tc9eaZgfVshDJbYcYC/zUI6xfGBf+
irB69F+sx63q+IcLG9DmkeWscbIjFpYgYf087YlCnTDukPT9W2b+ziIowaN5OfEP
rcEiYcRr7SP6X+2ZOjK4acU/ocNMso26zqZUSoCW9uv7w2kQUJGJU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,TW_BZ,T_TVD_MIME_NO_HEADERS autolearn=ham version=3.3.1
To: cygwin AT cygwin DOT com
From: Katsumi Yamaoka <yamaoka AT jpl DOT org>
Subject: Re: bzr problem
Date: Fri, 12 Jul 2013 09:52:21 +0900
Lines: 79
Message-ID: <b4msizktxa2.fsf@jpl.org>
References: <b4m4nc1emxb DOT fsf AT jpl DOT org> <51DF39CE DOT 8050405 AT cornell DOT edu>
Mime-Version: 1.0
User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin)
X-Virus-Found: No

Ken Brown wrote:
> On 7/11/2013 12:32 AM, Katsumi Yamaoka wrote:
>> Hi,
>>
>> Recently /usr/bin/bzr doesn't work well.  For the Emacs trunk,
>> those two commands achieve the purpose even if issuing a warning:
>>
>> $ bzr update
>> $ bzr commit -m "Bla bla"
>>
>> Usually a warning is like:
>> 0 [main] python2.7 1264 child_info_fork::abort: address space needed
>> by 'math.dll' (0x800000) is already occupied
>>
>> But it is sometimes:
>> 1 [main] python2.7 5784 child_info_fork::abort: unable to remap
>> _ARC4.dll to same address as parent (0xBE0000) - try running
>> rebaseall
>>
>> Rebaseall doesn't help.  Reinstalling bzr+python doesn't, either.

> Did you run rebaseall *after* reinstalling bzr and python?

Yes, I did.

> Reinstalling undoes the rebasing.  If that still doesn't help, try
> looking at the output of 'rebase -is' to see if it shows DLL
> collisions (marked with an asterisk).

No asterisk appears.  This is a superfluity, though:

$ rebase -is| awk '{print $3}'| wc -l
2695
% rebase -is| awk '{print $3}'| sort -u| wc -l
2695

I also ran a small program[1] in the output to verify there is
no overlap in the addresses.

> You might also try moving /etc/rebase.db.i386 out of the way and the
> running rebaseall again, so that it can start with a clean slate.

I tried it but nothing changed.  Thanks anyway.

[1]

--=-=-=
Content-Type: application/emacs-lisp
Content-Disposition: attachment
Content-Transfer-Encoding: quoted-printable

(let (base size next)=0A=
  (goto-char (point-min))=0A=
  (while (not (eobp))=0A=
    (when (looking-at=0A=
	   ".* base \\(0x\\([0-9a-f]+\\)\\) size \\(0x\\([0-9a-f]+\\)\\)")=0A=
      (setq base (string-to-number (match-string 2) 16)=0A=
	    size (string-to-number (match-string 4) 16)=0A=
	    next (+ base size))=0A=
      (end-of-line)=0A=
      (insert "next " (number-to-string next))=0A=
      (delete-region (goto-char (match-beginning 3)) (match-end 3))=0A=
      (insert (number-to-string size))=0A=
      (delete-region (goto-char (match-beginning 1)) (match-end 1))=0A=
      (insert (number-to-string base)))=0A=
    (forward-line 1))=0A=
  (sort-numeric-fields 3 (point-min) (point-max))=0A=
  (goto-char (point-min))=0A=
  (while (re-search-forward "next \\([.0-9]+\\)" nil t)=0A=
    (setq next (string-to-number (match-string 1)))=0A=
    (forward-line 1)=0A=
    (when (looking-at ".* base \\([.0-9]+\\)")=0A=
      (setq base (string-to-number (match-string 1)))=0A=
      (when (> next base)=0A=
	(error "Overlap!")))))=0A=


--=-=-=
Content-Type: text/plain; charset=us-ascii

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