This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bzr problem
- From: Katsumi Yamaoka <yamaoka at jpl dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 12 Jul 2013 09:58:37 +0900
- Subject: Re: bzr problem
- References: <b4m4nc1emxb dot fsf at jpl dot org> <51DF39CE dot 8050405 at cornell dot edu>
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