Skip to content

llvmPackages_16: ueberzugpp segfaults on darwin #244319

@wegank

Description

@wegank

Describe the bug

ueberzugpp segfaults if compiled with Clang 15+ from Nixpkgs on Darwin:

$ result/bin/ueberzugpp
Segmentation fault: 11

The failure is not observed with Clang 15+ from Homebrew or Clang 14 from Nixpkgs, so I assume it's an issue here and not upstream.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build ueberzugpp with llvmPackages_16.stdenv on Darwin
  2. Run ueberzugpp

Expected behavior

$ result/bin/ueberzugpp
Display images in the terminal
Usage: ueberzug [OPTIONS] [SUBCOMMAND]

Options:
  -h,--help                   Print this help message and exit
  -V,--version                Print version information.

Subcommands:
  layer                       Display images on the terminal.
  cmd                         Send a command to a running ueberzugpp instance.
  tmux                        Handle tmux hooks. Used internaly.
  query_windows               **UNUSED**, only present for backwards compatibility.

Screenshots

Additional context

Notify maintainers

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: `"aarch64-darwin"`
 - host os: `Darwin 22.5.0, macOS 13.4.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.15.1`
 - channels(user): `"darwin, home-manager, nixpkgs, nur-packages"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/Users/user/.nix-defexpr/channels/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: darwinRunning or building packages on Darwin6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and related
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions