Worse, when the app starts up, you get a heap error:
err:heap:HEAP_ValidateInUseArena Heap 0x7f000000: in-use arena 0x7f02e2e0 next block has PREV_FREE flag err:heap:HEAP_ValidateInUseArena Heap 0x7f000000: bad back ptr 0x1c9ba51e for arena 0x7f02e798 quite early in the run (well before the heap errs).
Might this be a real bug in crypt32 or our heap?
A bug in crypt32 is the most likely thing. Would you mind filing a bug and attaching a +crypt log to it? --Juan