Open cyrush opened 1 month ago
Three issues all related to using H5Literate
to traverse hdf5 trees.
Here is where we use H5Literate
:
Leaks look internal to hdf5. Different types of leaks probably reflect different data in our test cases.
In one of the cases, h5literate leads to a reported leak here:
fixed for this case is in #1304
Two remaining cases:
Direct leak of 48 byte(s) in 1 object(s) allocated from:
#0 0xaaaad0174abc in __interceptor_calloc (/build/conduit-v0.9.2/tests/relay/t_relay_io_hdf5+0xc4abc) (BuildId: 7c6aac9e96946dcee7364c9f16fcd0bb52460e0f)
#1 0xffffa6dc4ac8 in H5G__compact_build_table H5Gcompact.c
#2 0xffffa6dc57d0 in H5G__compact_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4b57d0) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#3 0xffffa6df0d64 in H5G__obj_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4e0d64) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#4 0xffffa6ddbe90 in H5G_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4cbe90) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#5 0xffffa6e85b9c in H5L_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x575b9c) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#6 0xffffa71f12dc in H5VL__native_link_specific (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x8e12dc) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#7 0xffffa71c5eac in H5VL_link_specific (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x8b5eac) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#8 0xffffa6e761a4 in H5L__iterate_api_common H5L.c
#9 0xffffa6e75b50 in H5Literate2 (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x565b50) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#10 0xffffa8c7cf18 in conduit::relay::io::read_hdf5_group_into_conduit_node(long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, conduit::Node const&, conduit::Node&) //conduit-v0.9.2/src/libs/relay/conduit_relay_io_hdf5.cpp:2687:17
Indirect leak of 3 byte(s) in 1 object(s) allocated from:
#0 0xaaaad015ee7c in strdup (/build/conduit-v0.9.2/tests/relay/t_relay_io_hdf5+0xaee7c) (BuildId: 7c6aac9e96946dcee7364c9f16fcd0bb52460e0f)
#1 0xffffa6e9c2f8 in H5MM_xstrdup (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x58c2f8) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#2 0xffffa6f2150c in H5O__link_copy H5Olink.c
#3 0xffffa6f25b68 in H5O_msg_copy (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x615b68) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#4 0xffffa6dc634c in H5G__compact_build_table_cb H5Gcompact.c
#5 0xffffa6f27488 in H5O__msg_iterate_real (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x617488) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#6 0xffffa6f27ba4 in H5O_msg_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x617ba4) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#7 0xffffa6dc4b50 in H5G__compact_build_table H5Gcompact.c
#8 0xffffa6dc57d0 in H5G__compact_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4b57d0) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#9 0xffffa6df0d64 in H5G__obj_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4e0d64) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#10 0xffffa6ddbe90 in H5G_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x4cbe90) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#11 0xffffa6e85b9c in H5L_iterate (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x575b9c) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#12 0xffffa71f12dc in H5VL__native_link_specific (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x8e12dc) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#13 0xffffa71c5eac in H5VL_link_specific (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x8b5eac) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#14 0xffffa6e761a4 in H5L__iterate_api_common H5L.c
#15 0xffffa6e75b50 in H5Literate2 (/install/hdf5-1.14.1-2/lib/libhdf5.so.310+0x565b50) (BuildId: f3ed5a6a25bd07acd7112c381621d539d9f4137a)
#16 0xffffa8c7cf18 in conduit::relay::io::read_hdf5_group_into_conduit_node(long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, conduit::Node const&, conduit::Node&) //conduit-v0.9.2/src/libs/relay/conduit_relay_io_hdf5.cpp:2687:17