Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Scala Native fails unit-tests building itself using Windows_2025#4486

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
LeeTibbert wants to merge1 commit intoscala-native:main
base:main
Choose a base branch
Loading
fromLeeTibbert:PR_build_TrialBuild_Windows2025_2025-09-26T0455-0400

Conversation

@LeeTibbert
Copy link
Contributor

@LeeTibbertLeeTibbert commentedSep 26, 2025
edited
Loading

As originally discovered and isolated by kitbellew in Draft PR#4484, Scala Native itself
does not build and pass its unit-test when using Windows_2025. This Draft PR is a simplification of#4484.

scalafmt builds using Windows_2025, so this Issue prevents scalafmt from shipping with
a putative 0.5.9. It also prevents testing recent SN bug fixes as they originally presented in
scalafmt.

To size the concern, I have a question in the SN Discourse trying to ascertain if SN 0.5.8, and
presumably 0.5.9Mumbleapplications work with Windows_2025 and/or Windows 11.

@LeeTibbertLeeTibbert marked this pull request as draftSeptember 26, 2025 08:59
@LeeTibbert
Copy link
ContributorAuthor

@kitbellew

Thank you for identifying and reporting this problem.

@LeeTibbert
Copy link
ContributorAuthor

The "JDK compliance" and "runtime" log files seem to have errors which present differently
but which may have the same underlying cause. Insufficient stack space is a candidate.

Assumptions
  1. The GitHub Windows_2025 platform is correct and up to date. This is probably a good
    assumption, but still need to be listed.

  2. A straight forward change in the .yml file fromWindows_2022 toWindows_2025 is all
    that is needed. That is, no increase in memory parameters or special parameters.

    This is probably a good first candidate assumption but needs verification.

Primary Evidence
JDK compliance

The "JDK compliance" Windows_2025 logs have an apparent failure block which I have not seen in
Windows_2022 logs:

025-09-26T09:13:20.5662784Z �[0m[�[0m�[31merror�[0m] �[0m�[0mTest org.scalanative.testsuite.javalib.lang.�[33mStackTraceElementTest�[0m.�[31misNativeMethod�[0m failed: java.util.�[31mNoSuchElementException�[0m: head of empty array, took 0.000 sec�[0m2025-09-26T09:13:20.5664549Z �[0m[�[0m�[31merror�[0m] �[0m�[0m    at <none>.(:0)�[0m2025-09-26T09:13:20.5972614Z �[0m[�[0m�[31merror�[0m] �[0m�[0m    at <none>.(:0)�[0m2025-09-26T09:13:20.6401181Z �[0m[�[0m�[31merror�[0m] �[0m�[0m    at <none>.(:0)�[0m2025-09-26T09:13:20.6728751Z �[0m[�[0m�[31merror�[0m] �[0m�[0m    at <none>.(:0)�[0m2025-09-26T09:13:20.7175229Z �[0m[�[0m�[31merror�[0m] �[0m�[0m    ... 31 more�[0m

I think I also tracked down a "PendingStackOverflowException" (concept from memory, probably not exact wording)
in similar log files for PR#4484.

runtime

I did not check all three Windows runtime logs here. I have examined a few in PR#4484. Here the
Windows_2025 Scala 2.13 log reports:

2025-09-26T09:19:01.4820812Z �[0m[�[0m�[33mwarn�[0m] �[0m�[0mForce close java.lang.RuntimeException: Process D:\a\scala-native\scala-native\unit-tests\native\.2.13\target\scala-2.13\tests-test.exe finished with non-zero value -1073740940 (0xc0000374)�[0m

Google says this means:

Windows exit code0xc0000374 signifies a heap corruption, meaning an application or system process attempted to access or modify memory in an invalid way.

(Remember also reports on Linux of people having seen signal 11 under load).

Next Steps

Beyond this is outside my areas of expertise or likely growth in economic time.
I standby to help if and as I can.

@LeeTibbertLeeTibbert changed the titleTrial build using Windows_2025Scala Native fails building itself using Windows_2025Sep 26, 2025
@LeeTibbertLeeTibbert changed the titleScala Native fails building itself using Windows_2025Scala Native fails unit-tests building itself using Windows_2025Sep 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@LeeTibbert

[8]ページ先頭

©2009-2025 Movatter.jp