Did you run with a debug build of Python (configure --with-pydebug)? I find that a debug build is essential for tracking down refcount and memory problems. Jeremy