I was trying to write an extension to perform a file move operation, which works, but causes VLC to lock up and become unresponsive. I managed to distill the problem into a simple extension:
http://pastebin.com/t9DqbECn . The issue arises when I call vlc.playlist.next() followed by os.execute(). In this test script, if you insert os.clock() (possibly other things, I haven't tested every function) in between the two, the hang doesn't happen. However, in a more complicated script the hang still occurs. Any idea how to get around this? I can post the full script if needed, but I've hacked apart someone else's work to make it so I didn't want to just put it up.