You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/06 14:54:44 UTC

[GitHub] [arrow] jonkeane opened a new issue, #15224: [R] [CI] Segfault during python flight tests

jonkeane opened a new issue, #15224:
URL: https://github.com/apache/arrow/issues/15224

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   This is not consistent (re-runs will sometimes resolve it), but we seem to be getting a segfault when we are running our python-flight tests in R:
   
   ```
   Start test: flight_put with overwrite = FALSE
     'test-python-flight.R:66' [success]
   /arrow/cpp/src/arrow/status.cc:134: Invalid: Signal stop source already set up
   
    *** caught segfault ***
   address 0xb8, cause 'memory not mapped'
   An irrecoverable exception occurred. R is aborting now ...
   Segmentation fault (core dumped)
   
   1 error ✖ | 0 warnings ✔ | 2 notes ✖
   1
   Error: `docker-compose --file /home/runner/work/arrow/arrow/docker-compose.yml run --rm -e TZ=MART -e ARROW_R_FORCE_TESTS=true ubuntu-r` exited with a non-zero exit code 1, see the process log above.
   ```
   from: https://github.com/apache/arrow/actions/runs/3851391995/jobs/6562508211#step:7:24718
   
   I suspect that this is the code that is segfaulting (based on the test that immediately preceded it):
   
   https://github.com/apache/arrow/blob/6bd847b2aefdb0f10eaf83a3bfe2dc8ee269e8e4/r/tests/testthat/test-python-flight.R#L70-L72
   
   Some hypotheses from @paleolimbot :
   
   > It is almost certainly the cancellation stuff that was updated in R and C++ between the last release and now. Is there any chance that the Python arrow that's being used is outdated?
   > Dewey Dunnington: That seems new...I'm getting it in CI now and I didn't get before (and the PR that I'm thinking of has been merged for a while)
   > Dewey Dunnington: The SignalStopSource already set up message is because R's cancellation trumps Python's and so we get a warning. The segfault, however, is definitely new.
   
   ### Component(s)
   
   Continuous Integration, R


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] paleolimbot commented on issue #15224: [R] [CI] Segfault during python flight tests

Posted by GitBox <gi...@apache.org>.
paleolimbot commented on issue #15224:
URL: https://github.com/apache/arrow/issues/15224#issuecomment-1373743345

   Some cancellation behaviour was changed on the C++ side in #14250, although I don't know that it's necessarily related to a segfault in using flight. That could in theory be related to some symbol collision from loading common libraries, too.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] thisisnic commented on issue #15224: [R][CI] Segfault during Python flight tests

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #15224:
URL: https://github.com/apache/arrow/issues/15224#issuecomment-1641749001

   I believe this has been fixed by #35812 but feel free to reopen if not


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] thisisnic closed issue #15224: [R][CI] Segfault during Python flight tests

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #15224: [R][CI] Segfault during Python flight tests
URL: https://github.com/apache/arrow/issues/15224


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org