Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: test_green_device crashes with Python 3.12 on ppc64le #1880

Open
opoplawski opened this issue Jun 24, 2023 · 0 comments
Open

BUG: test_green_device crashes with Python 3.12 on ppc64le #1880

opoplawski opened this issue Jun 24, 2023 · 0 comments

Comments

@opoplawski
Copy link

What pyzmq version?

25.1.0

What libzmq version?

4.3.4

Python version (and how it was installed)

Python 3.12b3

OS

Fedora Rawhide

What happened?

BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/tests/test_device.py::TestDeviceGreen::test_green_device Fatal Python error: Aborted
Thread 0x00007fff757af120 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 236 in run_device
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 247 in run
  File "/usr/lib64/python3.12/threading.py", line 989 in run
  File "/usr/lib64/python3.12/threading.py", line 1052 in _bootstrap_inner
  File "/usr/lib64/python3.12/threading.py", line 1009 in _bootstrap
Thread 0x00007fff577ef120 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 236 in run_device
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 247 in run
  File "/usr/lib64/python3.12/threading.py", line 989 in run
  File "/usr/lib64/python3.12/threading.py", line 1052 in _bootstrap_inner
  File "/usr/lib64/python3.12/threading.py", line 1009 in _bootstrap
Thread 0x00007fff8caff120 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 236 in run_device
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 247 in run
  File "/usr/lib64/python3.12/threading.py", line 989 in run
  File "/usr/lib64/python3.12/threading.py", line 1052 in _bootstrap_inner
  File "/usr/lib64/python3.12/threading.py", line 1009 in _bootstrap
Thread 0x00007fff8eb8f120 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 236 in run_device
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 247 in run
  File "/usr/lib64/python3.12/threading.py", line 989 in run
  File "/usr/lib64/python3.12/threading.py", line 1052 in _bootstrap_inner
  File "/usr/lib64/python3.12/threading.py", line 1009 in _bootstrap
Thread 0x00007fff57fff120 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/proxydevice.py", line 75 in run_device
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/devices/basedevice.py", line 247 in run
  File "/usr/lib64/python3.12/threading.py", line 989 in run
  File "/usr/lib64/python3.12/threading.py", line 1052 in _bootstrap_inner
  File "/usr/lib64/python3.12/threading.py", line 1009 in _bootstrap
Current thread 0x00007fff938b3b80 (most recent call first):
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/green/core.py", line 183 in _wait_read
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/green/core.py", line 268 in recv
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/sugar/socket.py", line 805 in recv_multipart
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/green/core.py", line 284 in recv_multipart
  File "/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages/zmq/green/device.py", line 33 in device
Extension modules: zmq.backend.cython.context, zmq.backend.cython.message, zmq.backend.cython.socket, zmq.backend.cython._device, zmq.backend.cython._poll, zmq.backend.cython._proxy_steerable, zmq.backend.cython._version, zmq.backend.cython.error, zmq.backend.cython.utils, greenlet._greenlet, zope.interface._zope_interface_coptimizations, gevent.libev.corecext, gevent._gevent_c_greenlet_primitives, gevent._gevent_c_hub_local, gevent._gevent_c_waiter, gevent._gevent_c_hub_primitives, gevent._gevent_c_ident, gevent._gevent_cgreenlet, gevent._gevent_c_abstract_linkable, gevent._gevent_cevent, tornado.speedups, zmq.devices.monitoredqueue (total: 22)
RPM build errors:
/var/tmp/rpm-tmp.oUyMDR: line 55:  2388 Aborted                 (core dumped) CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" PATH="/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/bin:$PATH" PYTHONPATH="${PYTHONPATH:-/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-zmq-25.1.0-1.fc39.ppc64le/usr/lib/python3.12/site-packages}" PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} --ignore=/builddir/build/BUILD/pyzmq-25.1.0/.pyproject-builddir" PYTEST_XDIST_AUTO_NUM_WORKERS=8 /usr/bin/pytest --pyargs zmq --asyncio-mode auto -v
error: Bad exit status from /var/tmp/rpm-tmp.oUyMDR (%check)
    Bad exit status from /var/tmp/rpm-tmp.oUyMDR (%check)

Code to reproduce bug

No response

Traceback, if applicable

No response

More info

This was also seen with pyzmq 24.0.1 but seems to be new with Python 3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant