I have an embedded system where if a user inserts a card, a video stream (VLC) will begin playing. When the card is removed, the process is killed. Over a long period of time and consistent starting and killing of the VLC process, there is a bug where the VLC won't start back up.
I've tried creating a bash script that starts up and kills the process over and over to monitor discrepancies in timing of the process being killed or if the process isn't starting up. It's been running perfectly for a couple of weeks now.
I'm trying to think of other possibilities this issue might be occurring and was looking for ideas. Would you think it's possible for it to be an issue with the video streaming library (gstreamer) or possibly an issue with the hardware?