segfault while building 0.4.2-post3 for nixpkgs. Happens on Darwin (MacOS) and Linux.
============================= test session starts ==============================
platform darwin -- Python 3.14.2, pytest-8.4.2, pluggy-1.6.0 -- /nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/bin/python3.14
cachedir: .pytest_cache
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /nix/var/nix/builds/nix-build-python3.14-gilknocker-0.4.2-post3.drv-0/b/source
configfile: pyproject.toml
plugins: benchmark-5.2.3, rerunfailures-16.0.1
collected 22 items
benchmarks/test_bench.py::test_bench[a_lotta_gil-None] PASSED [ 4%]
benchmarks/test_bench.py::test_bench[a_lotta_gil-1] Fatal Python error: Segmentation fault
Current thread 0x0000000208d76c40 (most recent call first):
File "/nix/var/nix/builds/nix-build-python3.14-gilknocker-0.4.2-post3.drv-0/b/source/benchmarks/test_bench.py", line 32 in test_bench
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/python.py", line 157 in pytest_pyfunc_call
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/python.py", line 1671 in runtest
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/runner.py", line 178 in pytest_runtest_call
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/runner.py", line 246 in <lambda>
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/runner.py", line 344 in from_call
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/runner.py", line 245 in call_and_report
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/runner.py", line 136 in runtestprotocol
File "/nix/store/si9xaamkpsnl3yylbby52r4l5k940br0-python3.14-pytest-rerunfailures-16.0.1/lib/python3.14/site-packages/pytest_rerunfailures.py", line 565 in pytest_runtest_protocol
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/main.py", line 367 in pytest_runtestloop
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/main.py", line 343 in _main
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/main.py", line 289 in wrap_session
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/main.py", line 336 in pytest_cmdline_main
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
File "/nix/store/03sjzj10wqjr3fjhn7df4r9r4x2i0i91-python3.14-pluggy-1.6.0/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/config/__init__.py", line 175 in main
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-packages/_pytest/config/__init__.py", line 201 in console_main
File "/nix/store/hbyxhww3zmaqqf44rpif52pphiprrp1f-python3.14-pytest-8.4.2/lib/python3.14/site-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
Current thread's C stack trace (most recent call first):
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _Py_DumpStack+0x74 [0x102cc24d8]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at faulthandler_fatal_error+0x3e4 [0x102cdc5d8]
Binary file "/usr/lib/system/libsystem_platform.dylib", at _sigtramp+0x38 [0x19be5f744]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at PyNumber_Index+0x14 [0x102a3e85c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at PyNumber_Index+0x14 [0x102a3e85c]
Binary file "/nix/store/qlr0lc79nrbmlq05cw9ld9064vfc735x-python3.14-gilknocker-0.4.2-post3/lib/python3.14/site-packages/gilknocker/gilknocker.cpython-314-darwin.so", at PyInit_gilknocker+0x16890 [0x109303648]
Binary file "/nix/store/qlr0lc79nrbmlq05cw9ld9064vfc735x-python3.14-gilknocker-0.4.2-post3/lib/python3.14/site-packages/gilknocker/gilknocker.cpython-314-darwin.so", at PyInit_gilknocker+0xca4 [0x1092eda5c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at type_call+0x54 [0x102b1eb24]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_MakeTpCall+0x168 [0x102a63e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x2148 [0x102bf6728]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x102bf4364]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x102a63af0]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at slot_tp_call+0xd8 [0x102b26a08]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_MakeTpCall+0x168 [0x102a63e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x482c [0x102bf8e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x102bf4364]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x102a63af0]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at slot_tp_call+0xd8 [0x102b26a08]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_Call+0xc0 [0x102a64ba8]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x374c [0x102bf7d2c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x102bf4364]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x102a63af0]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at slot_tp_call+0xd8 [0x102b26a08]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_MakeTpCall+0x168 [0x102a63e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x482c [0x102bf8e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x102bf4364]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x102a63af0]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at slot_tp_call+0xd8 [0x102b26a08]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_MakeTpCall+0x168 [0x102a63e0c]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_EvalFrameDefault+0x41d8 [0x102bf87b8]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyEval_Vector+0x2d4 [0x102bf4364]
Binary file "/nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/lib/libpython3.14.dylib", at _PyObject_VectorcallDictTstate+0xa0 [0x102a63af0]
<truncated rest of calls>
Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg (total: 2)
/nix/store/pc90iam7r2hvivzhk79sy8mm5xvxqw7k-pytest-check-hook/nix-support/setup-hook: line 23: 56147 Segmentation fault: 11 /nix/store/0iw3akzx6ygiqzpxi9s422sc2fl6190g-python3-3.14.2/bin/python3.14 "${flagsArray[@]}"
segfault while building 0.4.2-post3 for nixpkgs. Happens on Darwin (MacOS) and Linux.