Skip to content

Testsuite crashes when running on sparc64 due to unaligned access (Bus error) #289

Description

@glaubitz

The testsuite crashes when running on sparc64 due to unaligned access (Bus error):

============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /build/reproducible-path/python-pyglm-2.8.2/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collecting ... collected 179 items

test/PyGLM_test.py::test_specific PASSED                                 [  0%]
test/PyGLM_test.py::test_custom PASSED                                   [  1%]
test/PyGLM_test.py::test_vec1_types PASSED                               [  1%]
test/PyGLM_test.py::test_vec2_types PASSED                               [  2%]
test/PyGLM_test.py::test_vec3_types PASSED                               [  2%]
test/PyGLM_test.py::test_vec4_types PASSED                               [  3%]
test/PyGLM_test.py::test_mat_types PASSED                                [  3%]
test/PyGLM_test.py::test_quat_types PASSED                               [  4%]
test/PyGLM_test.py::test_dquat_types PASSED                              [  5%]
test/PyGLM_test.py::test_array_types PASSED                              [  5%]
test/PyGLM_test.py::test_repr_eval Fatal Python error: Bus error

Current thread 0xfff800010002cec0 (most recent call first):
  File "<string>", line 1 in <module>
  File "/build/reproducible-path/python-pyglm-2.8.2/.pybuild/cpython3_3.13/build/test/PyGLM_test.py", line 666 in <lambda>
  File "/build/reproducible-path/python-pyglm-2.8.2/.pybuild/cpython3_3.13/build/test/PyGLM_test.py", line 461 in fassert
  File "/build/reproducible-path/python-pyglm-2.8.2/.pybuild/cpython3_3.13/build/test/PyGLM_test.py", line 666 in test_repr_eval
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 157 in pytest_pyfunc_call
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1671 in runtest
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 178 in pytest_runtest_call
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 246 in <lambda>
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 344 in from_call
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 245 in call_and_report
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 136 in runtestprotocol
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 117 in pytest_runtest_protocol
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 367 in pytest_runtestloop
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 343 in _main
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 289 in wrap_session
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 336 in pytest_cmdline_main
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175 in main
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Extension modules: pyglm.glm (total: 1)
Bus error
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=138: cd /build/reproducible-path/python-pyglm-2.8.2/.pybuild/cpython3_3.13/build; {interpreter} -m pytest --verbose test/PyGLM_test.py

Full build log available at: https://buildd.debian.org/status/fetch.php?pkg=python-pyglm&arch=sparc64&ver=2.8.2-2&stamp=1762636679&raw=0

This is usually easy to debug and fix with the help of GDB.

Access to a SPARC machine is available through the GCC Compile Farm: https://gcc.gnu.org/wiki/CompileFarm

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions