Skip to content

Segmentation fault with 3.0 on RHEL 7.4 #5550

@dniku

Description

@dniku
$ fish --version
fish, version 3.0.0
$ uname -a
Linux airulsf01 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
$ echo $TERM
xterm-256color
$ sh -c 'env HOME=$(mktemp -d) fish'
Segmentation fault

Segfault is also produced just by running fish.

I don't have an easy way to test the issue with 2.7.1 as I am running on a server without root, where I installed fish using nix, itself installed via proot in ~/.nix.

This gist contains outputs of the following commands:

  • nix log nixpkgs.fish
  • fish -d 5
  • gdb fish
  • strace fish

Note that the output of gdb fish is most likely unhelpful as it seems that fish detects that it is launched in a non-interactive environment (probably due to gdb) and does something weird.

Also note that I have also tried to install fish on the same machine using Linuxbrew, and it also failed with a segfault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions