You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Forsworns (via GitHub)" <gi...@apache.org> on 2025/09/10 16:53:49 UTC

Re: [I] [Python] Segmentation fault occurs on libarrow load when using the pyarrow 17.0.0 arm64 wheel [arrow]

Forsworns commented on issue #44342:
URL: https://github.com/apache/arrow/issues/44342#issuecomment-3275748160

   @vyasr @Tom-Newton I met similar problem on x86 platform. And it disappeared with `pyarrow==21.0.0`, too. My coredumps also indicated that jemalloc `background_thread_entry` segfaults on the return of `__tls_get_addr`. My reproduce sample was also with very complicated dependencies. But it was related with a rust cdylib and once removed it from the environment, it works well. 
   
   And finally I found that a simple rust cdylib with TLS variables is enough to lead to crash: That is, user `loads our simple rust cdylib -> loads other libs -> loads libarrow.so.2000 -> segfault`. @Tom-Newton  I don't know if your reproduce sample is related with rust cdylib dependancies. 
   
   I know the issue won't be tracked. But I'm just curious about that, since it takes me a lot of time to struggle with it. :)
   
   In fact I already found this issue several days ago, but I did not notice that you also met it on x86... I thought this issue was all related to arm64 :(


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org