This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bzr problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]