Could it be this issue ? Can you please see if you can
reproduce it using just plain C.
Uh, oh, that bug looks like a major annoyance in 64bit! I made a
few checks, all appkit methods returning a NSRect currently
produce a runtime segfault. But this does not apply to NSSize,
nor NSPoint, functions returning either NSSize or NSPoint work.
What I have found out so far: all the extern C functions in
geometry.d work just fine.. e.g. NSRectFromString does what it's
supposed to do.