I believe that the hang is in the mesa stack, and that there is a bug there.
I just think it's a bug that a feature (exiting vlc) works when accessed one way (Ctrl+q or menu), but not another way (x or Alt+F4). And that one is definitively on the vlc side.