I guess I'm going to have to build a libc with debug symbols to track this any further but anyone have an idea as to what bug I might have triggered in dbm_fetch()? The database in question is of type HASH and also empty, having been created via dbm_open() followed by a dbm_close(). The inputs to dbm_fetch() appear to be perfectly sane as does the DB* "handle".