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

CLI segfault with import() / async fn #37545

Closed
soncodi opened this issue Feb 28, 2021 · 1 comment
Closed

CLI segfault with import() / async fn #37545

soncodi opened this issue Feb 28, 2021 · 1 comment

Comments

@soncodi
Copy link

soncodi commented Feb 28, 2021

  • Version: node v14.16.0
  • Platform: Ubuntu 20.10 -- Linux 5.8.0-44-generic 50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?

run the following in the node CLI:

x = async () => { try { await import('_'); } catch {} }
// ... wait a bit
x()
// ... wait a bit
x() // segfault (may take a few tries)

segfault

How often does it reproduce? Is there a required condition?

Reproduces reliably; try pressing <enter> and/or waiting a few seconds between invoking x().

What is the expected behavior?

No segfault

What do you see instead?

CLI segfaults

@devsnek
Copy link
Member

devsnek commented Feb 28, 2021

Duplicate of #35889

@devsnek devsnek marked this as a duplicate of #35889 Feb 28, 2021
@devsnek devsnek closed this as completed Feb 28, 2021
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

No branches or pull requests

2 participants