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: plotting from octave: address space already occupied, fork aborts


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@acm.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


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