-
Notifications
You must be signed in to change notification settings - Fork 67
Resource busy - /dev/ptyvf #56
Comments
I find it helpful to do a The ruby processes are not always killable in random order... sometimes (if there are many), you have to find the right one to kill first. 😦 |
I think the problem is that this is launched under |
I've been having the same problem too. It may be necessary to check if
|
I'd like to confirm that this indeed is being launched with
|
Killing the associated processes should let you move forward. Mind trying that? I'm thinking about including some handling around this, but frankly, I'd rather Apple just fix the underlying problem so we don't have to even use tty/pty pairs. I've submitted a bug report, but there's been no movement on it. |
What's the workaround for this issue? The only one I know of is restarting my machine, but I'd rather not do that if I can help it. |
The workaround is killing all the associated processes. Sometimes, you have to do it in a specific order, but I don't know the correct way to determine that order... Otherwise, yeah. Restart. At the very least, try not to interrupt bwoken when it's running, and that should significantly reduce the restarts to practically zero. Of course, sometimes it'll hang and you have to interrupt anyway. 😢 |
I think I spent a day trying to find a way to find those processes to kill. Beer to whomever finds a repeatable script. |
😞 Shutting down is really hampering my workflow. I've already had to shut down three times all due to bwoken hanging. @dblock did you make headway with identifying the processes that needed to be killed in order to get bwoken unstuck? I wasn't able to kill any of the associated processes successfully to get bwoken going again. |
I suppose you could just keep re-running this on the command line until all the offending processes are gone:
/big-hammer |
I'm going to bet the problem is with the |
Without I'd be happy to hear about other ways to get the output streamed, if that's possible. Otherwise, let Apple know about this at bugreport.apple.com. |
This is fixed here: https://gist.githubusercontent.com/jonathanpenn/1402258/raw/a208721479221b84fed42dc76340151b1d73957b/unix_instruments.sh The original solution had potential to abandon the resource and the new solution replaces this with the usage of tee. Can this be incorporated into the main project? |
This solves the problem of it not running again after force exiting. Fixes bendyworks#56.
This happens when you abort a test execution half way. It causes several issues.
ScriptAgent
process will stay running forever and for some reason it cannot be killed. It's holding/dev/ptyvf
, but it's not listed bylsof
. Whoever finds out how to kill this thing vialaunchctl
gets a 🍺 from me.stdout
output, onlystderr
, which saysResource busy - /dev/ptyvf
. Bwoken needs to pipe that properly so that the user sees it, and not hang.The text was updated successfully, but these errors were encountered: