Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gv: broken in that it segmentation faults on any document #34841

Closed
iblech opened this issue Feb 11, 2018 · 1 comment
Closed

gv: broken in that it segmentation faults on any document #34841

iblech opened this issue Feb 11, 2018 · 1 comment

Comments

@iblech
Copy link
Contributor

iblech commented Feb 11, 2018

Issue description

gv crashes with a segmentation fault immediately upon starting, before a window is visible.

This happens even with an empty dummy document (created using latex and pdf2ps). For ease of reproducibility, you can find it here.

Steps to reproduce

$ nix-shell -p gv
[nix-shell:~]$ gv empty.ps

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

  • system: "x86_64-linux"
  • host os: Linux 4.14.16, NixOS, 18.03pre127724.03eef817274 (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 1.11.16
  • channels(root): "nixos-18.03pre127724.03eef817274"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
iblech added a commit to iblech/nixpkgs that referenced this issue May 17, 2018
It appears that without pkgconfig, the build process misdetects some features, resulting in gv to segfault immediately on startup.

The fix was adopted from Homebrew/legacy-homebrew#18555 (comment).
@xeji xeji closed this as completed in fac3587 May 19, 2018
@iblech
Copy link
Contributor Author

iblech commented May 20, 2018

Thanks for merging! Glad that this is fixed. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant