My crash after several iterations turns out to be not intermittent at all. I decided to add a counter and see how many times I could attach/detach before the crash. Interestingly, it is 28 times, every time. Attached is an updated reproducer with the counter and an added 'sleep 30' after starting the VM to give it a chance to fully boot before attach/detach. This crash feels like a different bug than Daniel's.
My crash after several iterations turns out to be not intermittent at all. I decided to add a counter and see how many times I could attach/detach before the crash. Interestingly, it is 28 times, every time. Attached is an updated reproducer with the counter and an added 'sleep 30' after starting the VM to give it a chance to fully boot before attach/detach. This crash feels like a different bug than Daniel's.