essandess opened a new issue, #37010:
URL: https://github.com/apache/arrow/issues/37010

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The `pyarrow` packages create a segfault on import when compiled on macOS 
boxes. This happens on macOS `arm64` and `x86_64`, using (at least) version 
12.0.0 and 13.0.0.
   
   Context: I am trying to update the MacPorts `apache-arrow` ports at 
https://github.com/macports/macports-ports/pull/19664 and discovered this 
issue. MacPorts uses the `apache-arrow` build instructions and approach in 
[python.rst#build-and-test](https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst#build-and-test)
 and 
[python_wheel_macos_build.sh](https://github.com/apache/arrow/blob/main/ci/scripts/python_wheel_macos_build.sh).
   
   Behavior:
   
   ```sh
   $ port installed py310-pyarrow
   The following ports are currently installed:
     py310-pyarrow @12.0.0_3 (active)
   
   $ PYTHONFAULTHANDLER=1 python3.10 -c 'import pyarrow'
   Fatal Python error: Segmentation fault
   
   Current thread 0x00007ff84d123700 (most recent call first):
     File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
     File "<frozen importlib._bootstrap_external>", line 1176 in create_module
     File "<frozen importlib._bootstrap>", line 571 in module_from_spec
     File "<frozen importlib._bootstrap>", line 674 in _load_unlocked
     File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
     File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyarrow/__init__.py",
 line 65 in <module>
     File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
     File "<frozen importlib._bootstrap_external>", line 883 in exec_module
     File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
     File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
     File "<string>", line 1 in <module>
   Segmentation fault: 11
   ```
   
   
   ### Component(s)
   
   Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to