fish appears to hang on first startup #6295
I've been meaning to try out fish on several occasions (years apart), but I always stumble upon this issue.
On my system (various versions of Ubuntu, currently 19.10) I do
and what happens next:
On second run fish starts instantly.
I'm not sure how to reset the state so this happens again.
fish version: 3.0.2
I cannot reproduce this with
(this also leaves my terminal in a noecho mode, which is annoying but unrelated)
It seems that something in my home directory (its sheer size? some config file somewhere?) is causing this, but I don't know what.
The text was updated successfully, but these errors were encountered:
I've discovered a way of reproducing this:
Now fish is sitting there doing... something... with no output and no input, eating 100% of one CPU core. pstree shows it has no subproesses. strace shows it doing weird lstat calls on files in my home directory
Note that ^C doesn't interrupt fish, I have to pkill it.
My ~/.bash_history has 25876 lines in it. fish managed to call open() on fish_history 13723 times in the first 16 seconds, before I killed it.
(My bashrc sets HISTSIZE=50000 and HISTFILESIZE=50000.)