X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4E70D768.8050508@acm.org> Date: Wed, 14 Sep 2011 09:33:44 -0700 From: David Rothenberger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: plotting from octave: address space already occupied, fork aborts References: <4E703F00 DOT 8020101 AT gmail DOT com> <4E709C95 DOT 3070600 AT cs DOT utoronto DOT ca> In-Reply-To: <4E709C95.3070600@cs.utoronto.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 On 9/14/2011 5:22 AM, Ryan Johnson wrote: > There is some evidence [1] that flagging cygwin .exe as large address > aware and rebasing all libraries (excepting cygwin1.dll?) into high > addresses makes it immune to ASLR problems (the latter apparently only > mucks with low addresses), but I don't know if anybody has ever tested > it on octave. Emacs broke in nasty ways when marked large address-aware > [2], though the problem has since been fixed [3]. > > [1] http://cygwin.com/ml/cygwin-developers/2011-06/msg00002.html > [2] http://cygwin.com/ml/cygwin/2011-08/msg00153.html > [3] http://cygwin.com/ml/cygwin/2011-08/msg00312.html While it was true that DLLs could be rebased above 0x80000000, this is no longer true [1]. The Cygwin DLL uses the high addresses for the heap now. Still, marking all .exe files as large-address aware does help, since it allows the heap to go into high addresses, leaving more room for the DLLs. [1] http://cygwin.com/ml/cygwin/2011-08/msg00066.html -- David Rothenberger ---- daveroth AT acm DOT org Creditor, n.: A man who has a better memory than a debtor. -- 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