X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-Id: <1239247089.21610.1309702315@webmail.messagingengine.com> From: "Charles Wilson" To: "cygwin AT cygwin DOT com" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: [1.7] rebaseall doesn't solve the problem Date: Wed, 08 Apr 2009 23:18:09 -0400 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jonathan wrote: > I've read the entire thread here > http://cygwin.com/ml/cygwin/2009-02/msg00488.html and it seems to be the > exact same problem I'm having. Discussion seems to have stopped though, > I didn't seem any emails on it for the last three weeks or so. Is this > fix or tool ready for end users, or testers? I've seen this rebase > issue on Vista with both Perl and Python. rebase-3.0-2 was announced here: http://cygwin.com/ml/cygwin/2009-04/msg00174.html and it includes the new peflags tool and peflagsall script. However... I've found that setting the ASLR flag on the DLLs *helps* on Vista -- but doesn't always work. Sometimes I'll still get the "fatal error - unable to remap" issue. This usually happens when: 1) The computer has recently hibernated 2) And I'm doing a TON of perl stuff with lots of fork/execs (e.g. autoreconf). It usually fixes itself if you reboot. This allows Vista to re-allocate the random base addresses, AND actually obey them. It's as if it "forgets" about ASLR after hibernation. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/