The MS SQL Server unit test _test_tvp() is failing with a segmentation fault on all Linux builds, and with an access violation error on Windows builds. Here is a fragment of the output from Github Action "Ubuntu build":
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-7.4.4, pluggy-1.6.0
rootdir: /home/runner/work/pyodbc/pyodbc
collected 98 items
tests/sqlserver_test.py ................................................ [ 48%]
Fatal Python error: Segmentation fault
Current thread 0x00007f4fa725db80 [python] (most recent call first):
File "/home/runner/work/pyodbc/pyodbc/tests/sqlserver_test.py", line 1607 in _test_tvp
File "/home/runner/work/pyodbc/pyodbc/tests/sqlserver_test.py", line 1613 in test_tvp
File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
File "/opt/hostedtoolcache/Python/3.14.2/x64/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
This appears to be the only unit test that is failing.
I tried incorporating the @bkline fix from PR #1452 , but the tests still crashed out with a segmentation fault.
This issue may well be related to issue #1450 raised last November.
This error is kinda odd because no pyodbc app code has actually changed since the tests ran successfully last December, but the tests do fail every time. The error is not intermittent.
The MS SQL Server unit test
_test_tvp()is failing with a segmentation fault on all Linux builds, and with an access violation error on Windows builds. Here is a fragment of the output from Github Action "Ubuntu build":This appears to be the only unit test that is failing.
I tried incorporating the @bkline fix from PR #1452 , but the tests still crashed out with a segmentation fault.
This issue may well be related to issue #1450 raised last November.
This error is kinda odd because no pyodbc app code has actually changed since the tests ran successfully last December, but the tests do fail every time. The error is not intermittent.