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

[jira] [Created] (ARROW-13913) [C++] segfault if compute function index called with no options supplied

Nic Crane created ARROW-13913:
---------------------------------

             Summary: [C++] segfault if compute function index called with no options supplied
                 Key: ARROW-13913
                 URL: https://issues.apache.org/jira/browse/ARROW-13913
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Nic Crane


 

If I try to use the {{index}} compute function from R without {{IndexOptions}}, it results in a segfault.{{}}
{code:java}
> call_function("index", Array$create(1:10))
Thread 1 "R" received signal SIGSEGV, Segmentation fault.
0x00007ffff2291384 in arrow::compute::FunctionOptions::FunctionOptions (
 this=0x7fffffff5970)
 at /home/nic2/arrow_installed_version/include/arrow/compute/function.h:60
60 class ARROW_EXPORT FunctionOptions : public util::EqualityComparable<FunctionOptions> {
{code}
I ran a fresh container to check it wasn't just my machine, and got a similar output with the additional line:
{code:java}
*** caught segfault ***
address 0x8, cause 'memory not mapped'{code}
 



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