You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct leak of 80 byte(s) in 1 object(s) allocated from:
...
#1 0x7f291d7a2b07 in iree_allocator_system_allocate iree/base/api.cc:140:13
#2 0x7f291d7a2751 in iree_allocator_malloc iree/base/api.cc:100:10
#3 0x7f291d7b2c7c in iree_vm_list_create iree/vm/list.c:73:3
#4 0x7f291d7d85ee in (anonymous namespace)::VMListTest_Reserve_Test::TestBody() iree/vm/list_test.cc:203:3
...
Issue is that the list type isn't registered, so its destroy function is falsey and we don't call destroy. iree_vm_list_register_types() is actually not declared in the list.h header. Was that an oversight?
Activity
GMNGeoffrey commentedon Jul 9, 2020
PR into google branch is #2462
GMNGeoffrey commentedon Jul 9, 2020
GMNGeoffrey commentedon Jul 9, 2020
Minimal repro:
benvanik commentedon Jul 10, 2020
Yeah, we need ASAN ASAP - go go go
GMNGeoffrey commentedon Jul 10, 2020
Issue is that the list type isn't registered, so its destroy function is falsey and we don't call destroy.
iree_vm_list_register_types()is actually not declared in the list.h header. Was that an oversight?benvanik commentedon Jul 10, 2020
just found the same thing and added the right call/test setup - sending now
GMNGeoffrey commentedon Jul 10, 2020
Thanks!
Registering the vm.list type for testing.
Registering the vm.list type for testing. (#2464)