Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

src/uv_writer.c:370: UvWriterClose: Assertion `!w->closing' failed #245

Closed
tomponline opened this issue Nov 5, 2021 · 8 comments
Closed
Labels
Bug Confirmed to be a bug

Comments

@tomponline
Copy link
Member

https://jenkins.linuxcontainers.org/job/lxd-github-pull-test/5139/arch=arm64,backend=dir,compiler=golang-1.16/console#console-section-5

/lxc-ci/build/tmp.KQmG1cbVOF/go/bin/lxc copy c1 c2 --refresh --instance-only --verbose
lxd: src/uv_writer.c:370: UvWriterClose: Assertion `!w->closing' failed.
Error: Put "http://unix.socket/1.0/instances/c2": EOF
@tomponline tomponline added the Bug Confirmed to be a bug label Nov 5, 2021
@MathieuBordere
Copy link
Contributor

Have found a way to reproduce this, keep you posted once I figure out how to fix it.

@MathieuBordere
Copy link
Contributor

I hope #265 fixes this one, if it doesn't occur in the lxd test suite for a while after this PR is merged, I will close this issue.

@freeekanayaka
Copy link
Contributor

Do you think there's a correlation between this issue and the PR that started to finalize open segments when taking snapshots? From the PR description I would expect so, but just wanted to confirm it's due to that change.

@MathieuBordere
Copy link
Contributor

MathieuBordere commented Feb 15, 2022

This issue appeared before that PR, but the PR seems to make it occur more often (at least I was able to reproduce it, before I wasn't), my feeling is that there are probably still other ways to trigger it.

@freeekanayaka
Copy link
Contributor

Ah I see, good that the PR made it more evident then.

@MathieuBordere
Copy link
Contributor

@tomponline Have you seen this one since then?

@tomponline
Copy link
Member Author

Not that ive been aware of, but not been looking out for it particularly.

@MathieuBordere
Copy link
Contributor

Will close for now, happy to reopen if it pops up again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Confirmed to be a bug
Projects
None yet
Development

No branches or pull requests

3 participants