-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][R] mutex lock failed: Invalid argument
on MacOS 10.13 on process shutdown
#15189
Comments
Do we have any idea when this started happening? |
Unfortunately that CI job was segfaulting for several months and the fix was only recently discovered (#14582) 😞 |
Ok...I'm able to build and check the R package on 10.13 locally using my wife's old laptop (which I highly doubt saw this coming as how it would spend its retirement). Just to get it started I replicated the build environment I use locally, which is basically a build + install + set I imagine the next step is to try the autobrew script...my first attempt at that errored in a way I didn't understand but it deserves another shot. |
As per Jacob's guidance, I should be running arrow/ci/scripts/r_test.sh whilst copying the brew formulas into place ( https://github.com/ursacomputing/crossbow/actions/runs/3827980013/jobs/6513063333#step:3:9 ) |
I have a backtrace!
|
Looks like you might need to try updating libreSSL: https://marc.info/?l=libressl&m=152385494826535&w=2 Can you confirm it is running 2.2.7? |
From everything I can tell, the default |
mutex lock failed: Invalid argument
on MacOS 10.13 on process shutdownmutex lock failed: Invalid argument
on MacOS 10.13 on process shutdown
I checked with Jeroen (see linked issue above) and:
Jeroen suggested skipping S3 tests on 10.13. The other option of attempting to link to a more modern curl/ssl stack is more likely to introduce errors, particularly this close to a release, and the number of users it would help would be minimal. There is a workaround for 10.13 users that run into this although it involves installing CMake, OpenSSL, and Arrow separately. |
# Which issue does this PR close? Closes #15189 # Rationale for this change The curl/ssl runtime on 10.13 results in a segfault when the process exits (even though all tests pass), so we get a spurious failure on our 10.13 runner test. # What changes are included in this PR? Updates the `skip_if_not_available()` function to special case the "s3" feature. The "re2" feature is handled similarly to prevent spurious valgrind errors from being reported. # Are these changes tested? These changes can only be tested via crossbow + the 10.13 runner (and locally on my own 10.13 machine after the PR is live and can be pulled there). # Are there any user-facing changes? Nope! * Closes: #15189 Lead-authored-by: Dewey Dunnington <dewey@fishandwhistle.net> Co-authored-by: Dewey Dunnington <dewey@dunnington.ca> Co-authored-by: Dewey Dunnington <dewey@voltrondata.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Describe the bug, including details regarding any error messages, version, and platform.
In the MacOS 10.13 runners, we see:
On the latest nightly build ( https://github.com/ursacomputing/crossbow/actions/runs/3827980013/jobs/6513063333#step:7:22433 ).
Jacob did some research and it seems this might be something along the lines of a mutex lock attempt after the mutex has been destructed ( https://stackoverflow.com/questions/66773247/libcabi-dylib-terminating-with-uncaught-exception-of-type-std-1system-er ).
Unfortunately I don't have an Apple Clang-12 environment locally and so I'm not able to reproduce this at the moment. Perhaps even more unfortunately, MacOS 10.13 is the environment CRAN uses to build the R package binary that most Intel mac users will use.
Component(s)
C++, R
The text was updated successfully, but these errors were encountered: