gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failed to protect memory on Solaris


From: David Chisnall
Subject: Re: failed to protect memory on Solaris
Date: Mon, 14 Jun 2010 23:16:35 +0100

On 14 Jun 2010, at 23:06, Riccardo Mottola wrote:

> 2010-06-15 00:04:51.596 GWorkspace[12031] Failed to protect memory as 
> executable: Invalid argument


A breakpoint on NSLog will tell you, but this is most likely in NSInvocation's 
code for protecting the buffer containing the trampoline, making sure that it 
is not both writable and executable.  It is possible that your version of 
Solaris has a broken version of mprotect(), or that the GNUstep code is wrong 
in some way.

David

-- Sent from my Difference Engine



reply via email to

[Prev in Thread] Current Thread [Next in Thread]