Can you send us the logfiles when EMS just shut down when you stopped the playback in VLC?
We are interested as to how this happened. Though EMS did not crash and just shut down gracefully.. We saw some prints indicating unknown PID.
May I know what exactly you are doing at that instance? We are also seeing in the prints that you are attempting to call version command, other than that are you doing anything else?
As for UDP Streaming, we think that this can be at times expected because of the uncertainty in packet transmission.
I can also suggest to you using ffplay if you want to.