You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/06/10 15:20:00 UTC

[jira] [Commented] (ARROW-11217) [C++][R] Crash under Rosetta with jemalloc

    [ https://issues.apache.org/jira/browse/ARROW-11217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361020#comment-17361020 ] 

Antoine Pitrou commented on ARROW-11217:
----------------------------------------

Is there anything else that should be done here?

> [C++][R] Crash under Rosetta with jemalloc
> ------------------------------------------
>
>                 Key: ARROW-11217
>                 URL: https://issues.apache.org/jira/browse/ARROW-11217
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Neal Richardson
>            Priority: Critical
>
> [~jeroenooms] hit a crash in the "sum" compute kernel using the R package on a new M1 machine running the rosetta emulator: https://gist.github.com/jeroen/c60548b29ff7f6807a6554799bd01cb7
> According to https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment, we should be checking sysctlbyname for AVX* capabilities, but we are not. We only use that function in https://github.com/apache/arrow/blob/master/cpp/src/arrow/util/cpu_info.cc#L350-L359 to check cpu cache size. 
> This may also explain a crash we observed previously on a very old macOS CRAN machine. 
> I think we should to resolve this before the 3.0 release if possible, in order to avoid bug reports as more people get M1s. 
> cc [~apitrou] [~uwe] [~kou] [~frankdu] [~yibo]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)