[
https://issues.apache.org/jira/browse/ARROW-12587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338556#comment-17338556
]
Jeroen commented on ARROW-12587:
--------------------------------
I am also seeing a crash in the R, when we build the R package on big sur using
the big-sur autobrew bottles. OTOH binaries for MacOS 10.11-10.15 seem fine.
Running the unit tests dies like this (attached the Console stack trace from
macos: [^big-sur-crash.txt]).
This seems a lot like https://issues.apache.org/jira/browse/ARROW-11217 which
also involved {{arrow::compute::aggregate::SumImpl()}}
{code:java}
✔ | 3 | arrow-info
✔ | 10 | General checks [0.3 s]
✔ | 12 | backwards-compatibility
✔ | 12 | BufferReader
✔ | 24 | Buffer
✔ | 281 | ChunkedArray [0.4 s]
✔ | 12 | Compressed.*Stream
⠏ | 0 | compute: aggregation
*** caught illegal operation ***
address 0x1089cc6dc, cause 'illegal opcode'
Traceback:
1: compute__CallFunction(function_name, args, options)
2: call_function(FUN, a, options = list(na.rm = na.rm))
3: scalar_aggregate("sum", ..., na.rm = na.rm)
4: sum.ArrowDatum(<environment>, na.rm = FALSE)
5: eval_bare(expr, quo_get_env(quo))
6: quasi_label(enquo(object), arg = "object")
7: expect_s3_class(object, class)
8: expect_r6_class(sum(a), "Scalar")
9: eval(code, test_env)
{code}
> [R][C++][Packaging] Illegal opcode error on aggregate Array/ChunkedArray of
> integer
> -----------------------------------------------------------------------------------
>
> Key: ARROW-12587
> URL: https://issues.apache.org/jira/browse/ARROW-12587
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Packaging, R
> Affects Versions: 4.0.0
> Reporter: Ian Cook
> Assignee: Ian Cook
> Priority: Major
> Attachments: big-sur-crash.txt
>
>
> I see this error with the 4.0.0 version of the R package with the C++ library
> from Homebrew:
> {code:java}
> sum(Array$create(c(1L, 2L)))
> ## *** caught illegal operation ***
> ## address 0x109f1b45c, cause 'illegal opcode'{code}
> This is on an Intel Mac running Big Sur 11.3 with AVX2 support but no AVX512
> support.
> This happens regardless of whether I build the Homebrew formula locally or
> install the pre-built bottle.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)