derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
27.51k stars 1.73k forks source link

Application freeze after shell and exit #2959

Open sflanker opened 2 weeks ago

sflanker commented 2 weeks ago

I believe this is a regression. Here is theOriginal Issue

Describe the bug Using version 0.32.4 and 0.32.6 on MacOS 14.7.1 (m3), after shelling into a pod and exiting, the application freezes. This happens regardless of using PowerShell, cmd prompt, git bash etc.

To Reproduce Steps to reproduce the behavior:

  1. Open k9s
  2. Select a pod and shell s into it
  3. exit
  4. See the application frozen (using 100% of a CPU)

Expected behavior It should exit and allow me to continue using k9s

Versions (please complete the following information):

sflanker commented 2 weeks ago

I cannot reproduce this every time, but it does happen frequently. I will attempt to capture a debug log of it happening.

sflanker commented 2 weeks ago

k9s-hang-test.log

Here's a log from a session where the exiting the shell cause the hang. Unfortunately there doesn't appear to be anything pertinent in the log.

sflanker commented 1 week ago

Additional Note: I was running K9S from the Terminal panel of JetBrains WebStorm when I noted this behavior. I haven't been able to reproduce the issue in the standard MacOS Terminal app.