I figured out what the issue was in my embedded racket app on mac os x
(with the misleading out of memory error). Chez was dying in an mmap in
segment.c that was asking for PROT_EXEC memory. The solution is either to
disable the hardened runtime in Xcode or to leave it on but check "Allow
Unsigned Executable Memory"
(com.apple.security.cs.allow-unsigned-executable-memory) in Target ->
Signing and Capabilities

Nate


On Sat, Jul 11, 2020 at 3:59 PM Nate Griswold <[email protected]>
wrote:

> Has anyone run into an out of memory exit when calling racket_boot on mac
> os x?
>
> Mine was working fine until i turned system integrity protection back on,
> now i can't seem to get it to work.
>
> Anyway, just wanted to check here before i dig further. Please lmk if you
> have run into this...
>
> Nate
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAM-xLPqDmqx6dNFcFOAAm6kDcmAzAWPX0BJ6NZ8v%3D0CwygpK3A%40mail.gmail.com.

Reply via email to