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

Plugin development (8.14) : yarn start exits with error Command failed with signal "SIGSEGV". #181724

Closed
yassine-mdn opened this issue Apr 25, 2024 · 4 comments · Fixed by #183345
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team

Comments

@yassine-mdn
Copy link

yassine-mdn commented Apr 25, 2024

Kibana version: 8.14.0

Elasticsearch version: 8.14.0

OS: Arch Linux on Windows 10 x86_6

Kernel version: 5.15.146.1-microsoft-standard-WSL2

Original install method: git clone

Describe the bug:
When trying to run kibana using yarn start a SIGSEGV error is thrown
Steps to reproduce:

  1. Clone the repo
  2. Checkout the 8.14 branch
  3. Use nvm to install the correct node version
  4. Bootstrap Kibana and install all the dependencies with yarn kbn bootstrap
  5. Increased node.js heap size to 2048mb
  6. Run Elastic snapshot with yarn es snapshot --license trial
  7. Run Kibana in a separate tab with yarn start --run-examples

Expected behavior:
For Kibana to start normaly

terminal Output:

yarn run v1.22.22
$ node scripts/kibana --dev --run-examples
{"log.level":"info","@timestamp":"2024-04-25T14:18:22.738Z","log.logger":"elastic-apm-node","ecs.version":"8.10.0","agentVersion":"4.5.0","env":{"pid":21584,"proctitle":"/home/arch/.nvm/versions/node/v20.12.2/bin/node","os":"linux 5.15.146.1-microsoft-standard-WSL2","arch":"x64","host":"DESKTOP-PJC4EUT","timezone":"UTC+0100","runtime":"Node.js v20.12.2"},"config":{"active":{"source":"start","value":true},"breakdownMetrics":{"source":"start","value":true},"centralConfig":{"source":"start","value":false},"contextPropagationOnly":{"source":"start","value":true},"environment":{"source":"start","value":"development"},"globalLabels":{"source":"start","value":[["git_rev","6e18136c319"]],"sourceValue":{"git_rev":"6e18136c319"}},"logLevel":{"source":"default","value":"info","commonName":"log_level"},"metricsInterval":{"source":"start","value":30,"sourceValue":"30s"},"serverUrl":{"source":"start","value":"https://kibana-cloud-apm.apm.us-east-1.aws.found.io/","commonName":"server_url"},"transactionSampleRate":{"source":"start","value":1,"commonName":"transaction_sample_rate"},"captureSpanStackTraces":{"source":"start","sourceValue":false},"secretToken":{"source":"start","value":"[REDACTED]","commonName":"secret_token"},"serviceName":{"source":"start","value":"kibana-proxy","commonName":"service_name"},"serviceVersion":{"source":"start","value":"8.14.0","commonName":"service_version"}},"activationMethod":"require","message":"Elastic APM Node.js Agent v4.5.0"}
Marking config path as handled: dev
Marking config path as handled: plugins
Marking config path as handled: server
 no-base-path  ====================================================================================================
 no-base-path  Running Kibana in dev mode with --no-base-path disables several useful features and is not recommended
 no-base-path  ====================================================================================================
error Command failed with signal "SIGSEGV".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any additional context:
Attempted to run it again in a native linux environment (no WSL / VM) following the same steps same problem
tried the workaround sited in #180697
might be duplicate of #180697

@yassine-mdn yassine-mdn added the bug Fixes for quality problems that affect the customer experience label Apr 25, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 25, 2024
@jsanz jsanz added the Team:Operations Team label for Operations Team label Apr 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 29, 2024
@jsanz
Copy link
Member

jsanz commented Apr 29, 2024

Thanks for reporting, seems to be a duplicate of #180697, but leaving that to our operations team.

@Ikuni17
Copy link
Contributor

Ikuni17 commented May 14, 2024

Upgrading Node to 20.13.1 fixed this for my local environment and we have bumped the version for Kibana. If you're still seeing segmentation faults, feel free to reopen.

kibanamachine added a commit that referenced this issue May 14, 2024
# Backport

This will backport the following commits from `main` to `8.14`:
- [Upgrade Node.js to v20.13.1
(#183345)](#183345)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-05-14T19:11:56Z","message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.15.0"],"title":"Upgrade
Node.js to
v20.13.1","number":183345,"url":"https://github.com/elastic/kibana/pull/183345","mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183345","number":183345,"mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}}]}]
BACKPORT-->

Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
@yassine-mdn
Copy link
Author

@Ikuni17 thank you so much, it fixed my problem

Ikuni17 added a commit that referenced this issue May 14, 2024
# Backport

This will backport the following commits from `main` to `7.17`:
- [Upgrade Node.js to v20.13.1
(#183345)](#183345)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-05-14T19:11:56Z","message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.15.0"],"number":183345,"url":"https://github.com/elastic/kibana/pull/183345","mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183345","number":183345,"mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (#183345)\n\nCloses #180697\r\nCloses
#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}},{"url":"https://github.com/elastic/kibana/pull/183441","number":183441,"branch":"8.14","state":"OPEN"}]}]
BACKPORT-->
adelisle pushed a commit to Makila-AI/kibana that referenced this issue Aug 5, 2024
# Backport

This will backport the following commits from `main` to `7.17`:
- [Upgrade Node.js to v20.13.1
(elastic#183345)](elastic#183345)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-05-14T19:11:56Z","message":"Upgrade
Node.js to v20.13.1 (elastic#183345)\n\nCloses elastic#180697\r\nCloses
elastic#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.15.0"],"number":183345,"url":"https://github.com/elastic/kibana/pull/183345","mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (elastic#183345)\n\nCloses elastic#180697\r\nCloses
elastic#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183345","number":183345,"mergeCommit":{"message":"Upgrade
Node.js to v20.13.1 (elastic#183345)\n\nCloses elastic#180697\r\nCloses
elastic#181724\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-custom-node-dot-js-builds/builds/158\r\n\r\n\r\n[Changelog](https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#20.13.0)","sha":"7cc61db199ba51d6d94f169dbf8a713033a36ee7"}},{"url":"https://github.com/elastic/kibana/pull/183441","number":183441,"branch":"8.14","state":"OPEN"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants