You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/04 08:13:41 UTC
[GitHub] [arrow] ritchie46 edited a comment on pull request #9778: ARROW-12052: [Rust] Add Child Data to Arrow's C FFI implementation. …
ritchie46 edited a comment on pull request #9778:
URL: https://github.com/apache/arrow/pull/9778#issuecomment-812991117
Hmm.. This is sadly a bit too late. But the current implementation does an invalid read/write. I get a SEGFAULT if I run [this test](https://github.com/ritchie46/arrow/blob/acd93b8ef2de77759dd5ac3e5ff868a508de6c22/rust/arrow-pyarrow-integration-testing/tests/test_sql.py#L82) a 1000 times.
```
Current thread 0x00007f3bd56f4740 (most recent call first):
File "/home/ritchie46/code/arrow/rust/arrow-pyarrow-integration-testing/tests/test_sql.py", line 89 in test_list_array
File "/opt/miniconda3/lib/python3.8/unittest/case.py", line 633 in _callTestMethod
File "/opt/miniconda3/lib/python3.8/unittest/case.py", line 676 in run
File "/opt/miniconda3/lib/python3.8/unittest/case.py", line 736 in __call__
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/unittest.py", line 207 in runtest
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 131 in pytest_runtest_call
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 207 in <lambda>
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 234 in from_call
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 206 in call_runtest_hook
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 182 in call_and_report
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 96 in runtestprotocol
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/runner.py", line 81 in pytest_runtest_protocol
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/main.py", line 270 in pytest_runtestloop
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/main.py", line 246 in _main
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/main.py", line 196 in wrap_session
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/main.py", line 239 in pytest_cmdline_main
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/callers.py", line 187 in _multicall
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 84 in <lambda>
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/manager.py", line 93 in _hookexec
File "/opt/miniconda3/lib/python3.8/site-packages/pluggy/hooks.py", line 286 in __call__
File "/opt/miniconda3/lib/python3.8/site-packages/_pytest/config/__init__.py", line 91 in main
File "/opt/miniconda3/bin/pytest", line 8 in <module>
Illegal instruction (core dumped)
```
I hope I can find the location of this invalid read/write. If anybody has an idea of where did could occur that would be very much appreciated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org