$ UBSAN_OPTIONS=halt_on_error=1 PSYCOPG_TEST_DSN="host=$(realpath ../..) dbname=test" PYTHONPATH=../psycopg-3.1.17-python3_11/install/usr/lib/python3.11/site-packages/ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PSYCOPG_IMPL=c /usr/bin/python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p anyio tests/test_copy_async.py::test_read_rows -s ===================================================================================== test session starts ====================================================================================== platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0 -- /usr/bin/python3.11 cachedir: .pytest_cache default selector: EpollSelector Server version: PostgreSQL 16.2 on powerpc64le-unknown-linux-gnu, compiled by powerpc64le-unknown-linux-gnu-gcc (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113, 64-bit libpq wrapper implementation: c libpq used: 160002 libpq compiled: 160002 rootdir: /var/tmp/portage/dev-python/psycopg-3.1.17/work/psycopg-3.1.17 configfile: pyproject.toml plugins: anyio-4.2.0 collected 4 items tests/test_copy_async.py::test_read_rows[asyncio-names-0] PASSED tests/test_copy_async.py::test_read_rows[asyncio-names-1] psycopg_c/_psycopg.c:19287:21: runtime error: load of misaligned address 0x000144ecf413 for type 'uint16_t', which requires 2 byte alignment 0x000144ecf413: note: pointer points here 00 00 00 00 00 03 00 00 00 04 00 00 00 0a 00 00 00 05 68 65 6c 6c 6f 00 00 00 2c 00 00 00 01 00 ^ 2024-02-09 22:05:25.696 GMT [16183] LOG: unexpected EOF on client connection with an open transaction