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

fix segfault #1135

Merged
merged 1 commit into from
Feb 22, 2024
Merged

fix segfault #1135

merged 1 commit into from
Feb 22, 2024

Conversation

tbotnz
Copy link
Contributor

@tbotnz tbotnz commented Jan 16, 2024

addresses this issue with python3-saml

[2024-01-12 03:56:51,024] - [netbox.config:28] - [DEBUG] Initialized configuration Fatal Python error: Segmentation fault Current thread 0x00007fd702fec940 (most recent call first): File "/opt/netbox/venv/lib/python3.11/site-packages/onelogin/saml2/utils.py", line 826 in validate_sign File "/opt/netbox/venv/lib/python3.11/site-packages/onelogin/saml2/utils.py", line 48 in exceptfalse File "/opt/netbox/venv/lib/python3.11/site-packages/onelogin/saml2/response.py", line 312 in is_valid File "/opt/netbox/venv/lib/python3.11/site-packages/onelogin/saml2/auth.py", line 131 in process_response File "/opt/netbox/venv/lib/python3.11/site-packages/social_core/backends/saml.py", line 334 in auth_complete File "/opt/netbox/venv/lib/python3.11/site-packages/social_core/backends/base.py", line 39 in complete File "/opt/netbox/venv/lib/python3.11/site-packages/social_core/actions.py", line 49 in do_complete File "/opt/netbox/venv/lib/python3.11/site-packages/social_django/views.py", line 31 in complete File "/opt/netbox/venv/lib/python3.11/site-packages/social_django/utils.py", line 49 in wrapper File "/opt/netbox/venv/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 56 in wrapper_view File "/opt/netbox/venv/lib/python3.11/site-packages/django/views/decorators/cache.py", line 62 in _wrapper_view_func File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 197 in _get_response File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/netbox/netbox/middleware.py", line 191 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/netbox/netbox/middleware.py", line 47 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/corsheaders/middleware.py", line 56 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/utils/deprecation.py", line 134 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/debug_toolbar/middleware.py", line 49 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/graphiql_debug_toolbar/middleware.py", line 70 in __call__ File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55 in inner File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 140 in get_response File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/handlers/wsgi.py", line 124 in __call__ Extension modules: charset_normalizer.md, psycopg_c.pq, psycopg_c._psycopg, yaml._yaml, markupsafe._speedups, _ldap, lxml._elementpath, lxml.etree, xmlsec (total: 9) 2024/01/12 03:56:51 [alert] 19#19 app process 20 exited on signal 11 (core dumped)

SAML-Toolkits/python3-saml#389

@tbotnz tbotnz changed the base branch from release to develop January 16, 2024 19:30
@tobiasge tobiasge merged commit 3773304 into netbox-community:develop Feb 22, 2024
9 checks passed
@tobiasge tobiasge mentioned this pull request May 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants