-
Notifications
You must be signed in to change notification settings - Fork 30
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
Hang when duplicate keys defined in element #1917
Comments
Please post the freedesktop-sdk commit to reproduce this. It would help fix it. |
You don't have to use the custom config template to reproduce. It's enough to use BuildStream 2.2.0 and that commit. |
This is indeed weird. I can't reproduce it using my host install of buildstream (installed using pipx). However, using the CI container used in that commit I can reproduce it. The error itself looks like we're leaking a buildstream/src/buildstream/_yaml.pyx Line 287 in c7274d4
YAMLLoadError instead of LoadError .
|
Is there a difference in ruamel.yaml or ruamel.yaml.clib versions? |
Yes, indeed. On my system I have
In the container
However, upgrading to the same version on my system I keep getting the same behaviour (a proper FAILURE, not a BUG with a hang). |
This is so odd. While there may be a difference in Cython used to buils this extension, I don't expect it to affect quite that. |
Noticed with BuildStream 2.2.0
BuildStream doesn't correctly handle the raised exception but instead hits BUG and promptly hangs after this.
The text was updated successfully, but these errors were encountered: