Skip to content

Core dumped for no apparent reason #188

@Arut0ria

Description

@Arut0ria

I am getting core dumped just from --help ?

❯ nix-shell -p nix-ld
these 8 paths will be fetched (0.79 MiB download, 10.37 MiB unpacked):
  /nix/store/xlmpcglsq8l09qh03rf0virz0331pjdc-file-5.45
  /nix/store/kaj8d1zcn149m40s9h0xi0khakibiphz-gcc-wrapper-14.3.0
  /nix/store/khmqxw6b9q7rgkv6hf3gcqf2igk03z1g-gnu-config-2024-01-01
  /nix/store/xk0d14zpm0njxzdm182dd722aqhav2cc-gnumake-4.4.1
  /nix/store/9gy6c7x0k89j6z4cqsxlyjn399bpx8n5-nix-ld-2.0.4
  /nix/store/g7i75czfbw9sy5f8v7rjbama6lr3ya3s-patchelf-0.15.0
  /nix/store/p2mnji2cdxgf6h27hlqzqf7g8f9bqfsi-stdenv-linux
  /nix/store/gi6g289i9ydm3z896x67q210y0qq29zg-update-autotools-gnu-config-scripts-hook
copying path '/nix/store/9gy6c7x0k89j6z4cqsxlyjn399bpx8n5-nix-ld-2.0.4' from 'https://cache.nixos.org'...
copying path '/nix/store/khmqxw6b9q7rgkv6hf3gcqf2igk03z1g-gnu-config-2024-01-01' from 'https://cache.nixos.org'...
copying path '/nix/store/xlmpcglsq8l09qh03rf0virz0331pjdc-file-5.45' from 'https://cache.nixos.org'...
copying path '/nix/store/kaj8d1zcn149m40s9h0xi0khakibiphz-gcc-wrapper-14.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/xk0d14zpm0njxzdm182dd722aqhav2cc-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/g7i75czfbw9sy5f8v7rjbama6lr3ya3s-patchelf-0.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/gi6g289i9ydm3z896x67q210y0qq29zg-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/p2mnji2cdxgf6h27hlqzqf7g8f9bqfsi-stdenv-linux' from 'https://cache.nixos.org'...

[nix-shell:~]$ nix-ld --help
[nix-ld] FATAL: panicked at src/main.rs:183:55:
called `Result::unwrap()` on an `Err` value: Posix(2)
Aborted (core dumped)

nix-ld was working fine 2 minutes ago...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions