What is the correct way to check "segmentation fault (core dumped) nvim"

I usually got that error “segmentation fault (core dumped) nvim” and it crash neovim.
it happen after using terminal inside neovim.

See this section in the wiki: FAQ · neovim/neovim Wiki · GitHub