NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.58k stars 13.73k forks source link

GCL segfaults on errors #220836

Open Uthar opened 1 year ago

Uthar commented 1 year ago

Describe the bug

gcl segfaults

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix run nixpkgs#gcl / nix run nixpkgs#gcl_2_6_13_pre
  2. (require 'foo)
  3. Segfault

Expected behavior

Entry into the Common Lisp debugger

Notify maintainers

@7c6f434c

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.81, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(kpg): `"nix-cl, nixpkgs-21.11.tar.gz"`
 - channels(root): `""`
 - nixpkgs: `/home/kpg/.nix-defexpr/channels/nixpkgs`
Uthar commented 1 year ago

I got it to work with hardeningDisable = [ "all" ];

7c6f434c commented 1 year ago

Hm, how easily bisectable it is to figure out which hardening flag is relevant?