[Bug 52213] Tests for mfreadwrite crash after pthread_exit