FS#73568 - [python-pandas] Importing pandas crashes python with SIGILL on AMD A6-7310
Attached to Project:
Community Packages
Opened by Klaus Alexander Seistrup (kseistrup) - Sunday, 30 January 2022, 20:17 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Opened by Klaus Alexander Seistrup (kseistrup) - Sunday, 30 January 2022, 20:17 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
|
Details
Description:
Just importing `pandas` crashes the python interpreter with a SIGILL (illegal instruction) on my AMD A6-7310 (CPU model 48) with the latest `core/python` and `community/python-pandas` installed. I then built `python-pandas` from the official `PKGBUILD` file in the hope that `gcc` would pick compiler optimizations geared towards the specific CPU, with the same result: SIGILL. (Importing `numpy` alone works.) Interestingly, using `pip` to install `pandas` (`sudo pip install pandas`) gave me a working version of `pandas`. However, `pip` installs `numpy=1.22.1`, which is different from Arch's `extra/python-numpy 1.21.5-2`. Additional info: * package version(s) ** `community/python-pandas 1.4.0-1` ** `core/python 3.10.2-1` * config and/or log files etc. ** Coredump listing: https://0bin.net/paste/QDe1O6cs#aY1jCcU7kf8ocKBwZLhiVrKT7iERiFkoHa1L-0BtHFJ ** Output from `lscpu`: https://0bin.net/paste/xRIDLdLx#AqXqLfcyJVBqAQdzVHu9cGmHSfzObRZLm-+5MH5DIvw * link to upstream bug report, if any ** N/A as this seems to be ArchLinux specific Steps to reproduce: 1. Install python and python-pandas 2. Start python interactively 3. At the prompt, type “import pandas“ and press RETURN 4. Python crashes, shell says “Illegal instruction (core dumped)” or similar, depending on actual shell. ---- Conversation on Reddit's `r/archlinux`: * https://www.reddit.com/r/archlinux/comments/sfs18e/python_importing_pandas_crashes_python_with_sigill/ |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-pandas/issues/1
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-pandas/issues/1
If I use Arch's python-numpy, I can import numpy itself without problems.
So there does seem to be some sort of clash between Arch's current python-numpy (python-numpy-1.21.5-2) and pandas.