wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.77k stars 751 forks source link

Closing Tab with separate process running causes terminal to stop responding #5432

Open geefuoco opened 4 months ago

geefuoco commented 4 months ago

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

wezterm 20240515-054355-332b9b8b

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Closing the tab from the terminal while certain apps are running (and not blocking the current shell) causes the terminal to stop responding.

To Reproduce

  1. Open wezterm
  2. Open up an app (in my case it was vscode)
  3. Try to close the terminal from the tab's x button

Configuration

no config

Expected Behavior

Expected behavior is to shut down normally, without causing the terminal to stop responding. Note that closing the running process first will allow the terminal to close normally.

Logs

Debug Overlay wezterm version: 20240515-054355-332b9b8b x86_64-pc-windows-msvc Window Environment: Windows Lua Version: Lua 5.4 OpenGL: NVIDIA GeForce GTX 1080/PCIe/SSE2 4.5.0 NVIDIA 551.86

Anything else?

No response

RasmusN commented 3 months ago

I'm not able to reproduce your bug BUT I am having similar issues. For me it crashes sometimes when I either close a pane, close a tab or quits Wezterm.

I have not been able find a way to force it but it is happening regularly on two different windows computers.

FrancescElies commented 1 month ago

could you attach windbg to wezterm to see where it hangs? this way we could see if this is related to #5882

image

FrancescElies commented 1 week ago

Could you give the installer from this comment a try and see if your problem goes away?