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

[Python] Import error (ppc64le) - Illegal instruction (core dumped) #29895

Closed
asfimport opened this issue Oct 14, 2021 · 10 comments
Closed

[Python] Import error (ppc64le) - Illegal instruction (core dumped) #29895

asfimport opened this issue Oct 14, 2021 · 10 comments

Comments

@asfimport
Copy link

Description

The bug occurs when Installing the PyArrow library with Conda.

After trying to import with Python, this error shows up:

 

Illegal instruction (core dumped)

Environment

  • Platform: Red Hat Enterprise Linux 8.2 (Ootpa) - PPC64le

  • Python version: 3.6

  • PyArrow version: pyarrow - 5.0.0 - conda-forge/linux-ppc64le::pyarrow-5.0.0-py36h7a46c7e_8_cpu

    Steps to reproduce the bug

    Installing with Conda and then trying to import the package through Python gives the error. 

    ``

    conda create --name pyarrow_py36 python=3.6
    conda activate pyarrow_py36
    conda install pyarrow

    ``

    Tracebacks

    conda create --name pyarrow_py36 python=3.6

     
    {code:java}
    Collecting package metadata (current_repodata.json): done
    Solving environment: done

    ==> WARNING: A newer version of conda exists. <==
    current version: 4.9.2
    latest version: 4.10.3
    Please update conda by running
    $ conda update -n base -c defaults conda
     

Package Plan

environment location: /p/home/gerryc/.conda/envs/pyarrow_py36
added / updated specs:

  • python=3.6

    The following NEW packages will be INSTALLED:
    _libgcc_mutex conda-forge/linux-ppc64le::_libgcc_mutex-0.1-conda_forge
    _openmp_mutex conda-forge/linux-ppc64le::_openmp_mutex-4.5-1_gnu
    ca-certificates conda-forge/linux-ppc64le::ca-certificates-2021.10.8-h1084571_0
    certifi pkgs/main/linux-ppc64le::certifi-2020.12.5-py36h6ffa863_0
    ld_impl_linux-ppc~ conda-forge/linux-ppc64le::ld_impl_linux-ppc64le-2.36.1-ha35d02b_2
    libffi conda-forge/linux-ppc64le::libffi-3.4.2-h3b9df90_4
    libgcc-ng conda-forge/linux-ppc64le::libgcc-ng-11.2.0-h7698a5e_11
    libgomp conda-forge/linux-ppc64le::libgomp-11.2.0-h7698a5e_11
    libstdcxx-ng conda-forge/linux-ppc64le::libstdcxx-ng-11.2.0-habdf983_11
    libzlib conda-forge/linux-ppc64le::libzlib-1.2.11-h339bb43_1013
    ncurses conda-forge/linux-ppc64le::ncurses-6.2-hea85c5d_4
    openssl conda-forge/linux-ppc64le::openssl-1.1.1l-h4e0d66e_0
    pip conda-forge/noarch::pip-21.3-pyhd8ed1ab_0
    python conda-forge/linux-ppc64le::python-3.6.13-h57873ef_2_cpython
    readline conda-forge/linux-ppc64le::readline-8.1-h5c45dff_0
    setuptools pkgs/main/linux-ppc64le::setuptools-58.0.4-py36h6ffa863_0
    sqlite conda-forge/linux-ppc64le::sqlite-3.36.0-h4e2196e_2
    tk conda-forge/linux-ppc64le::tk-8.6.11-h41c6715_1
    wheel conda-forge/noarch::wheel-0.37.0-pyhd8ed1ab_1
    xz conda-forge/linux-ppc64le::xz-5.2.5-h6eb9509_1
    zlib conda-forge/linux-ppc64le::zlib-1.2.11-h339bb43_1013

    Proceed ([y]/n)? y
    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: done

  1. To activate this environment, use

  1. $ conda activate pyarrow_py36

  1. To deactivate an active environment, use

  1. $ conda deactivate
    {code}
     

    conda activate pyarrow_py36

    conda install pyarrow

     
    {code:java}
    Collecting package metadata (current_repodata.json): done
    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    Collecting package metadata (repodata.json): done
    Solving environment: done

    ==> WARNING: A newer version of conda exists. <==
    current version: 4.9.2
    latest version: 4.10.3
    Please update conda by running
    $ conda update -n base -c defaults conda
     

    1. Package Plan ##
      environment location: /p/home/gerryc/.conda/envs/pyarrow_py36
      added / updated specs:
      • pyarrow

        The following NEW packages will be INSTALLED:
        abseil-cpp conda-forge/linux-ppc64le::abseil-cpp-20210324.2-h3b9df90_0
        arrow-cpp conda-forge/linux-ppc64le::arrow-cpp-5.0.0-py36hf9cf308_8_cpu
        aws-c-cal conda-forge/linux-ppc64le::aws-c-cal-0.5.11-hb3fac3d_0
        aws-c-common conda-forge/linux-ppc64le::aws-c-common-0.6.2-h4e0d66e_0
        aws-c-event-stream conda-forge/linux-ppc64le::aws-c-event-stream-0.2.7-h76da5f2_13
        aws-c-io conda-forge/linux-ppc64le::aws-c-io-0.10.5-hf6a6c7c_0
        aws-checksums conda-forge/linux-ppc64le::aws-checksums-0.1.11-hfe76d68_7
        aws-sdk-cpp conda-forge/linux-ppc64le::aws-sdk-cpp-1.8.186-h90855e8_3
        bzip2 conda-forge/linux-ppc64le::bzip2-1.0.8-h4e0d66e_4
        c-ares conda-forge/linux-ppc64le::c-ares-1.17.2-h4e0d66e_0
        gflags conda-forge/linux-ppc64le::gflags-2.2.2-hb209c28_1004
        glog conda-forge/linux-ppc64le::glog-0.5.0-h4040248_0
        grpc-cpp conda-forge/linux-ppc64le::grpc-cpp-1.40.0-h2bf711c_2
        krb5 conda-forge/linux-ppc64le::krb5-1.19.2-haf43566_2
        libblas conda-forge/linux-ppc64le::libblas-3.9.0-11_linuxppc64le_openblas
        libbrotlicommon conda-forge/linux-ppc64le::libbrotlicommon-1.0.9-h4e0d66e_5
        libbrotlidec conda-forge/linux-ppc64le::libbrotlidec-1.0.9-h4e0d66e_5
        libbrotlienc conda-forge/linux-ppc64le::libbrotlienc-1.0.9-h4e0d66e_5
        libcblas conda-forge/linux-ppc64le::libcblas-3.9.0-11_linuxppc64le_openblas
        libcurl conda-forge/linux-ppc64le::libcurl-7.79.1-he415e40_1
        libedit conda-forge/linux-ppc64le::libedit-3.1.20191231-h41a240f_2
        libev conda-forge/linux-ppc64le::libev-4.33-h6eb9509_1
        libevent conda-forge/linux-ppc64le::libevent-2.1.10-h97db324_4
        libgfortran-ng conda-forge/linux-ppc64le::libgfortran-ng-11.2.0-hfdc3801_11
        libgfortran5 conda-forge/linux-ppc64le::libgfortran5-11.2.0-he58fbb4_11
        liblapack conda-forge/linux-ppc64le::liblapack-3.9.0-11_linuxppc64le_openblas
        libnghttp2 conda-forge/linux-ppc64le::libnghttp2-1.43.0-h42039ad_1
        libopenblas conda-forge/linux-ppc64le::libopenblas-0.3.17-pthreads_h486567c_1
        libprotobuf conda-forge/linux-ppc64le::libprotobuf-3.18.1-h690f14c_0
        libssh2 conda-forge/linux-ppc64le::libssh2-1.10.0-ha5a9321_2
        libthrift conda-forge/linux-ppc64le::libthrift-0.15.0-h54f692e_1
        libutf8proc conda-forge/linux-ppc64le::libutf8proc-2.6.1-h4e0d66e_0
        lz4-c conda-forge/linux-ppc64le::lz4-c-1.9.3-h3b9df90_1
        numpy conda-forge/linux-ppc64le::numpy-1.19.5-py36h86665d4_1
        orc conda-forge/linux-ppc64le::orc-1.7.0-hae6b4bd_0
        parquet-cpp conda-forge/noarch::parquet-cpp-1.5.1-2
        pyarrow conda-forge/linux-ppc64le::pyarrow-5.0.0-py36h7a46c7e_8_cpu
        python_abi conda-forge/linux-ppc64le::python_abi-3.6-2_cp36m
        re2 conda-forge/linux-ppc64le::re2-2021.09.01-h3b9df90_0
        s2n conda-forge/linux-ppc64le::s2n-1.0.10-h97db324_0
        snappy conda-forge/linux-ppc64le::snappy-1.1.8-hb209c28_3
        zstd conda-forge/linux-ppc64le::zstd-1.5.0-h65c4b1a_0
        The following packages will be UPDATED:
        certifi pkgs/main::certifi-2020.12.5-py36h6ff~ --> conda-forge::certifi-2021.5.30-py36h270354c_0

        Proceed ([y]/n)? y
        Preparing transaction: done
        Verifying transaction: done
        Executing transaction: done

        python
        {code:java}
        Python 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:37:44) 
        [GCC 9.4.0] on linux
        Type "help", "copyright", "credits" or "license" for more information.
        >>> import pyarrow
        Illegal instruction (core dumped)

        conda list
        {code:java}

  2. packages in environment at /p/home/gerryc/.conda/envs/pyarrow_py36:

  1. Name Version Build Channel
    _libgcc_mutex 0.1 conda_forge conda-forge
    _openmp_mutex 4.5 1_gnu conda-forge
    abseil-cpp 20210324.2 h3b9df90_0 conda-forge
    arrow-cpp 5.0.0 py36hf9cf308_8_cpu conda-forge
    aws-c-cal 0.5.11 hb3fac3d_0 conda-forge
    aws-c-common 0.6.2 h4e0d66e_0 conda-forge
    aws-c-event-stream 0.2.7 h76da5f2_13 conda-forge
    aws-c-io 0.10.5 hf6a6c7c_0 conda-forge
    aws-checksums 0.1.11 hfe76d68_7 conda-forge
    aws-sdk-cpp 1.8.186 h90855e8_3 conda-forge
    bzip2 1.0.8 h4e0d66e_4 conda-forge
    c-ares 1.17.2 h4e0d66e_0 conda-forge
    ca-certificates 2021.10.8 h1084571_0 conda-forge
    certifi 2021.5.30 py36h270354c_0 conda-forge
    gflags 2.2.2 hb209c28_1004 conda-forge
    glog 0.5.0 h4040248_0 conda-forge
    grpc-cpp 1.40.0 h2bf711c_2 conda-forge
    krb5 1.19.2 haf43566_2 conda-forge
    ld_impl_linux-ppc64le 2.36.1 ha35d02b_2 conda-forge
    libblas 3.9.0 11_linuxppc64le_openblas conda-forge
    libbrotlicommon 1.0.9 h4e0d66e_5 conda-forge
    libbrotlidec 1.0.9 h4e0d66e_5 conda-forge
    libbrotlienc 1.0.9 h4e0d66e_5 conda-forge
    libcblas 3.9.0 11_linuxppc64le_openblas conda-forge
    libcurl 7.79.1 he415e40_1 conda-forge
    libedit 3.1.20191231 h41a240f_2 conda-forge
    libev 4.33 h6eb9509_1 conda-forge
    libevent 2.1.10 h97db324_4 conda-forge
    libffi 3.4.2 h3b9df90_4 conda-forge
    libgcc-ng 11.2.0 h7698a5e_11 conda-forge
    libgfortran-ng 11.2.0 hfdc3801_11 conda-forge
    libgfortran5 11.2.0 he58fbb4_11 conda-forge
    libgomp 11.2.0 h7698a5e_11 conda-forge
    liblapack 3.9.0 11_linuxppc64le_openblas conda-forge
    libnghttp2 1.43.0 h42039ad_1 conda-forge
    libopenblas 0.3.17 pthreads_h486567c_1 conda-forge
    libprotobuf 3.18.1 h690f14c_0 conda-forge
    libssh2 1.10.0 ha5a9321_2 conda-forge
    libstdcxx-ng 11.2.0 habdf983_11 conda-forge
    libthrift 0.15.0 h54f692e_1 conda-forge
    libutf8proc 2.6.1 h4e0d66e_0 conda-forge
    libzlib 1.2.11 h339bb43_1013 conda-forge
    lz4-c 1.9.3 h3b9df90_1 conda-forge
    ncurses 6.2 hea85c5d_4 conda-forge
    numpy 1.19.5 py36h86665d4_1 conda-forge
    openssl 1.1.1l h4e0d66e_0 conda-forge
    orc 1.7.0 hae6b4bd_0 conda-forge
    parquet-cpp 1.5.1 2 conda-forge
    pip 21.3 pyhd8ed1ab_0 conda-forge
    pyarrow 5.0.0 py36h7a46c7e_8_cpu conda-forge
    python 3.6.13 h57873ef_2_cpython conda-forge
    python_abi 3.6 2_cp36m conda-forge
    re2 2021.09.01 h3b9df90_0 conda-forge
    readline 8.1 h5c45dff_0 conda-forge
    s2n 1.0.10 h97db324_0 conda-forge
    setuptools 58.0.4 py36h6ffa863_0
    snappy 1.1.8 hb209c28_3 conda-forge
    sqlite 3.36.0 h4e2196e_2 conda-forge
    tk 8.6.11 h41c6715_1 conda-forge
    wheel 0.37.0 pyhd8ed1ab_1 conda-forge
    xz 5.2.5 h6eb9509_1 conda-forge
    zlib 1.2.11 h339bb43_1013 conda-forge
    zstd 1.5.0 h65c4b1a_0 conda-forge{code}

    There seems to be a similar issue here:

    https://issues.apache.org/jira/browse/ARROW-4272

    But they fix it by conda installing, which doesn't work here.

     

     

     

Environment: Platform: Red Hat Enterprise Linux 8.2 (Ootpa) - PPC64le
Python version: 3.6
PyArrow version: pyarrow - 5.0.0 - conda-forge/linux-ppc64le::pyarrow-5.0.0-py36h7a46c7e_8_cpu
Reporter: Gerardo Cervantes

Note: This issue was originally created as ARROW-14323. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Can you try under gdb to at least get a backtrace of where exactly the crash occurs?
You can do this using:

gdb --args python -c "import pyarrow"

Then under gdb type "run", it will exhibit the crash, then type "bt" to get a backtrace.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Also cc @xhochy since this is using the conda-forge packages.

@asfimport
Copy link
Author

Gerardo Cervantes:
gdb --args python -c "import pyarrow"

GNU gdb (GDB) Red Hat Enterprise Linux 8.2-12.el8
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "ppc64le-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...(no debugging symbols found)...done.
(gdb) run
Starting program: /p/home/gerryc/.conda/envs/pyarrow_py36/bin/python -c import\ pyarrow
Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-101.el8.ppc64le
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/power9/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00007ffff5890008 in ?? ()
(gdb) bt
#0 0x00007ffff5890008 in ?? ()
#1 0x00007ffff5c9a8f8 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) [clone .isra.0] ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/lib/python3.6/site-packages/pyarrow/../../../libarrow.so.500
#2 0x00007ffff5acd07c in _GLOBAL__sub_I_config.cc ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/lib/python3.6/site-packages/pyarrow/../../../libarrow.so.500
#3 0x00007ffff7fc4d30 in call_init () from /lib64/ld64.so.2
#4 0x00007ffff7fc4e8c in _dl_init () from /lib64/ld64.so.2
#5 0x00007ffff7fc962c in call_dl_init () from /lib64/ld64.so.2
#6 0x00007ffff7ae6a8c in _dl_catch_exception () from /lib64/power9/libc.so.6
#7 0x00007ffff7fca854 in dl_open_worker () from /lib64/ld64.so.2
#8 0x00007ffff7ae6a10 in _dl_catch_exception () from /lib64/power9/libc.so.6
#9 0x00007ffff7fc9cd4 in _dl_open () from /lib64/ld64.so.2
#10 0x00007ffff78e1338 in dlopen_doit () from /lib64/libdl.so.2
#11 0x00007ffff7ae6a10 in _dl_catch_exception () from /lib64/power9/libc.so.6
#12 0x00007ffff7ae6b28 in _dl_catch_error () from /lib64/power9/libc.so.6
#13 0x00007ffff78e22d0 in _dlerror_run () from /lib64/libdl.so.2
#14 0x00007ffff78e140c in dlopen@@GLIBC_2.17 () from /lib64/libdl.so.2
#15 0x00007ffff7dad128 in _PyImport_FindSharedFuncptr ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00007ffff7d75fcc in _PyImport_LoadDynamicModuleWithSpec ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#17 0x00007ffff7d729a8 in _imp_create_dynamic ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#18 0x00007ffff7c82980 in PyCFunction_Call ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#19 0x00007ffff7d4fe0c in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#20 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#21 0x00007ffff7d445ec in _PyEval_EvalCodeWithName ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#22 0x00007ffff7d44858 in fast_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#23 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#24 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#25 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#26 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#27 0x00007ffff7d44b84 in call_function ()
--Type <RET> for more, q to quit, c to continue without paging--
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#28 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#29 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#30 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#31 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#32 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#33 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#34 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#35 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#36 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#37 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#38 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#39 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#40 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#41 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#42 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#43 0x00007ffff7d5091c in _PyFunction_FastCallDict ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#44 0x00007ffff7c08a4c in _PyObject_FastCallDict ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#45 0x00007ffff7c0a0a4 in _PyObject_CallMethodIdObjArgs ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#46 0x00007ffff7d741c4 in PyImport_ImportModuleLevelObject ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#47 0x00007ffff7d502f0 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#48 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#49 0x00007ffff7d445ec in _PyEval_EvalCodeWithName ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#50 0x00007ffff7d44de4 in PyEval_EvalCodeEx ()
--Type <RET> for more, q to quit, c to continue without paging--
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#51 0x00007ffff7d44e6c in PyEval_EvalCode ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#52 0x00007ffff7d3f5ec in builtin_exec ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#53 0x00007ffff7c82980 in PyCFunction_Call ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#54 0x00007ffff7d4fe0c in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#55 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#56 0x00007ffff7d445ec in _PyEval_EvalCodeWithName ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#57 0x00007ffff7d44858 in fast_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#58 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#59 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#60 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#61 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#62 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#63 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#64 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#65 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#66 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#67 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#68 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#69 0x00007ffff7d43810 in _PyFunction_FastCall ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#70 0x00007ffff7d44b84 in call_function ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#71 0x00007ffff7d49e78 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#72 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#73 0x00007ffff7d43810 in _PyFunction_FastCall ()
--Type <RET> for more, q to quit, c to continue without paging--
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#74 0x00007ffff7d5091c in _PyFunction_FastCallDict ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#75 0x00007ffff7c08a4c in _PyObject_FastCallDict ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#76 0x00007ffff7c0a0a4 in _PyObject_CallMethodIdObjArgs ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#77 0x00007ffff7d741c4 in PyImport_ImportModuleLevelObject ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#78 0x00007ffff7d502f0 in _PyEval_EvalFrameDefault ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#79 0x00007ffff7d436d4 in PyEval_EvalFrameEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#80 0x00007ffff7d445ec in _PyEval_EvalCodeWithName ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#81 0x00007ffff7d44de4 in PyEval_EvalCodeEx ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#82 0x00007ffff7d44e6c in PyEval_EvalCode ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#83 0x00007ffff7d883cc in run_mod ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#84 0x00007ffff7d8aff0 in PyRun_StringFlags ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#85 0x00007ffff7d8b104 in PyRun_SimpleStringFlags ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#86 0x00007ffff7db0f20 in Py_Main ()
 from /p/home/gerryc/.conda/envs/pyarrow_py36/bin/../lib/libpython3.6m.so.1.0
#87 0x0000000100000f60 in main ()

@pitrou @xhochy

This is the stacktrace I got when running those commands.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Thanks. It seems the illegal instruction does not occur in Arrow itself, but in the C++ standard library. I'll let Uwe comment more.

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
This is weird, I would guess that this is happening in the allocation step but I'm also out of ideas how this could be caused.

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
You could also try and reach out on https://gitter.im/conda-forge-ppc64le/Lobby whether anyone there has an idea.

@asfimport
Copy link
Author

Gerardo Cervantes:
@xhochy  I reached out on the page you linked, and I got some responses, hopefully they help in fixing this issue.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
[~gcervantes8]  Do you still have this issue?

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
This should be fixed as this has been a compiler bug with GCC 7. We patched GCC and rebuild the arrow packages on conda-forge.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Ok, I'm closing this issue then.

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

No branches or pull requests

1 participant