Add stack trace instrumentation to isolate persistence bug.