Created attachment 373232 [details] Patch When loading XML file GnuCash hangs in g_hash_table_destroy. This is caused by gxi_ambiguous_info_destroy not setting data->ambiguous_ht variable to NULL.
Good catch, thanks. Your patch is committed. I'm surprised that it hung instead of crashing.
(In reply to John Ralls from comment #1) > Good catch, thanks. Your patch is committed. I'm surprised that it hung > instead of crashing. I think it was hang in some cases and crash in others. When in hangs it spins in g_hash_table_resize: * frame #0: 0x0000000100470c9c libglib-2.0.0.dylib`g_hash_table_resize + 268 frame #1: 0x0000000100470030 libglib-2.0.0.dylib`g_hash_table_maybe_resize + 112 frame #2: 0x000000010046f6f4 libglib-2.0.0.dylib`g_hash_table_remove_all + 116 frame #3: 0x000000010046f669 libglib-2.0.0.dylib`g_hash_table_destroy + 73 frame #4: 0x000000010345cf80 libgncmod-gnome-utils.dylib`gxi_ambiguous_info_destroy(data=0x00000001070694e0) at assistant-xml-encoding.c:535
Ah, probably on a second call where the memory now points to something else entirely.