Fix singleton acquiring. Add PID, TID to stack trace report.