[ 
https://issues.apache.org/jira/browse/ARROW-12225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316203#comment-17316203
 ] 

Yannik Schälte edited comment on ARROW-12225 at 4/7/21, 10:32 AM:
------------------------------------------------------------------

Thanks, that seems to work (core file can be created). I now ran an "import 
pyarrow" script in "gdb python", which seems to work either way (?). Output is:

```
(gdb) run test.py 
Starting program: /mnt/home/me/miniconda3_amd/envs/slad/bin/python test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00007f91998f83fd in _GLOBAL__sub_I_unity_10_cxx.cxx () from 
/mnt/home/me/miniconda3_amd/envs/slad/lib/python3.8/site-packages/pyarrow/libarrow.so.200
```
Attached are "bt" and "py-bt" stacktraces (the latter not too informative I 
guess).   [^bt.txt]  [^py-bt.txt] 

By the way: I can circumvent the use of pyarrow on this system now, so it's not 
critical for me if this is too tedious too investigate / does not occur on 
other systems.



was (Author: yannikschaelte):
Thanks, that seems to work (core file can be created). I now ran an "import 
pyarrow" script in "gdb python", which seems to work either way (?). Output is:

```
(gdb) run test.py 
Starting program: /mnt/home/me/miniconda3_amd/envs/slad/bin/python test.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
0x00007f91998f83fd in _GLOBAL__sub_I_unity_10_cxx.cxx () from 
/mnt/home/icb/yannik.schaelte/miniconda3_amd/envs/slad/lib/python3.8/site-packages/pyarrow/libarrow.so.200
```
Attached are "bt" and "py-bt" stacktraces (the latter not too informative I 
guess).   [^bt.txt]  [^py-bt.txt] 

By the way: I can circumvent the use of pyarrow on this system now, so it's not 
critical for me if this is too tedious too investigate / does not occur on 
other systems.


> Illegal Instruction error on import pyarrow on AMD system
> ---------------------------------------------------------
>
>                 Key: ARROW-12225
>                 URL: https://issues.apache.org/jira/browse/ARROW-12225
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 3.0.0
>         Environment: CentOS, Miniconda, python 3.8.8, pyarrow 3.0.0 (previous 
> versions same problem), AMD Opteron 6128 CPU (no problem on Intel Xeon)
>            Reporter: Yannik Schälte
>            Priority: Major
>         Attachments: bt.txt, py-bt.txt
>
>
> On a machine with AMD processor, an "Illegal Instruction" error occurs 
> directly on "import pyarrow", no further information is given.
> The same setup works on other machines (all of which have various Intel 
> processors). Happy to provide further details, not sure what's needed, any 
> indication what could be the cause are welcome.
>  
> To reproduce:
> ```
> wget [https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh]
> bash Miniconda3_latest-Linux-x86_64.sh
> pip install pyarrow -y
> python -c "import pyarrow"
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to