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

2021-11-23 Thread Kazuaki Ishizaki (Jira)


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

Kazuaki Ishizaki commented on ARROW-8484:
-

[~apitrou] Good catch. It should be closed.

> [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
>  Components: C++
>Reporter: Kazuaki Ishizaki
>Assignee: 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.20.1#820001)


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

2021-11-23 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou commented on ARROW-8484:
---

[~kiszk] Do you still see this error? The tests seem to pass on Travis-CI.

> [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
>  Components: C++
>Reporter: Kazuaki Ishizaki
>Assignee: 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.20.1#820001)