paleolimbot commented on issue #34211:
URL: https://github.com/apache/arrow/issues/34211#issuecomment-1458562241

   It looks like this is a problem with ALTREP bypass: the array (probably most 
of them) are already ALTREP coming from Arrow, and the segfault we get is when 
we try to get the chunked array back:
   
   ```
   Console is in 'commands' mode, prefix expressions with '?'.
   Attached to process 45901
   Stop reason: EXC_BAD_ACCESS (code=1, address=0x18)
   bt
   * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS 
(code=1, address=0x18)
     * frame #0: 0x00000001128bd8a8 
arrow.so`std::__1::shared_ptr<arrow::DataType>::shared_ptr(this=0x000000016fc26390,
 __r=nullptr) at shared_ptr.h:846:18
       frame #1: 0x00000001128b9224 
arrow.so`std::__1::shared_ptr<arrow::DataType>::shared_ptr(this=0x000000016fc26390,
 __r=nullptr) at shared_ptr.h:848:1
       frame #2: 0x00000001128b9dd8 
arrow.so`arrow::r::InferArrowType(x=0x0000000137c42438) at type_infer.cpp:189:12
       frame #3: 0x00000001128b4980 
arrow.so`arrow::r::InferSchemaFromDots(this=(size=111), j=0, 
x=0x0000000137c42438, name="filename")::$_1::operator()(int, SEXPREC*, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char>>) const at table.cpp:179:38
       frame #4: 0x00000001128a8740 arrow.so`void 
arrow::r::TraverseDots<arrow::r::InferSchemaFromDots(SEXPREC*, SEXPREC*, int, 
std::__1::shared_ptr<arrow::Schema>&)::$_1>(dots=cpp11::list @ 
0x000000016fc266a0, num_fields=111, lambda=(size=111))::$_1) at 
arrow_types.h:211:9
       frame #5: 0x00000001128a8450 
arrow.so`arrow::r::InferSchemaFromDots(lst=0x0000000150258fa0, 
schema_sxp=0x000000013500d0e0, num_fields=111, schema=nullptr) at 
table.cpp:182:3
       frame #6: 0x000000011277aeb0 
arrow.so`Table__from_dots(lst=0x0000000150258fa0, 
schema_sxp=0x000000013500d0e0, use_threads=true) at r_to_arrow.cpp:1461:15
       frame #7: 0x00000001124eb658 
arrow.so`::_arrow_Table__from_dots(lst_sexp=0x0000000150258fa0, 
   ```


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