fixed potential segfault/hashtable inconsistency for disable_display_errors=fail