-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
Callgrind seems to always segfault no matter what command I run it with:
$ valgrind --tool=callgrind /usr/bin/true
==28369== Callgrind, a call-graph generating cache profiler
==28369== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al.
==28369== Using Valgrind-3.27.0.GIT-lbmacos and LibVEX; rerun with -h for copyright info
==28369== Command: /usr/bin/true
==28369==
==28369== For interactive control, run 'callgrind_control -h'.
==28369==
==28369== Process terminating with default action of signal 11 (SIGSEGV)
==28369== Bad permissions for mapped region at address 0x8
==28369== at 0x1003DEDA8: cerror_nocancel (in /usr/lib/dyld)
==28369== by 0x1003E1C17: __kdebug_typefilter (in /usr/lib/dyld)
==28369== by 0x1003DDA4B: kdebug_is_enabled (in /usr/lib/dyld)
==28369== by 0x10042A713: dyld3::kdebug_trace_dyld_marker(unsigned int, dyld3::kt_arg, dyld3::kt_arg, dyld3::kt_arg, dyld3::kt_arg) (in /usr/lib/dyld)
==28369== by 0x1003E319F: (below main) (in /usr/lib/dyld)
==28369==
==28369== Events : Ir
==28369== Collected : 70
==28369==
==28369== I refs: 70
zsh: segmentation fault valgrind --tool=callgrind /usr/bin/true
I built from source and installed with a prefix of /opt/homebrew/opt/valgrind/ after running into #161, and valgrind --version doesn't crash but valgrind --tool=callgrind /usr/bin/true always segfaults.
Information
- macOS architecture (
uname -m): arm64 - macOS version (
sw_vers): 26.3 - Xcode version (
xcrun --sdk macosx --show-sdk-version): 26.2
Reactions are currently unavailable