go-colorable icon indicating copy to clipboard operation
go-colorable copied to clipboard

Crash when using from "vagrant ssh windows"

Open codemodify opened this issue 4 years ago • 5 comments

When using from an ssh session using vagrant into a windows, then it crashes with in "colorable_windows.go" line 507

https://github.com/mattn/go-colorable/blob/master/colorable_windows.go#L507

image

image

It does not happen all the time but feels uncomfortable to have this in prod. Steps:

  1. be on linux
  2. open terminal and vagrant ssh windows
  3. do some high intensive outputs , like animation with colors, I use the spinner as you can see from screenshots

Something clashes there

codemodify avatar Apr 08 '20 08:04 codemodify

Thank you. Could you please show me minimal code to reproduce?

mattn avatar Apr 08 '20 08:04 mattn

I'm collecting all that now

codemodify avatar Apr 08 '20 09:04 codemodify

I faced the same issue but it's hard to reproduce. It's intermittent.

DenisPalnitsky avatar Aug 20 '20 12:08 DenisPalnitsky

Should be fixed in last change.

mattn avatar Jul 22 '21 13:07 mattn

Fixed by 2e1b0c1546e0173c0907cf05c67b8ba29ed8b4d1.

dolmen avatar Mar 22 '23 11:03 dolmen