Removing this test on my OSX system prevents the segfault.