For future reference, it was crashing in GEOS code. Compilling without geos resolved the problem - not sure what i lose but performance seems unchanged. Perhaps the problem is specific to geos-2.1.1, i haven't tried upgrading.