Skip to content

Conversation

@jonkeane
Copy link
Member

@jonkeane jonkeane commented Jan 11, 2026

It looks like there's a mismatch on our Alpine builds. I'm a little bit surprised that only that build is seeing it.

I don't think this will totally solve the problem though, and we will actually need to do #48817

Resolves: #48805

Rationale for this change

Stop the build failures

What changes are included in this PR?

Remove a flag

Are these changes tested?

They are basically in the tests

Are there any user-facing changes?

@jonkeane jonkeane requested a review from assignUser as a code owner January 11, 2026 14:29
@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-alpine-linux-cran

@github-actions
Copy link

⚠️ GitHub issue #48805 has been automatically assigned in GitHub to PR creator.

@github-actions
Copy link

Revision: d0ac70a

Submitted crossbow builds: ursacomputing/crossbow @ actions-fa8248adc4

Task Status
test-r-alpine-linux-cran GitHub Actions

@jonkeane
Copy link
Member Author

@thisisnic you might have more information / better idea if the approach here is a good one?

@jonkeane
Copy link
Member Author

Yeah, looks like this is not sufficient: https://github.com/ursacomputing/crossbow/actions/runs/20896750061/job/60036514136#step:7:2664

/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/libarrow/arrow-22.0.0.100000343/include/arrow/result.h:350:5: note: 'ValueOrDie' was previously declared here
  350 |   T ValueOrDie() && {
      |     ^
In function 'assign',
    inlined from '_S_assign' at /usr/include/c++/14.2.0/bits/basic_string.h:455:23,
    inlined from '_S_assign' at /usr/include/c++/14.2.0/bits/basic_string.h:450:7,
    inlined from '_M_replace_aux' at /usr/include/c++/14.2.0/bits/basic_string.tcc:471:17,
    inlined from 'append' at /usr/include/c++/14.2.0/bits/basic_string.h:1499:30,
    inlined from 'resize' at /usr/include/c++/14.2.0/bits/basic_string.tcc:405:14,
    inlined from 'resize' at /usr/include/c++/14.2.0/bits/basic_string.h:1119:21,
    inlined from 'GenerateSubtrees' at /arrow/cpp/src/arrow/dataset/subtree_internal.h:121:23,
    inlined from 'EncodeOneGuarantee' at /arrow/cpp/src/arrow/dataset/subtree_internal.h:130:21,
    inlined from 'EncodeGuarantees' at /arrow/cpp/src/arrow/dataset/subtree_internal.h:138:25,
    inlined from 'SetupSubtreePruning' at /arrow/cpp/src/arrow/dataset/file_base.cc:291:42:
/usr/include/c++/14.2.0/bits/char_traits.h:964:25: warning: iteration 4611686018427387903 invokes undefined behavior [-Waggressive-loop-optimizations]
  964 |           assign(__s[__i], __a);
      |                         ^
/usr/include/c++/14.2.0/bits/char_traits.h:963:34: note: within this loop
  963 |         for (size_t __i = 0; __i < __n; ++__i)
      |                                  ^
installing to /arrow/r/check/arrow.Rcheck/00LOCK-arrow/00new/arrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location

 *** caught segfault ***
address 0, cause 'unknown'
An irrecoverable exception occurred. R is aborting now ...
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location

 *** caught segfault ***
address 0, cause 'unknown'
An irrecoverable exception occurred. R is aborting now ...
** testing if installed package keeps a record of temporary installation path

@thisisnic
Copy link
Member

Not too sure sorry, @jonkeane

I've been using this as a guide for creating the alpine images: https://github.com/bastistician/Rcheck/tree/results/musl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI][R] test-r-alpine-linux-cran fails with segmentation fault

2 participants