donatobarone opened a new issue, #38519: URL: https://github.com/apache/arrow/issues/38519
### Describe the usage question you have. Please include as many useful details as possible. Hi, I have been trying to get access to the symbols of this dylib for a while now and failed miserably. I have followed the guide for developers at this link https://arrow.apache.org/docs/dev/developers/python.html and I have successfully built and generated a pyarrow package locally that I can use in my pyenv. I was successfully able to print symbols and debug the source code files for some of the other dylib (e.g. libarrow_flight.1400.dylib) but when I get to libarrow_python_flight.dylib which is where I am getting a segmentation fault that I am trying to debug, I just see assembly. I have built the lib with the following options: ```bash cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Debug \ -DARROW_BUILD_TESTS=ON \ -DARROW_COMPUTE=ON \ -DARROW_CSV=ON \ -DARROW_DATASET=ON \ -DARROW_FILESYSTEM=ON \ -DARROW_HDFS=ON \ -DARROW_JSON=ON \ -DARROW_PARQUET=ON \ -DARROW_WITH_BROTLI=ON \ -DARROW_WITH_BZ2=ON \ -DARROW_WITH_LZ4=ON \ -DARROW_WITH_SNAPPY=ON \ -DARROW_WITH_ZLIB=ON \ -DARROW_WITH_ZSTD=ON \ -DPARQUET_REQUIRE_ENCRYPTION=ON \ -DARROW_FLIGHT=ON \ .. ``` And with the following env variables when building pyarrow: ```bash export PYARROW_WITH_PARQUET=1 export PYARROW_WITH_DATASET=1 export PYARROW_PARALLEL=4 export PYARROW_WITH_ARROW_FLIGHT=1 export PYARROW_WITH_FLIGHT=1 export PYARROW_BUNDLE_CYTHON_CPP=1 export PYARROW_BUILD_FLIGHT=1 export PYARROW_BUNDLE_ARROW_CPP=1 ``` As visible from the screenshot I am able to see the source code and access the variables in that frame for some dylib, but not for the one I want:  Only assembly seems to be available. I am working on a: - Mac M1 with Ventura 13.6. - Python 3.11 I appreciate any help you could give. Thanks ### Component(s) C++, FlightRPC, 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]
