racket_boot out of memory

16 views
Skip to first unread message

Nate Griswold

unread,
Jul 11, 2020, 4:59:59 PM7/11/20
to Racket Users
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

Nate Griswold

unread,
Jul 12, 2020, 4:16:17 AM7/12/20
to Racket Users
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

Reply all
Reply to author
Forward
0 new messages