I expect that this is r37160, but I did specifically test it before landing.
Created attachment 23999 [details] Stack trace
I verified that this fails with r37160, but it did not fail when I tested it before landing without COLLECT_ON_EVERY_ALLOCATION.
Created attachment 24006 [details] Proposed patch
Comment on attachment 24006 [details] Proposed patch r=me
Landed in r37182.