After taking a bit of a closer look, I tried initializing the scheme environment in before it's registered as a static(MZ_REGISTER_STATIC) by moving it to Interpreter::Register. That fixed the bad memory crash but now it crashes in one of Fluxus's initialization scripts. I'm not sure exactly where though, the stack trace wasn't of much help.
The output is now: ----------------------------------- Car: expects argument of type <pair>; given #f === context === /Developer/Applications/Racket/collects/setup/path-relativize.rkt:34:2: path->relative /Developer/Applications/Racket/collects/setup/path-to-relative.rkt:35:13: for-loop /Developer/Applicati ons/Racket/collects/setup/path-to-relative.rkt:31:2: core9 /Developer/Applications/Racket/collects/racket/contract/private/provide.rkt:55:5 standard-module-name-resolver standard-module-name-resolver The only output is: reference to undefined identifier: fluxus-scratchpad-font [1] 96151 segmentation fault ./fluxus -----------------------------------
