Hyper: Hyper crashes on exit if a powershell instance is running from within the default cmd window

Created on 26 Aug 2019  路  10Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Windows 10, Version 1903

  • Hyper.app version: 3.0.2.1510
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/aditya-giri/0128c0e428a2a3b1f20098551795d10d
  • Relevant information from devtools _(CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere)_: N/A (Not sure where to get info from)
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Hyper crashes in the following scenario:

  • Open Hyper (defaults to cmd)
  • In the cmd prompt, type powershell to launch a powershell instance from within command prompt.
  • Try to exit Hyper (by closing the window using the X)
  • Hyper stops responding and has to be killed.

I looked into the open issues to the best of my ability but found nothing similar. I did however find a couple of issues around setting powershell as the default in hyper.js, but this is not the same scenario. Apologies if this is a known bug.

Most helpful comment

Having Similar Issue.
Some extra presentations:

  • Sometimes after reboot you can fix it, but only for one time.
  • type exit in command line may work.
  • WSL crashes too.

All 10 comments

Having Similar Issue.
Some extra presentations:

  • Sometimes after reboot you can fix it, but only for one time.
  • type exit in command line may work.
  • WSL crashes too.

Having Similar Issue.
Some extra presentations:

* Sometimes after reboot you can fix it, but only for one time.

* type exit in command line may work.

* WSL crashes too.

It happens the same to me.

I normally open a few tabs on Hyper and I use WSL in some of them. If I try to close one of these tabs without logging out from WSL first, Hyper crashes and I have to kill the process. It always happens, everytime.

Same here, Windows 10 Enterprise. Crashes on every exit, no matter what.

Wanna try and fix this myself - can someone point me to a good starting point for investigation? I would do it but I'm a little short on time 馃槵

Not facing any issue with latest canary, you can try it out from https://github.com/zeit/hyper/suites/594966292/artifacts/4319163

If you still face the issue, can you do the following
open hyper
open one more tab (ctrl+shift+t)
open dev console (ctrl+shift+i)
open powershell/wsl
close that tab

and report if you see any error on dev console

@aditya-giri
It was fixed in #3781
Were you able to try out the ci build?

@LabhanshAgrawal sorry I haven't able to try the canary yet. The link seems to be broken. Where can I find the artifacts from CI builds?

Sorry for the delay.
Yeah, it looks good with the latest canary build 馃憤
I'm closing the issue.

I still have the problem in the stable version

Was this page helpful?
0 / 5 - 0 ratings

Related issues

laur1s picture laur1s  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

juicygoose picture juicygoose  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments