raulcd commented on PR #43417:
URL: https://github.com/apache/arrow/pull/43417#issuecomment-2257963540

   I've tried to debug the `protoc` issue but I've had no luck, adding it here 
in case it can help:
   ```
   [root@17eac57d5aef flight]# gdb --args 
/opt/vcpkg/installed/x64-linux/tools/protobuf/protoc -I/arrow/cpp/../format 
--grpc_out=/tmp/arrow-build/src/arrow/flight 
--plugin=protoc-gen-grpc=/opt/vcpkg/installed/amd64-linux-static-release/../x64-linux/tools/grpc/grpc_cpp_plugin
 /arrow/cpp/../format/Flight.proto
   ...
   (gdb) set follow-fork-mode child
   (gdb) run
   Starting program: /opt/vcpkg/installed/x64-linux/tools/protobuf/protoc 
-I/arrow/cpp/../format --grpc_out=/tmp/arrow-build/src/arrow/flight 
--plugin=protoc-gen-grpc=/opt/vcpkg/installed/amd64-linux-static-release/../x64-linux/tools/grpc/grpc_cpp_plugin
 /arrow/cpp/../format/Flight.proto
   warning: Error disabling address space randomization: Operation not permitted
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib64/libthread_db.so.1".
   [Attaching after Thread 0x799b682acc00 (LWP 642) fork to child process 643]
   [New inferior 2 (process 643)]
   [Detaching after fork from parent process 642]
   [Inferior 1 (process 642) detached]
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib64/libthread_db.so.1".
   process 643 is executing new program: 
/opt/vcpkg/installed/x64-linux/tools/grpc/grpc_cpp_plugin
   
   Thread 2.1 "grpc_cpp_plugin" received signal SIGSEGV, Segmentation fault.
   [Switching to process 643]
   0x00007e16ee5638a4 in dl_main (phdr=<optimized out>, phnum=<optimized out>, 
user_entry=<optimized out>, auxv=<optimized out>) at rtld.c:1832
   1832 rtld.c: No such file or directory.
   ```
   I tried setting the following to `docker-compose.yml` as suggested on 
stackoverflow on the `Error disabling address space randomization: Operation 
not permitted` to try and remove that warning without luck (I don't think is 
related, though):
   ```diff
   diff --git a/docker-compose.yml b/docker-compose.yml
   index cf22324..674fe0a 100644
   --- a/docker-compose.yml
   +++ b/docker-compose.yml
   @@ -1132,6 +1132,10 @@ services:
          - .:/arrow:delegated
          - 
${DOCKER_VOLUME_PREFIX}python-wheel-manylinux-2-28-ccache:/ccache:delegated
        command: /arrow/ci/scripts/python_wheel_manylinux_build.sh
   +    cap_add:
   +      - SYS_PTRACE
   +    security_opt:
   +      - apparmor:unconfined
    
      python-wheel-manylinux-test-imports:
        image: ${ARCH}/python:${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