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

Segmentation fault when importing xmlschema #427

Open
eroos1972 opened this issue Nov 26, 2024 · 0 comments
Open

Segmentation fault when importing xmlschema #427

eroos1972 opened this issue Nov 26, 2024 · 0 comments

Comments

@eroos1972
Copy link

eroos1972 commented Nov 26, 2024

I get an segmentation fault when I import xmlschema. I'm running python3 on a RHEL8 machine. The version of xmlschema is 3.4.3. Below the output when I run:

python3 -X faulthandler -c "import xmlschema"
Fatal Python error: Segmentation fault

Current thread 0x00007fec75c45740 (most recent call first):
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/namespaces.py", line 97 in <dictcomp>
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/namespaces.py", line 97 in __init__
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/converters/default.py", line 155 in __init__
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 1153 in get_converter
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 421 in __init__
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 1437 in import_schema
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 830 in create_meta_schema
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 136 in __new__
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/schemas.py", line 2271 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/validators/__init__.py", line 38 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1042 in _handle_fromlist
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/dataobjects.py", line 25 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "/home/eroos/.local/lib/python3.8/site-packages/xmlschema/__init__.py", line 22 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 783 in exec_module
  File "<frozen importlib._bootstrap>", line 671 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 975 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 991 in _find_and_load
  File "<string>", line 1 in <module>
/python3: line 16: 21719 Segmentation fault      (core dumped) `basename $0` "$@"
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