nullptr-deference in perf