Bug#936076: python3-numba: numba segfaults when run with python 3.7.4 at numba/_dynfunc.c:52

Diane Trout diane at ghic.org
Thu Aug 29 21:57:05 BST 2019


Package: python3-numba
Version: 0.42.0-1
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

Attempting to run any numba code immediately segfaults when running with python
3.7.4.

I found this upstream bug report.
https://github.com/numba/numba/pull/4328

"CPython 3.7.3->3.7.4 changed the size of PyGC_Head, the macro
_PyObject_GC_UNTRACK relied on calling sizeof() on that struct, as it is a
macro it got baked in at compile time and then segfaults happen across the
point version change as the struct size changed."

The simplist solution is to rebuild with python 3.7.4... though then it'll
crash with earlier versions.

Diane



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'oldstable-debug'), (500, 'testing'), (500, 'stable'), (110, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-numba depends on:
ii  libc6                               2.28-10
ii  libgcc1                             1:9.2.1-4
ii  libgomp1                            9.2.1-4
ii  libstdc++6                          9.2.1-4
ii  libtbb2                             2019~U8-1
ii  python3                             3.7.3-1
ii  python3-llvmlite                    0.27.0-2
ii  python3-numpy [python3-numpy-abi9]  1:1.16.2-1+b1

Versions of packages python3-numba recommends:
ii  numba-doc  0.42.0-1

Versions of packages python3-numba suggests:
pn  nvidia-cuda-toolkit  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list