You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "vincent-mercier (via GitHub)" <gi...@apache.org> on 2023/02/17 16:50:01 UTC

[GitHub] [arrow] vincent-mercier opened a new issue, #34241: Segmentation fault on compute functions against empty arrays

vincent-mercier opened a new issue, #34241:
URL: https://github.com/apache/arrow/issues/34241

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Upgrading to pyarrow 11 on python 3.8, my team has found segmentation faults linked to empty arrays:
   
   ```python
   import pyarrow as pa
   import pyarrow.compute as pc
   
   col = pa.chunked_array([], type=pa.dictionary(index_type=pa.int32(). value_type=pa.string()))
   pc.unique(col)  # Segfaults here
   ```
   
   Output:
   `Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)`
   
   
   First few lines of `pyarrow.show_info()`:
   ```
   pyarrow version info
   --------------------
   Package kind              : python-wheel-manylinux2014
   Arrow C++ library version : 11.0.0 
   Arrow C++ compiler        : GNU 10.2.1
   Arrow C++ compiler flags  :  -fdiagnostics-color=always
   Arrow C++ git revision    :        
   Arrow C++ git description :        
   Arrow C++ build type      : release
   ```
   
   Happy to help if more information is needed.
   
   ### 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: issues-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] westonpace closed issue #34241: [C++] Segmentation fault on unique compute function against empty arrays

Posted by "westonpace (via GitHub)" <gi...@apache.org>.
westonpace closed issue #34241: [C++] Segmentation fault on unique compute function against empty arrays
URL: https://github.com/apache/arrow/issues/34241


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

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