-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Segmentation fault with lxml 5.0.0 on Linux #388
Labels
Comments
Ahh I wish I spent a little longer searching: a similar issue was reported in #360, and this issue seems to be resolved when installing lxml not from binary as noted in the project README RUN pip install python3-saml --no-binary lxml |
See #389 for ongoing discussion. |
@taesungh I was struggling with this issue, and thanks to you creating it, I reached the workaround 🙏🏼 |
lunika
added a commit
to openfun/marsha
that referenced
this issue
Feb 19, 2024
We are not able tu use lxml >= 5.0.0. We have a segfault when using it. The solution could be to install it without binaries but it is not possible to do it using the setup.cfg file. We have to investigate if it will be possible if we switch to pyproject. Linked issues : SAML-Toolkits/python3-saml#388 SAML-Toolkits/python3-saml#389
1 task
lunika
added a commit
to openfun/marsha
that referenced
this issue
Feb 19, 2024
We are not able tu use lxml >= 5.0.0. We have a segfault when using it. The solution could be to install it without binaries but it is not possible to do it using the setup.cfg file. We have to investigate if it will be possible if we switch to pyproject. Linked issues : SAML-Toolkits/python3-saml#388 SAML-Toolkits/python3-saml#389
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using python3-saml for a while and recently encountered a new major issue on fresh installations which seems to be caused by the lxml toolkit for Python recently releasing version 5.0.0. The program encounters a segmentation fault when processing the ACS endpoint or generating metadata.
This core issue might be with xmlsec/python-xmlsec, but I'm not familiar with the inner workings of
xmlsec.template.create
to definitively say.Minimal Reproducible Example
Dockerfile
Python program in
main.py
Expected Behavior
The SAML metadata should be generated and printed
Actual Behavior
The metadata signing causes a segmentation fault
To produce expected behavior
Add
"lxml<5"
to thepip install
command in the Dockerfile and observe the metadata can be properly signedAdditional Information
The text was updated successfully, but these errors were encountered: