Skip to content

Windows ci test runs fail silently with a segfault #2314

@itziakos

Description

@itziakos

The windows (https://github.com/serge-sans-paille/pythran/blob/master/.github/workflows/windows.yml) workflow segfaults when running pythran/tests/test_ndarray.py::TestNdarray::test_complex_conversion, but the run continues (proably because the commands are running on cmd batch file) and finally reports that there are no errors.

pythran/tests/test_ndarray.py::TestNdarray::test_combiner_2 PASSED       [ 10%]
Windows fatal exception: access violation

Current thread 0x000013fc (most recent call first):
  File "D:\a\pythran\pythran\pythran\tests\__init__.py", line 198 in run_pythran
  File "D:\a\pythran\pythran\pythran\tests\__init__.py", line 322 in run_test
  File "D:\a\pythran\pythran\pythran\tests\test_ndarray.py", line 10[49](https://github.com/serge-sans-paille/pythran/actions/runs/14627863999/job/41043657957#step:8:50) in test_complex_conversion0
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\unittest\case.py", line 628 in run
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\unittest\case.py", line 676 in __call__
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\unittest.py", line 333 in runtest
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 169 in pytest_runtest_call
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_callers.py", line 80 in _multicall
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_manager.py", line 112 in _hookexec
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_hooks.py", line 433 in __call__
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 262 in call_runtest_hook
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_callers.py", line 80 in _multicall
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_manager.py", line 112 in _hookexec
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_hooks.py", line 433 in __call__
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\main.py", line 3[50](https://github.com/serge-sans-paille/pythran/actions/runs/14627863999/job/41043657957#step:8:51) in pytest_runtestloop
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_callers.py", line 80 in _multicall
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_manager.py", line 112 in _hookexec
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_hooks.py", line 433 in __call__
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\main.py", line 325 in _main
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_callers.py", line 80 in _multicall
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_manager.py", line 112 in _hookexec
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\pluggy\_hooks.py", line 433 in __call__
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\config\__init__.py", line 170 in main
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\_pytest\config\__init__.py", line 192 in console_main
  File "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\pytest.exe\__main__.py", line 7 in <module>
  File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\runpy.py", line 85 in _run_code
  File "c:\hostedtoolcache\windows\python\3.7.9\x[64](https://github.com/serge-sans-paille/pythran/actions/runs/14627863999/job/41043657957#step:8:65)\lib\runpy.py", line 193 in _run_module_as_main
pythran/tests/test_ndarray.py::TestNdarray::test_complex_conversion0

see (https://github.com/serge-sans-paille/pythran/actions/runs/14627863999/job/41043657957)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions