In bash, if I run a program and it crashes I get some information about what went wrong, such as Segmentation fault (core dumped)
. In fish, I just get fish:
but no message... does anyone know what the issue is?
1 Answer
Im not familiar with fish as a shell, but upon quick googleing fu, https://fishshell.com/docs/current/
section: Input/Output (IO) redirection and https://fishshell.com/docs/current/faq.html question: How do I get the exit status of a command?
Are these errors printed or redirected correctly or captured in any way? By default, are they set to be printed to your default screen? some results suggest updating to the latest version, I guess that means checking if your versions is either outdated or having an isue. Getting either the latest or latest stable one availeble for your distro or from Github might help.
sleep 888 &
" then "kill -11 %1
" produces "fish: Job 1, 'sleep 888 &' terminated by signal SIGSEGV (Address boundary error)
". What doesfish -v
report? What doeslocale
output and if it isn't english does the problem go away if you switch to an english, orPOSIX
locale?fish -v
gives2.6.0
, andlocale
doesn't specify aLANG
orLC_ALL
.LC_CTYPE
isUTF-8
and the rest isC