Hi, > FYI, looking at this one in a bit more details it looks like it's > standard C++ destructors -- they're added to the list of exit handlers > automatically when C++ is used, AIUI. > > Still leaves the problem with postgis/proj of course, but as a > noteworthy detail. It's not as easy as an explicit atexit(). Yes, there has to be a bug leading to the memory already having been freed or such. Probably worth trying to run this under valgrind or such. Andres