gstd-1.x
gstd-1.x copied to clipboard
Unable to restart gstd after cancelling with killall gstd
I've installed an build gstd and started a test pipeline like this:
gstd &
gstd-client pipeline_create testpipe videotestsrc name=vts ! autovideosink
gstd-client pipeline_play testpipe
It worked however the screen overlay covered my entire screen so I had no access to the terminal and could not switch to it, so had to use Ctrl-C to stop it.
I then used killall gstd
.
Now however, whenever I try to run gstd &
I get the following error:
jason@nano:~/Development/gstd-1.x$ gstd & [1] 15583 jason@nano:~/Development/gstd-1.x$ Process 15380 died: No such process; trying to remove PID file. (/usr/local/var/run/gstd//gstd.pid)
Any ideas?
Problem seems to be that when gstd is exiting it fails to delete its pid file due to an invalid path with a double-slash in it:
/usr/local/var/run/gstd//gstd.pid
If I manually goto that folder(without the double-slash) and delete the file then gstd works just fine again. Moral of the story is that gstd does not like shutting down with ctrl-c.