valgrind: mmap-FIXED(...) failed in UME (load_unixthread1) with error 22 (Invalid argument) errors on macOS #99900
Labels
0.kind: bug
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: darwin
Running or building packages on Darwin
I'll describe the immediate problem first, but see the additional context section as well; I've found a macOS-specific fork/port, so I'm curious if anyone has used Nix-packaged valgrind successfully on macOS (and, if not, if using this fork as the source on Darwin may save some pain)?
Describe the bug
Most of my genuine invocations throw mmap errors. Note that I'm using the nulgrind/none tool to demonstrate that this looks like general valgrind behavior, but I see the same behavior on all ~4 tools I've tried.
No clue why the below two run. I've tried a few dozen programs so far and ps is the only one I've found that it runs for (perm error expected, SIP).
To Reproduce
Steps to reproduce the behavior:
nix-shell -p valgrind --command "valgrind ls"
Additional context
valgrind --help
andvalgrind --version
work.Notify maintainers
Since I wonder if anyone's successfully used it on macOS, I'm also pinging some people that I've seen in #nix-darwin just in case anyone knows... @cransom @LnL7 @matthewbauer @thefloweringash @emilazy @burke @alyssais @eraserhd @toonn @dhess
Metadata
"x86_64-darwin"
Darwin 19.5.0, macOS 10.15.5
no
yes
nix-env (Nix) 3.0pre20200829_f156513
"darwin, nixpkgs-21.03pre243895.72b9660dc18"
/Users/abathur/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: