Your algorithm seems to be rather simple, but I expect that major portions of the logic are in the external dylib module. There seems to be the error. I also get an error, even on an old Mac Pro with Mac OS X 10.6 Snow Leopard (see attached screenshot). Is this the same error as the one that you get?