Skip to content

Segfault when testing test_reinitialize_module #203

Description

@mweinelt

With xmlsec 1.2.33, typing_extensions 4.1.1, mypy_extensions 0.4.3. Excluding test_xmlsec.py makes the remaining test work. Trying to pin-point the package update that broke this.

============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-7.0.1, pluggy-1.0.0
rootdir: /build/xmlsec-1.3.12
plugins: hypothesis-6.38.0
collected 165 items / 1 skipped / 164 selected                                 

tests/test_xmlsec.py Fatal Python error: Segmentation fault

Current thread 0x00007ffff7832b80 (most recent call first):
  File "/build/xmlsec-1.3.12/tests/test_xmlsec.py", line 14 in test_reinitialize_module
  File "/nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/lib/python3.9/unittest/case.py", line 550 in _callTestMethod
  File "/nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/lib/python3.9/unittest/case.py", line 592 in run
  File "/build/xmlsec-1.3.12/tests/base.py", line 57 in run
  File "/nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/lib/python3.9/unittest/case.py", line 651 in __call__
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/unittest.py", line 327 in runtest
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 168 in pytest_runtest_call
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 261 in <lambda>
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 340 in from_call
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 260 in call_runtest_hook
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 221 in call_and_report
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 132 in runtestprotocol
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/main.py", line 322 in _main
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/nix/store/iwbyv0fk6sx0ihshpf0pw1ligp1qmdwg-python3.9-pluggy-1.0.0/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/config/__init__.py", line 165 in main
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/_pytest/config/__init__.py", line 188 in console_main
  File "/nix/store/6c9iqs6x50545pd3sg6qjbv01h8lwzaw-python3.9-pytest-7.0.1/lib/python3.9/site-packages/pytest/__main__.py", line 5 in <module>
  File "/nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/lib/python3.9/runpy.py", line 87 in _run_code
  File "/nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/lib/python3.9/runpy.py", line 197 in _run_module_as_main
/nix/store/jwmvl741k8md09cfhwf9bds380123vqv-pytest-check-hook/nix-support/setup-hook: line 53:   211 Segmentation fault      (core dumped) /nix/store/4nc88s687709yzy8pz7k987fpzhfbj0f-python3-3.9.10/bin/python3.9 -m pytest --ignore="tests/test_doc_examples.py" --deselect=tests/test_xmlsec.py::test_reinitialize_module
builder for '/nix/store/2zrv3w28bkrw010hq1720nxrsv625ryg-python3.9-xmlsec-1.3.12.drv' failed with exit code 139

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions