Skip to content
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

Spurios PR Check Failures on Ubuntu #14980

Open
tsmaeder opened this issue Feb 19, 2025 · 1 comment · May be fixed by #14984
Open

Spurios PR Check Failures on Ubuntu #14980

tsmaeder opened this issue Feb 19, 2025 · 1 comment · May be fixed by #14984
Assignees

Comments

@tsmaeder
Copy link
Contributor

Bug Description:

Recently, we've been seeing the following errors when running the "headless" tests as part of the PR check on Ubuntu 22.04 with node 22:

@theia/core:   2 pending
@theia/core: free(): double free detected in tcache 2
@theia/core: node:internal/errors:540
@theia/core:       throw error;
@theia/core:       ^
@theia/core: TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('128SIGABRT')
@theia/core:     at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
@theia/core:     at ChildProcess.<anonymous> (/home/runner/work/theia/theia/node_modules/foreground-child/index.js:63:22)
@theia/core:     at ChildProcess.emit (node:events:524:28)
@theia/core:     at maybeClose (node:internal/child_process:1101:16)
@theia/core:     at ChildProcess._handle.onexit (node:internal/child_process:304:5) {
@theia/core:   code: 'ERR_INVALID_ARG_TYPE'
@theia/core: }
@theia/core: Node.js v22.13.1

This is wasting time on every PR build and might hide real problems.

Additional Information

  • Operating System: Ubuntu 22.04
  • Theia Version: 1.58 master
@tsmaeder
Copy link
Contributor Author

Related: istanbuljs/nyc#1535 Fixed in newest version of nyc

@tsmaeder tsmaeder self-assigned this Feb 19, 2025
@tsmaeder tsmaeder changed the title Spurios PR Checkt Failures on Ubuntu Spurios PR Check Failures on Ubuntu Feb 19, 2025
tsmaeder added a commit to tsmaeder/theia that referenced this issue Feb 19, 2025
Fixes eclipse-theia#14980

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <[email protected]>
@tsmaeder tsmaeder linked a pull request Feb 19, 2025 that will close this issue
2 tasks
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 a pull request may close this issue.

1 participant