Hello, I have a failing test for an XS module in Win32, and I’ve isolated it to what I think is about the smallest-possible reproduction:
https://github.com/FGasper/p5-win32-safefree-bug In brief: 1) Newxz() allocates a buffer. 2) fork() 3) In the “subprocess”, the buffer from step 1 is Safefree()d. Does Win32 require any special handling of this circumstance? I’m getting “Free to wrong pool …” errors on the Safefree(). Thank you for reading and for any insights you may be able to offer! cheers, -Felipe Gasper