You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kazuaki Ishizaki (Jira)" <ji...@apache.org> on 2020/04/16 16:51:00 UTC

[jira] [Updated] (ARROW-8484) [C++] TestArrayImport tests cause failures on a big-endian platform

     [ https://issues.apache.org/jira/browse/ARROW-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kazuaki Ishizaki updated ARROW-8484:
------------------------------------
    Description: 
The current code causes two types of failures of TestArrayImport on a a big-endian platform as follows:

{code}
12: [ RUN      ] TestSchemaImport.Struct
12: /home/ishizaki/Arrow/arrow/cpp/build-support/run-test.sh: line 92: 19528 Segmentation fault      (core dumped) $TEST_EXECUTABLE "$@" 2>&1
12:      19529 Done                    | $ROOT/build-support/asan_symbolize.py
12:      19530 Done                    | ${CXXFILT:-c++filt}
12:      19531 Done                    | $ROOT/build-support/stacktrace_addr2line.pl $TEST_EXECUTABLE
12:      19532 Done                    | $pipe_cmd 2>&1
12:      19533 Done                    | tee $LOGFILE
{code}

{code}
12: [ RUN      ] TestArrayImport.PrimitiveWithOffset
12: /home/ishizaki/Arrow/arrow/cpp/src/arrow/testing/gtest_util.cc:77: Failure
12: Failed
12: 
12: @@ -0, +0 @@
12: -1027
12: -1541
12: -2055
12: +772
12: +1286
12: +1800
12: Expected:
12:   [
12:     1027,
12:     1541,
12:     2055
12:   ]
12: Actual:
12:   [
12:     772,
12:     1286,
12:     1800
12:   ]
{code}


  was:
The current code causes two types of failures of TestArrayImport on a a big-endian platform as follows:

```
12: [ RUN      ] TestSchemaImport.Struct
12: /home/ishizaki/Arrow/arrow/cpp/build-support/run-test.sh: line 92: 19528 Segmentation fault      (core dumped) $TEST_EXECUTABLE "$@" 2>&1
12:      19529 Done                    | $ROOT/build-support/asan_symbolize.py
12:      19530 Done                    | ${CXXFILT:-c++filt}
12:      19531 Done                    | $ROOT/build-support/stacktrace_addr2line.pl $TEST_EXECUTABLE
12:      19532 Done                    | $pipe_cmd 2>&1
12:      19533 Done                    | tee $LOGFILE
```

```
12: [ RUN      ] TestArrayImport.PrimitiveWithOffset
12: /home/ishizaki/Arrow/arrow/cpp/src/arrow/testing/gtest_util.cc:77: Failure
12: Failed
12: 
12: @@ -0, +0 @@
12: -1027
12: -1541
12: -2055
12: +772
12: +1286
12: +1800
12: Expected:
12:   [
12:     1027,
12:     1541,
12:     2055
12:   ]
12: Actual:
12:   [
12:     772,
12:     1286,
12:     1800
12:   ]
```



> [C++] TestArrayImport tests cause failures on a big-endian platform
> -------------------------------------------------------------------
>
>                 Key: ARROW-8484
>                 URL: https://issues.apache.org/jira/browse/ARROW-8484
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Kazuaki Ishizaki
>            Priority: Minor
>
> The current code causes two types of failures of TestArrayImport on a a big-endian platform as follows:
> {code}
> 12: [ RUN      ] TestSchemaImport.Struct
> 12: /home/ishizaki/Arrow/arrow/cpp/build-support/run-test.sh: line 92: 19528 Segmentation fault      (core dumped) $TEST_EXECUTABLE "$@" 2>&1
> 12:      19529 Done                    | $ROOT/build-support/asan_symbolize.py
> 12:      19530 Done                    | ${CXXFILT:-c++filt}
> 12:      19531 Done                    | $ROOT/build-support/stacktrace_addr2line.pl $TEST_EXECUTABLE
> 12:      19532 Done                    | $pipe_cmd 2>&1
> 12:      19533 Done                    | tee $LOGFILE
> {code}
> {code}
> 12: [ RUN      ] TestArrayImport.PrimitiveWithOffset
> 12: /home/ishizaki/Arrow/arrow/cpp/src/arrow/testing/gtest_util.cc:77: Failure
> 12: Failed
> 12: 
> 12: @@ -0, +0 @@
> 12: -1027
> 12: -1541
> 12: -2055
> 12: +772
> 12: +1286
> 12: +1800
> 12: Expected:
> 12:   [
> 12:     1027,
> 12:     1541,
> 12:     2055
> 12:   ]
> 12: Actual:
> 12:   [
> 12:     772,
> 12:     1286,
> 12:     1800
> 12:   ]
> {code}



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