EC coding to catch bugs Since Geos is multithreaded and unlocked memory blocks can be moved out from under a pointer, debugging memory scribbling is quite difficult. Become familiar with the EC routines that are available within Geos and use them liberally. When compiled as non-EC, these routines become empty stubs, so they won't impact the performance of the shipping version of your application.
Related to this is stress testing your application with swat. By simply turning on many of the EC flags, you can find many bugs that would otherwise take days to find and duplicate. Here is a partial list of flags to set:
Last modified: Mon Dec 22 16:55:20 PST