musikcube icon indicating copy to clipboard operation
musikcube copied to clipboard

Segmentation fault in Kitty terminal

Open xavier-balesi opened this issue 2 years ago • 5 comments

Impossible to launch musikcube in kitty terminal.

Config:

  • linux : Linux 5.15.0-56-generic # 62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • kitty : kitty 0.26.5 created by Kovid Goyal
  • musikcube : musikcube_linux_x86_64_0.99.4

POT image

But it works well under the builtin ubuntu terminal (also tested with success in tmux).

xavier-balesi avatar Jan 23 '23 06:01 xavier-balesi

Hmm, weird. I tried kitty v0.26.5 on both Linux and macOS and it seems fine. Can you let me know which shell you're using, and if possible, your environment variables? Most useful would be LC_ALL, LC_CTYPE and LANG, but a full dump from env would be preferred -- just make sure you audit them before pasting them here so you don't expose any sort of sensitive information.

clangen avatar Jan 24 '23 06:01 clangen

My shell : GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) LC_ALL and LC_CTYPE are not defined (neither in kitty nor in builtin term)

Here is the filtered dump of my env : dumpenv.txt

Thanks

xavier-balesi avatar Jan 24 '23 06:01 xavier-balesi

OK playing around with the environment variables I managed to launch musikcube with TERM=xterm-256color instead of TERM=xterm-kitty

xavier-balesi avatar Jan 24 '23 06:01 xavier-balesi

That works but it breaks the icat functionality

adhyuthn avatar May 09 '23 05:05 adhyuthn

Ok, I was having some similar issue. Actually, musikcube simply wasn't working on kitty terminal, not returning anything. Like @xavier-balesi said, it was working on other terminals on the same system. Sad times. Then, I've crossed with another problem in kitty: some sudo commands not working, like using nano the change the files /usr/share/applications/*.desktop. So I found this page. I made the procediment, and now musikcube is working on kitty. It seems the problem was not with musikcube, but with kitty. I'm using Pop_os 22.04.

Ps. I don't think it's nice to mess with environment variables. Can lead to other problems.

lampdog avatar Sep 27 '23 23:09 lampdog