[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on every program run through Valgrind on macOS Sequoia15.1.1 #115

Open
siooooo opened this issue Nov 20, 2024 · 0 comments
Open

Errors on every program run through Valgrind on macOS Sequoia15.1.1 #115

siooooo opened this issue Nov 20, 2024 · 0 comments

Comments

@siooooo
Copy link
siooooo commented Nov 20, 2024

Context

I installed Valgrind by changing the .rb configuration to branch feature/m1.
After a successful installation, I encounter the same error regardless of the file I try to run with Valgrind, even when using a simple hello world program.
Thank you for taking the time to look into this issue. If you need any further details or clarification, please don’t hesitate to ask.

What went wrong?

valgrind -s ./a.out
==34411== Memcheck, a memory error detector
==34411== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==34411== Using Valgrind-3.24.0.GIT-lbmacos and LibVEX; rerun with -h for copyright info
==34411== Command: ./a.out
==34411==
==34411== Invalid write of size 1
==34411==    at 0x19C9B7C10: _simple_asl_init (in /usr/lib/system/libsystem_platform.dylib)
==34411==    by 0x19C9B78BB: __libplatform_init (in /usr/lib/system/libsystem_platform.dylib)
==34411==    by 0x1AA44259F: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104168010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid write of size 8
==34411==    at 0x19C9B7C24: _simple_asl_init (in /usr/lib/system/libsystem_platform.dylib)
==34411==    by 0x19C9B78BB: __libplatform_init (in /usr/lib/system/libsystem_platform.dylib)
==34411==    by 0x1AA44259F: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104168018 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815204: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799A0F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180018 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C8155D8: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799A0F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799A0F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815204: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799B5F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180018 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C8155D8: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799B5F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799B5F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815204: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799BC7: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180018 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C8155D8: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799BC7: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799BC7: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815204: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C79ADAF: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180018 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C8155D8: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C79ADAF: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104180010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C79ADAF: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid read of size 8
==34411==    at 0x19C795618: malloc_zone_register_while_locked (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104170000 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Warning: client syscall mprotect tried to modify addresses 0x104170000-0x104173fff
==34411== Invalid read of size 8
==34411==    at 0x10434E91C: _platform_memmove (in /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/vgpreload_memcheck-arm64-darwin.so)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104170008 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411== Invalid write of size 8
==34411==    at 0x10434E920: _platform_memmove (in /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/vgpreload_memcheck-arm64-darwin.so)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104170010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411==
==34411== Process terminating with default action of signal 10 (SIGBUS)
==34411==  Invalid address alignment at address 0x104170010
==34411==    at 0x10434E920: _platform_memmove (in /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/vgpreload_memcheck-arm64-darwin.so)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==
==34411== HEAP SUMMARY:
==34411==     in use at exit: 0 bytes in 0 blocks
==34411==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==34411==
==34411== All heap blocks were freed -- no leaks are possible
==34411==
==34411== ERROR SUMMARY: 58 errors from 17 contexts (suppressed: 1 from 1)
==34411==
==34411== 1 errors in context 1 of 17:
==34411== Invalid write of size 8
==34411==    at 0x10434E920: _platform_memmove (in /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/vgpreload_memcheck-arm64-darwin.so)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104170010 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411==
==34411== 1 errors in context 2 of 17:
==34411== Invalid read of size 8
==34411==    at 0x10434E91C: _platform_memmove (in /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/vgpreload_memcheck-arm64-darwin.so)
==34411==    by 0x19C79AEF3: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x104170008 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411==
.
.
.(Omitted some similar errors)
==34411== 11 errors in context 16 of 17:
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C799A0F: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
==34411==
==34411== 12 errors in context 17 of 17:
==34411== Invalid read of size 8
==34411==    at 0x19C815600: _os_feature_enabled_simple_impl (in /usr/lib/system/libsystem_featureflags.dylib)
==34411==    by 0x19C79ADAF: __malloc_init (in /usr/lib/system/libsystem_malloc.dylib)
==34411==    by 0x1AA442603: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
==34411==    by 0x1041FDD53: invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10423C4CF: invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x10422FC37: invocation function for block in dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x1041E22DB: dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void ( block_pointer)(load_command const*, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10422EBCB: dyld3::MachOFile::forEachSection(void ( block_pointer)(dyld3::MachOFile::SectionInfo const&, bool, bool&)) const (in /usr/lib/dyld)
==34411==    by 0x10423BFE3: dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void ( block_pointer)(unsigned int), void const*) const (in /usr/lib/dyld)
==34411==    by 0x1041FDBB3: dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x104208BE7: dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const (in /usr/lib/dyld)
==34411==    by 0x10421D8B7: dyld4::APIs::runAllInitializersForMain() (in /usr/lib/dyld)
==34411==  Address 0x1041824a8 is not stack'd, malloc'd or (recently) free'd
==34411==
--34411--
--34411-- used_suppression:      1 OSX1500:dyld_faulty_std_move /opt/homebrew/Cellar/valgrind/HEAD-bee13c5/libexec/valgrind/default.supp:742
==34411==
==34411== ERROR SUMMARY: 58 errors from 17 contexts (suppressed: 1 from 1)
[1]    34411 bus error  valgrind -s ./a.out

Information

  • macOS architecture (uname -m): arm64(M1 Max)
  • macOS version (sw_vers): Sequoia 15.1.1 (24B91)
  • Xcode version (xcrun --sdk macosx --show-sdk-version): 15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant