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

pwsh 7.4.5 doesn't even show a prompt on Ubuntu 22.04 #24224

Open
5 tasks done
andresitodemarco opened this issue Aug 29, 2024 · 2 comments
Open
5 tasks done

pwsh 7.4.5 doesn't even show a prompt on Ubuntu 22.04 #24224

andresitodemarco opened this issue Aug 29, 2024 · 2 comments
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.

Comments

@andresitodemarco
Copy link

andresitodemarco commented Aug 29, 2024

Prerequisites

Steps to reproduce

Thing is PowerShell versions 7.4.* started acting funky. It would just get stuck at startup (I presume). It's not the scripts, but pwsh just getting stuck when called, script calls don't even start. It went back to normal after a reboot. Some days pass and it started happening again. When in this state, if I called "pwsh" from a terminal it'd show PowerShell version and that's it, NO PROMPT EVER.

Now, after upgrading to 7.4.5 it just plain WON'T START (same thing, shows version an no prompt ever), even with the system freshly rebooted.

No use in going back to any previous version now. None will work (tried going back to 7.4.4, 7.2.23, 7.3.0-preview8, unsuccesfully). Just won't start anymore.

Expected behavior

Should give me a prompt.

Actual behavior

Prompt never shows up, pwsh is stuck, leaves terminal unresponsive (ctl-C/ctl-D/ctl-Z don't work) and can't be killed with sigterm, must issue sigkill from another terminal.

Error details

Not possible.

Environment data

Can't know, NO PROMPT.

Visuals

No response

@andresitodemarco andresitodemarco added the Needs-Triage The issue is new and needs to be triaged by a work group. label Aug 29, 2024
@rhubarb-geek-nz
Copy link

Can you try

$ pwsh --version

and

$ pwsh -NoProfile
PowerShell 7.4.5
PS> exit

and finally

$ POWERSHELL_UPDATECHECK=Off pwsh
PowerShell 7.4.5
PS> exit

in order to test the process startup.

@SteveL-MSFT
Copy link
Member

Also try:

pwsh -c '1+1'

This would elminate if it's related to interactive mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.
Projects
None yet
Development

No branches or pull requests

3 participants