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

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=vTDGf7hOUAb8az/V
5DKd2neDlBY78Am0t+uc+eZTy8epUOvAsVkULelkY2ZFzig3E0tQ8I3Sy2mdt02K
fLdCfObWfHUIKyAcozmTjllBm4sP695PvAXWN0d7J/uI+0hMpTGZ5aiw6zEBCxJY
cj/iMRBDPUhpLFjbId94F7tDaiA=
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=ZI7Sic8M1b6gkQ6wt2WieU
FiAHw=; b=YHOkX8C9WeiUfR0dI8tEGFthWyVaGnrpNHy+S8ujVqgalDy46d7S2C
YHy/g3rj7aLEM85egamrVWjzPKYZuAheDjmKujdw2er05rvBgkUbnxxQ3Pr1tmJ4
hq2a6omOHgghuPAAM5iKjykXGMMtevr0C21mMOQiEMyoJtp3NuSjA=
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.3 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 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:58:37 +0900
Lines: 72
Message-ID: <b4mip0gtwzm.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)

Please ignore my last reply (there's something wrong in MIME encoding).

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


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