Martin,
your patch didn't quit apply to libzdb-2.1 but I'll test it and include it with the debian package. Is the cvs repo for libzdb publicly accessible?
you should modify your code using TRY-CATCH-END_TRY this way:
I know, and I'm working on that right now.
thanks for the fix.