Skip to content

[Python] a segfault on import pyarrow on MacOS 11.6 after pip update to pyarrow version 16.1.0  #41696

Description

@ianna

Describe the bug, including details regarding any error messages, version, and platform.

Hi,

I running into an issue with a newly released 16.1.0 version. The 16.0.0 works without issues, but updating to 16.1.0 causes a segfault. Any help is greatly appreciated. Thanks!

  • Python 3.11.5
  • Clang 14.0.6
  • MacOS 11.6 (x86_64)
 % conda list
# packages in environment at /Users/yana/anaconda3/envs/pyarrow-test:## Name Version Build Channel
blas 1.0 mkl bottleneck 1.3.7 py311hb3a5e46_0 bzip2 1.0.8 h6c40b1e_6 ca-certificates 2024.3.11 hecd8cb5_0 intel-openmp 2023.1.0 ha357a0b_43548 libcxx 14.0.6 h9765a3e_0 libffi 3.4.4 hecd8cb5_1 mkl 2023.1.0 h8e150cf_43560 mkl-service 2.4.0 py311h6c40b1e_1 mkl_fft 1.3.8 py311h6c40b1e_0 mkl_random 1.2.4 py311ha357a0b_0 ncurses 6.4 hcec6c5f_0 numexpr 2.8.7 py311h728a8a3_0 numpy 1.26.4 py311h728a8a3_0 numpy-base 1.26.4 py311h53bf9ac_0 openssl 3.0.13 hca72f7f_1 pandas 2.2.1 py311hdb55bb0_0 pip 24.0 py311hecd8cb5_0 pyarrow 16.1.0 pypi_0 pypi
python 3.11.5 hf27a42d_0 python-dateutil 2.9.0post0 py311hecd8cb5_0 python-tzdata 2023.3 pyhd3eb1b0_0 pytz 2024.1 py311hecd8cb5_0 readline 8.2 hca72f7f_0 setuptools 69.5.1 py311hecd8cb5_0 six 1.16.0 pyhd3eb1b0_1 sqlite 3.45.3 h6c40b1e_0 tbb 2021.8.0 ha357a0b_0 tk 8.6.14 h4d00af3_0 tzdata 2024a h04d1e81_0 wheel 0.43.0 py311hecd8cb5_0 xz 5.4.6 h6c40b1e_1 zlib 1.2.13 h4b97444_1 
% python
Python 3.11.5 (main, Sep 11 2023, 08:19:27) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license"for more information.
>>> import pyarrow
zsh: segmentation fault python

The test_pyarrow.py has only one line: import pyarrow:

% lldb python test_pyarrow.py (lldb) target create "python"
Current executable set to '/Users/yana/anaconda3/bin/python' (x86_64).
(lldb) settings set -- target.run-args "test_pyarrow.py"
(lldb) run
Process 35199 launched: '/Users/yana/anaconda3/bin/python' (x86_64)
Process 35199 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000129c8685e libarrow.1601.dylib`malloc_conf_init_helper + 302
libarrow.1601.dylib`malloc_conf_init_helper:-> 0x129c8685e <+302>: movzbl (%rbx), %eax 0x129c86861 <+305>: testb %al, %al 0x129c86863 <+307>: je 0x129c8936e ;<+11326> 0x129c86869 <+313>: movq %rbx, %rcx(lldb) exit

Component(s)

Python, Release

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions