MallocStackLogging behaves differently between iOS 14 and 15 or 16

When running Cucumberish BDD tests on iOS 15.3 or later, I get this error in the Xcode console:

MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null)

After producing this error all of my automated Gherkin/Cucumberish tests are silently skipped, but no further errors are registered.

I can't find any MallocStackLogging options that seem to pertain to no_footprint, and the string "footprint" doesn't show up in my code base.

I don't find any references to MallocStackLogging in recent iOS release notes.

My various xctestplan files contain:

"defaultOptions" : { "mallocStackLoggingOptions" : { "loggingType" : "liveAllocations" } },

and this is the only reference to mallocStackLogging I can find in the code base.

Any explanation for what this might mean?

Post not yet marked as solved Up vote post of Papley Down vote post of Papley
1.3k views