Skip to content

Runtime Error Bug in the unnethack Nixpkgs #292113

@naidneelttil

Description

@naidneelttil

Describe the bug

when attempting to run this program it immediately gives a buffer overflow detected error
the stacktrace seems to indicate the issue originated on line 15 of .wrapped_unnethack in the nix store.
after getting the error it also alters the terminal. making nothing typed in visible.

Steps To Reproduce

Steps to reproduce the behavior:

  1. run the command nix run "nixpkgs#unnethack"

Expected behavior

I expect the program to run without a buffer overflow detected and the terminal not to be effected.

Screenshots

If applicable, add screenshots to help explain your problem.
this is what it looks like when the program is run:
image

Additional context

N/A

Notify maintainers

@trofi
@Profpatsch

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 6.6.9-200.fc39.x86_64, Fedora Linux, 39.20240113.0 (Silverblue), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.2`
 - nixpkgs: `/var/home/naidneelttil/.nix-defexpr/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions