Skip to content

[core] Add a test for TColorGradient and disable failing tests on mac beta#21361

Merged
hageboeck merged 3 commits intoroot-project:masterfrom
hageboeck:mac-beta-failures
Feb 25, 2026
Merged

[core] Add a test for TColorGradient and disable failing tests on mac beta#21361
hageboeck merged 3 commits intoroot-project:masterfrom
hageboeck:mac-beta-failures

Conversation

@hageboeck
Copy link
Copy Markdown
Member

@hageboeck hageboeck commented Feb 24, 2026

On mac beta, the tutorial demonstrating gradients crashes with a stack corruption. This might be a compiler or standard library bug, since the code runs fine since two years on all other platforms, including running it with valgrind or sanitizers.

Therefore, the following actions are proposed here:

  1. Add a fully compiled test
  2. On mac beta, repeatedly run the test in a python script until it fails.
  • If it does, mark the test as skipped.
  • If it succeeds, signal this with a test failure.
  • On other platforms, the test runs normally.
  1. Mark the affected tutorials as disabled on mac beta until the problem is resolved.

This is tracked in #21367.

This brings mac beta down to one (the h2root) test failure.

@hageboeck hageboeck self-assigned this Feb 24, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 24, 2026

Test Results

    22 files      22 suites   3d 7h 48m 31s ⏱️
 3 800 tests  3 797 ✅ 1 💤 2 ❌
76 414 runs  76 403 ✅ 9 💤 2 ❌

For more details on these failures, see this check.

Results for commit ebc51b7.

♻️ This comment has been updated with latest results.

@hageboeck hageboeck force-pushed the mac-beta-failures branch 3 times, most recently from f7ae8f5 to 10c05de Compare February 24, 2026 15:21
@hageboeck hageboeck marked this pull request as ready for review February 24, 2026 19:22
@hageboeck hageboeck changed the title [core] Add a test for TColorGradient. [core] Add a test for TColorGradient and disable failing tests on mac beta Feb 24, 2026
Comment thread core/base/test/TColorTests.cxx Outdated
On mac beta, the tutorial about gl gradient colours crashes with a stack
corruption. This test is supposed to reproduce the problem, taking the
interpreter out of the equation.
This script checks for a stack corruption in TColorGradient. For now, it
is suspected that this is due to a compiler bug. If the expected
corruption is detected, the test exits with a non-zero return code, and
the test is marked as skipped in ctest.
If the test should complete unexpectedly, it exits with code 1.
Due to a stack corruption, the tutorials fail frequently. It is
suspected to be a compiler bug, so they will be disabled until a new
XCode version gets released.

This is tracked in root-project#21367.
@hageboeck hageboeck merged commit 70ad2cb into root-project:master Feb 25, 2026
69 of 76 checks passed
@hageboeck hageboeck deleted the mac-beta-failures branch February 25, 2026 15:58
@hageboeck
Copy link
Copy Markdown
Member Author

/backport to 6.36

@root-project-bot
Copy link
Copy Markdown

This PR has been backported to branch 6.36: #21454

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants