There is a crash at the end of the shadow-map-qml example in function
void RenderStateNode::cleanup() while trying to delete m_impl pointer.
The pointer contains 0xfeeefeee, which indicates it has already been deallocated.
It seems that some RenderStateNodes can share m_impl pointers, and when one of them gets deallocated, the others will crash when they are deallocated.