Skip to content
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

Panic when calling BackgroundSession::join #212

Open
madadam opened this issue Jun 15, 2022 · 0 comments
Open

Panic when calling BackgroundSession::join #212

madadam opened this issue Jun 15, 2022 · 0 comments

Comments

@madadam
Copy link

madadam commented Jun 15, 2022

I'm sometimes experiencing panics like this when calling BackgroundSession::join:

called `Result::unwrap()` on an `Err` value: Os { code: 103, kind: ConnectionAborted, message: "Software caused connection abort" }

It seems that what triggers it is when the session is being joined and the mounted filesystem is being accessed more or less concurrently. I'm not sure whether this is a bug or not. I can imagine the error simply means the sending half of the internal channel has been closed, but I'm not sure. If that was the case, then this error should probably be handled inside Session::run. Or at least propagated to the caller of join so they can decide what to do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant