-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The process stops abruptly #39
Comments
Running it with strace reveals a concerning message :
|
A few lines above, we have this :
10 seems to be the file descriptor of the underlying cURL socket :
This would mean that Youtube closes the connection before the download is finished, or that youtube-d tries to read more data than what it's supposed to due to a range miscalculation or something like that. |
Relevant issue : googleapis/google-cloud-cpp#2654 |
Capturing and ignoring sigpipe seems to do the trick. The printf message doesn't get displayed, I suspect that it gets overwritten by one of the Edit : found one |
Even though the code is written to gracefully handle errors, the process will sometimes silently exit without a stack trace.
The text was updated successfully, but these errors were encountered: