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
{{ message }}
Repository navigation
while.mlir test is failing on all the backends with asan config #2252
Debugging this now; update is that ASAN is unhappy and I can make ASAN happy by changing the VM stack to be allocated on the heap vs. the host stack. I've verified that the stack use is in the right range so I'm suspecting an ASAN issue with tracking the stack VM structure. I'll fiddle with it and see if I can get some real errors or find a way to silence ASAN.
Giving up on MSVC ASAN for now as I can't explain its behavior (and LLVM being included in the build massively complicates things). Digging in with the CRT debug allocator I've confirmed that there are two iree::hal::Buffers being leaked, though I'm not sure where from yet.
Activity
benvanik commentedon Jul 1, 2020
Debugging this now; update is that ASAN is unhappy and I can make ASAN happy by changing the VM stack to be allocated on the heap vs. the host stack. I've verified that the stack use is in the right range so I'm suspecting an ASAN issue with tracking the stack VM structure. I'll fiddle with it and see if I can get some real errors or find a way to silence ASAN.
benvanik commentedon Jul 1, 2020
Giving up on MSVC ASAN for now as I can't explain its behavior (and LLVM being included in the build massively complicates things). Digging in with the CRT debug allocator I've confirmed that there are two iree::hal::Buffers being leaked, though I'm not sure where from yet.
benvanik commentedon Jul 1, 2020
CRT dump output:
(the bottom few are absl::Flags on-demand storage allocation)
benvanik commentedon Jul 2, 2020
Pretty sure a legit leak in stack frame cleanup (which is what changed in that big CL) - confirmed all ref counting is correct everywhere else.
Fixing #2455 and #2252 (leak on particular ABI patterns + unused regi…
Fixing #2455 and #2252 (leak on particular ABI patterns + unused regi…