raulcd opened a new pull request, #50555:
URL: https://github.com/apache/arrow/pull/50555

   ### Rationale for this change
   
   A new version of mimalloc was released. The existing version of mimalloc can 
cause a segmentation fault as seen on the referenced issue.
   
   ### What changes are included in this PR?
   
   Bumping the mimalloc version.
   
   ### Are these changes tested?
   
   Yes, via CI and archery.
   I've also tested the minimal reproducer from the issue:
   ```
   import threading
   
   def imp():
       import pyarrow  # dlopens libarrow -> bundled mimalloc initializes on 
this thread
   
   def alloc():
       import pyarrow as pa
       pa.array(["x"] * 5000)
   
   a = threading.Thread(target=imp); a.start(); a.join()
   b = threading.Thread(target=alloc); b.start(); b.join()
   ```
   The above cause a segfault on every execution with pyarrow 25.0.0 on a local 
Python 3.14. With the new built wheel with the new mimalloc version, I haven't 
been able to reproduce the segfault after several attempts.
   
   ### Are there any user-facing changes?
   
   No
   


-- 
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