question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tone quit unexpectedly - m1 Mac

See original GitHub issue

Hey! this projects seems like it could definitely be useful but I wanted to let you know that it’s not running on my m1 Mac. I installed following the instructions in the readme, and when I try to run tone --help I get this:

zsh: bus error  tone --help

There is also a full error log from the OS, which I’m not sure will be any help, but I figure I might as well add that too:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               tone [7311]
Path:                  /usr/local/bin/tone
Identifier:            tone
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        zsh [2290]
Responsible:           iTerm2 [2240]
User ID:               501

Date/Time:             2022-05-25 22:55:54.5793 -0400
OS Version:            macOS 12.3 (21E230)
Report Version:        12
Anonymous UUID:        944DF720-1207-90C0-C191-F086EC41CE95


Time Awake Since Boot: 7200 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x000000012566393c
Exception Codes:       0x0000000000000002, 0x000000012566393c
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process:   exc handler [7311]

VM Region Info: 0x12566393c is in 0x125308000-0x125830000;  bytes after start: 3520828  bytes before end: 1885891
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      VM_ALLOCATE                 1252fc000-125308000    [   48K] rw-/rwx SM=ZER  
--->  VM_ALLOCATE                 125308000-125830000    [ 5280K] r-x/rwx SM=ZER  
      VM_ALLOCATE                 125830000-12596c000    [ 1264K] rw-/rwx SM=ZER  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   tone                          	       0x1033ed298 PEImageLayout::ApplyBaseRelocations() + 496
1   tone                          	       0x1033ed21c PEImageLayout::ApplyBaseRelocations() + 372
2   tone                          	       0x1033ed894 ConvertedImageLayout::ConvertedImageLayout(PEImageLayout*, int) + 708
3   tone                          	       0x1033ece24 PEImageLayout::LoadConverted(PEImage*, int) + 80
4   tone                          	       0x1033ecef8 PEImageLayout::Map(PEImage*) + 36
5   tone                          	       0x102f8df9c PEImage::CreateLayoutMapped() + 116
6   tone                          	       0x102f8de08 PEImage::GetLayoutInternal(unsigned int, unsigned int) + 116
7   tone                          	       0x102f8c6e4 PEImage::GetLayout(unsigned int, unsigned int) + 236
8   tone                          	       0x103017174 BinderAcquireImport + 164
9   tone                          	       0x1031ee098 BINDER_SPACE::AssemblyBinder::GetAssembly(SString&, int, int, BINDER_SPACE::Assembly**, char16_t const*, BundleFileLocation) + 436
10  tone                          	       0x1031ed944 BINDER_SPACE::AssemblyBinder::BindToSystem(SString&, BINDER_SPACE::Assembly**, bool) + 432
11  tone                          	       0x1031f6488 CCoreCLRBinderHelper::BindToSystem(ICLRPrivAssembly**, bool) + 292
12  tone                          	       0x102f8b438 PEAssembly::DoOpenSystem(IUnknown*) + 64
13  tone                          	       0x102f8b1d4 PEAssembly::OpenSystem(IUnknown*) + 132
14  tone                          	       0x102ed7d48 SystemDomain::LoadBaseSystemClasses() + 28
15  tone                          	       0x102ed7a94 SystemDomain::Init() + 580
16  tone                          	       0x1033ead40 EEStartupHelper() + 1696
17  tone                          	       0x1033ea0a0 EEStartup() + 196
18  tone                          	       0x1033e9fc0 EnsureEEStarted() + 356
19  tone                          	       0x102f189d4 CorHost2::Start() + 124
20  tone                          	       0x1033eea04 coreclr_initialize + 724
21  tone                          	       0x102ea87b8 coreclr_t::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, char const*, coreclr_property_bag_t const&, std::__1::unique_ptr<coreclr_t, std::__1::default_delete<coreclr_t> >&) + 412
22  tone                          	       0x102eb5af0 (anonymous namespace)::create_coreclr() + 432
23  tone                          	       0x102eb55b4 corehost_main + 160
24  tone                          	       0x102e963a0 fx_muxer_t::handle_exec_host_command(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, host_startup_info_t const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::unordered_map<known_options, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, known_options_hash, std::__1::equal_to<known_options>, std::__1::allocator<std::__1::pair<known_options const, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > > const&, int, char const**, int, host_mode_t, bool, char*, int, int*) + 1320
25  tone                          	       0x102e9548c fx_muxer_t::execute(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, char const**, host_startup_info_t const&, char*, int, int*) + 856
26  tone                          	       0x102e91f6c hostfxr_main_bundle_startupinfo + 196
27  tone                          	       0x102ed53e8 exe_start(int, char const**) + 1124
28  tone                          	       0x102ed56d8 main + 152
29  dyld                          	       0x1044e5088 start + 516

Thread 1:
0   libsystem_kernel.dylib        	       0x19db248d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x19db24d40 mach_msg + 76
2   tone                          	       0x10349405c MachMessage::Receive(unsigned int) + 80
3   tone                          	       0x1034933f8 SEHExceptionThread(void*) + 148
4   libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
5   libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8

Thread 2:
0   libsystem_kernel.dylib        	       0x19db2ac40 kevent + 8
1   tone                          	       0x103487998 CorUnix::CPalSynchronizationManager::ReadBytesFromProcessPipe(int, unsigned char*, int) + 464
2   tone                          	       0x103487098 CorUnix::CPalSynchronizationManager::WorkerThread(void*) + 116
3   tone                          	       0x103490f7c CorUnix::CPalThread::ThreadEntry(void*) + 380
4   libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
5   libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8

Thread 3:
0   libsystem_kernel.dylib        	       0x19db2ced0 poll + 8
1   tone                          	       0x1031e7980 ds_ipc_poll(_DiagnosticsIpcPollHandle*, unsigned long, unsigned int, void (*)(char const*, unsigned int)) + 180
2   tone                          	       0x10329d10c ds_ipc_stream_factory_get_next_available_stream(void (*)(char const*, unsigned int)) + 884
3   tone                          	       0x10329b1c8 server_thread(void*) + 324
4   tone                          	       0x103490f7c CorUnix::CPalThread::ThreadEntry(void*) + 380
5   libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8

Thread 4:
0   libsystem_kernel.dylib        	       0x19db254f0 __open + 8
1   libsystem_kernel.dylib        	       0x19db30018 open + 64
2   tone                          	       0x1031e84c4 TwoWayPipe::WaitForConnection() + 40
3   tone                          	       0x1031e242c DbgTransportSession::TransportWorker() + 196
4   tone                          	       0x1031e14fc DbgTransportSession::TransportWorkerStatic(void*) + 12
5   tone                          	       0x103490f7c CorUnix::CPalThread::ThreadEntry(void*) + 380
6   libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8

Thread 5:
0   libsystem_kernel.dylib        	       0x19db28290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19db6283c _pthread_cond_wait + 1236
2   tone                          	       0x103485688 CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) + 340
3   tone                          	       0x103485340 CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) + 444
4   tone                          	       0x1034895b0 CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int) + 1676
5   tone                          	       0x1031dfcfc DebuggerRCThread::MainLoop() + 208
6   tone                          	       0x1031dfbc0 DebuggerRCThread::ThreadProc() + 248
7   tone                          	       0x1031df988 DebuggerRCThread::ThreadProcStatic(void*) + 32
8   tone                          	       0x103490f7c CorUnix::CPalThread::ThreadEntry(void*) + 380
9   libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
10  libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8

Thread 6:
0   libsystem_kernel.dylib        	       0x19db28290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19db6283c _pthread_cond_wait + 1236
2   tone                          	       0x103485654 CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) + 288
3   tone                          	       0x103485340 CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) + 444
4   tone                          	       0x1034895b0 CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int) + 1676
5   tone                          	       0x10348976c WaitForSingleObjectEx + 80
6   tone                          	       0x1030c1978 CLREventBase::WaitEx(unsigned int, WaitMode, PendingSync*) + 196
7   tone                          	       0x103032dd4 FinalizerThread::WaitForFinalizerEvent(CLREvent*) + 48
8   tone                          	       0x103032fec FinalizerThread::FinalizerThreadWorker(void*) + 252
9   tone                          	       0x102fbd820 ManagedThreadBase_DispatchOuter(ManagedThreadCallState*) + 260
10  tone                          	       0x102fbddf4 ManagedThreadBase::FinalizerBase(void (*)(void*)) + 36
11  tone                          	       0x103033124 FinalizerThread::FinalizerThreadStart(void*) + 88
12  tone                          	       0x103490f7c CorUnix::CPalThread::ThreadEntry(void*) + 380
13  libsystem_pthread.dylib       	       0x19db6226c _pthread_start + 148
14  libsystem_pthread.dylib       	       0x19db5d08c thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000012596f400   x1: 0x0000000fffffc110   x2: 0x0000000000000000   x3: 0x000000016cf7595c
    x4: 0xffffffffff984000   x5: 0x0000000000000020   x6: 0x000000016cf75938   x7: 0x000000016cf75958
    x8: 0x000000000000000e   x9: 0x000000012566393c  x10: 0x000000012583f238  x11: 0x0000000000000000
   x12: 0x0000000000000020  x13: 0x0000000125308200  x14: 0x0000000000525400  x15: 0x00000001252f81b0
   x16: 0x000000019db62f5c  x17: 0x0000000126704080  x18: 0x0000000000000000  x19: 0x00000000000045d8
   x20: 0x000000020000001c  x21: 0x0000000125663000  x22: 0x0000000000000024  x23: 0x0000000125308200
   x24: 0x0000000000000020  x25: 0xffffffffa52f8000  x26: 0x000000012596f408  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016cf75990   lr: 0xa9590001033ed21c
    sp: 0x000000016cf75910   pc: 0x00000001033ed298 cpsr: 0x60001000
   far: 0x000000012566393c  esr: 0x9200004f (Data Abort) byte write Permission fault

Binary Images:
       0x102e88000 -        0x1035ebfff tone (*) <3ddf2c6d-8b74-3ae6-af41-29399701b1f5> /usr/local/bin/tone
       0x1044e0000 -        0x10453ffff dyld (*) <fbb89662-e6f2-3434-b542-f75185ac5e74> /usr/lib/dyld
       0x19db23000 -        0x19db5afff libsystem_kernel.dylib (*) <1d7b3b8e-75a1-34ea-aa52-9f7c23155c55> /usr/lib/system/libsystem_kernel.dylib
       0x19db5b000 -        0x19db67fff libsystem_pthread.dylib (*) <cee8bc77-6923-34d9-89a3-6f8f7279605e> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=684.0M resident=0K(0%) swapped_out_or_unallocated=684.0M(100%)
Writable regions: Total=805.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=805.8M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                   32K        1 
MALLOC                           162.2M       15 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)         240.0M        2         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M        7 
Stack                             11.2M        7 
VM_ALLOCATE                        2.5G       20 
__AUTH                             241K       50 
__AUTH_CONST                      2960K      129 
__DATA                            1162K      123 
__DATA_CONST                      3917K      130 
__DATA_DIRTY                       234K       51 
__LINKEDIT                       596.4M        3 
__OBJC_CONST                       279K       31 
__OBJC_RO                         82.9M        1 
__OBJC_RW                         3152K        1 
__TEXT                            87.7M      137 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
shared memory                       16K        1 
===========                     =======  ======= 
TOTAL                              4.1G      717 
TOTAL, minus reserved VM space     3.5G      717 



-----------
Full Report
-----------

{"app_name":"tone","timestamp":"2022-05-25 22:55:54.00 -0400","app_version":"","slice_uuid":"3ddf2c6d-8b74-3ae6-af41-29399701b1f5","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.3 (21E230)","incident_id":"557236BB-9373-4317-94E2-2BC2749FD62E","name":"tone"}
{
  "uptime" : 7200,
  "procLaunch" : "2022-05-25 22:55:54.4866 -0400",
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir10,1",
  "procStartAbsTime" : 175005232415,
  "coalitionID" : 1311,
  "osVersion" : {
    "train" : "macOS 12.3",
    "build" : "21E230",
    "releaseType" : "User"
  },
  "captureTime" : "2022-05-25 22:55:54.5793 -0400",
  "incident" : "557236BB-9373-4317-94E2-2BC2749FD62E",
  "bug_type" : "309",
  "pid" : 7311,
  "procExitAbsTime" : 175007355565,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "tone",
  "procPath" : "\/usr\/local\/bin\/tone",
  "parentProc" : "zsh",
  "parentPid" : 2290,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "944DF720-1207-90C0-C191-F086EC41CE95",
  "responsiblePid" : 2240,
  "responsibleProc" : "iTerm2",
  "sip" : "enabled",
  "vmRegionInfo" : "0x12566393c is in 0x125308000-0x125830000;  bytes after start: 3520828  bytes before end: 1885891\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      VM_ALLOCATE                 1252fc000-125308000    [   48K] rw-\/rwx SM=ZER  \n--->  VM_ALLOCATE                 125308000-125830000    [ 5280K] r-x\/rwx SM=ZER  \n      VM_ALLOCATE                 125830000-12596c000    [ 1264K] rw-\/rwx SM=ZER  ",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000002, 0x000000012566393c","rawCodes":[2,4922423612],"type":"EXC_BAD_ACCESS","signal":"SIGBUS","subtype":"KERN_PROTECTION_FAILURE at 0x000000012566393c"},
  "termination" : {"flags":0,"code":10,"namespace":"SIGNAL","indicator":"Bus error: 10","byProc":"exc handler","byPid":7311},
  "vmregioninfo" : "0x12566393c is in 0x125308000-0x125830000;  bytes after start: 3520828  bytes before end: 1885891\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      VM_ALLOCATE                 1252fc000-125308000    [   48K] rw-\/rwx SM=ZER  \n--->  VM_ALLOCATE                 125308000-125830000    [ 5280K] r-x\/rwx SM=ZER  \n      VM_ALLOCATE                 125830000-12596c000    [ 1264K] rw-\/rwx SM=ZER  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":104249,"threadState":{"x":[{"value":4925617152},{"value":68719460624},{"value":0},{"value":6123116892},{"value":18446744073702752256},{"value":32},{"value":6123116856},{"value":6123116888},{"value":14},{"value":4922423612},{"value":4924371512},{"value":0},{"value":32},{"value":4918903296},{"value":5395456},{"value":4918837680},{"value":6940929884,"symbolLocation":0,"symbol":"pthread_jit_write_protect_np"},{"value":4939858048},{"value":0},{"value":17880},{"value":8589934620},{"value":4922421248},{"value":36},{"value":4918903296},{"value":32},{"value":18446744072185937920},{"value":4925617160},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":12202784669686485532},"cpsr":{"value":1610616832},"fp":{"value":6123116944},"sp":{"value":6123116816},"esr":{"value":2449473615,"description":"(Data Abort) byte write Permission fault"},"pc":{"value":4349416088,"matchesCrashFrame":1},"far":{"value":4922423612}},"queue":"com.apple.main-thread","frames":[{"imageOffset":5657240,"symbol":"PEImageLayout::ApplyBaseRelocations()","symbolLocation":496,"imageIndex":0},{"imageOffset":5657116,"symbol":"PEImageLayout::ApplyBaseRelocations()","symbolLocation":372,"imageIndex":0},{"imageOffset":5658772,"symbol":"ConvertedImageLayout::ConvertedImageLayout(PEImageLayout*, int)","symbolLocation":708,"imageIndex":0},{"imageOffset":5656100,"symbol":"PEImageLayout::LoadConverted(PEImage*, int)","symbolLocation":80,"imageIndex":0},{"imageOffset":5656312,"symbol":"PEImageLayout::Map(PEImage*)","symbolLocation":36,"imageIndex":0},{"imageOffset":1073052,"symbol":"PEImage::CreateLayoutMapped()","symbolLocation":116,"imageIndex":0},{"imageOffset":1072648,"symbol":"PEImage::GetLayoutInternal(unsigned int, unsigned int)","symbolLocation":116,"imageIndex":0},{"imageOffset":1066724,"symbol":"PEImage::GetLayout(unsigned int, unsigned int)","symbolLocation":236,"imageIndex":0},{"imageOffset":1634676,"symbol":"BinderAcquireImport","symbolLocation":164,"imageIndex":0},{"imageOffset":3563672,"symbol":"BINDER_SPACE::AssemblyBinder::GetAssembly(SString&, int, int, BINDER_SPACE::Assembly**, char16_t const*, BundleFileLocation)","symbolLocation":436,"imageIndex":0},{"imageOffset":3561796,"symbol":"BINDER_SPACE::AssemblyBinder::BindToSystem(SString&, BINDER_SPACE::Assembly**, bool)","symbolLocation":432,"imageIndex":0},{"imageOffset":3597448,"symbol":"CCoreCLRBinderHelper::BindToSystem(ICLRPrivAssembly**, bool)","symbolLocation":292,"imageIndex":0},{"imageOffset":1061944,"symbol":"PEAssembly::DoOpenSystem(IUnknown*)","symbolLocation":64,"imageIndex":0},{"imageOffset":1061332,"symbol":"PEAssembly::OpenSystem(IUnknown*)","symbolLocation":132,"imageIndex":0},{"imageOffset":326984,"symbol":"SystemDomain::LoadBaseSystemClasses()","symbolLocation":28,"imageIndex":0},{"imageOffset":326292,"symbol":"SystemDomain::Init()","symbolLocation":580,"imageIndex":0},{"imageOffset":5647680,"symbol":"EEStartupHelper()","symbolLocation":1696,"imageIndex":0},{"imageOffset":5644448,"symbol":"EEStartup()","symbolLocation":196,"imageIndex":0},{"imageOffset":5644224,"symbol":"EnsureEEStarted()","symbolLocation":356,"imageIndex":0},{"imageOffset":592340,"symbol":"CorHost2::Start()","symbolLocation":124,"imageIndex":0},{"imageOffset":5663236,"symbol":"coreclr_initialize","symbolLocation":724,"imageIndex":0},{"imageOffset":133048,"symbol":"coreclr_t::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, char const*, coreclr_property_bag_t const&, std::__1::unique_ptr<coreclr_t, std::__1::default_delete<coreclr_t> >&)","symbolLocation":412,"imageIndex":0},{"imageOffset":187120,"symbol":"(anonymous namespace)::create_coreclr()","symbolLocation":432,"imageIndex":0},{"imageOffset":185780,"symbol":"corehost_main","symbolLocation":160,"imageIndex":0},{"imageOffset":58272,"symbol":"fx_muxer_t::handle_exec_host_command(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, host_startup_info_t const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::unordered_map<known_options, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, known_options_hash, std::__1::equal_to<known_options>, std::__1::allocator<std::__1::pair<known_options const, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > > const&, int, char const**, int, host_mode_t, bool, char*, int, int*)","symbolLocation":1320,"imageIndex":0},{"imageOffset":54412,"symbol":"fx_muxer_t::execute(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, char const**, host_startup_info_t const&, char*, int, int*)","symbolLocation":856,"imageIndex":0},{"imageOffset":40812,"symbol":"hostfxr_main_bundle_startupinfo","symbolLocation":196,"imageIndex":0},{"imageOffset":316392,"symbol":"exe_start(int, char const**)","symbolLocation":1124,"imageIndex":0},{"imageOffset":317144,"symbol":"main","symbolLocation":152,"imageIndex":0},{"imageOffset":20616,"symbol":"start","symbolLocation":516,"imageIndex":1}]},{"id":104253,"frames":[{"imageOffset":6352,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":2},{"imageOffset":7488,"symbol":"mach_msg","symbolLocation":76,"imageIndex":2},{"imageOffset":6340700,"symbol":"MachMessage::Receive(unsigned int)","symbolLocation":80,"imageIndex":0},{"imageOffset":6337528,"symbol":"SEHExceptionThread(void*)","symbolLocation":148,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":104254,"frames":[{"imageOffset":31808,"symbol":"kevent","symbolLocation":8,"imageIndex":2},{"imageOffset":6289816,"symbol":"CorUnix::CPalSynchronizationManager::ReadBytesFromProcessPipe(int, unsigned char*, int)","symbolLocation":464,"imageIndex":0},{"imageOffset":6287512,"symbol":"CorUnix::CPalSynchronizationManager::WorkerThread(void*)","symbolLocation":116,"imageIndex":0},{"imageOffset":6328188,"symbol":"CorUnix::CPalThread::ThreadEntry(void*)","symbolLocation":380,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":104255,"frames":[{"imageOffset":40656,"symbol":"poll","symbolLocation":8,"imageIndex":2},{"imageOffset":3537280,"symbol":"ds_ipc_poll(_DiagnosticsIpcPollHandle*, unsigned long, unsigned int, void (*)(char const*, unsigned int))","symbolLocation":180,"imageIndex":0},{"imageOffset":4280588,"symbol":"ds_ipc_stream_factory_get_next_available_stream(void (*)(char const*, unsigned int))","symbolLocation":884,"imageIndex":0},{"imageOffset":4272584,"symbol":"server_thread(void*)","symbolLocation":324,"imageIndex":0},{"imageOffset":6328188,"symbol":"CorUnix::CPalThread::ThreadEntry(void*)","symbolLocation":380,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":104256,"frames":[{"imageOffset":9456,"symbol":"__open","symbolLocation":8,"imageIndex":2},{"imageOffset":53272,"symbol":"open","symbolLocation":64,"imageIndex":2},{"imageOffset":3540164,"symbol":"TwoWayPipe::WaitForConnection()","symbolLocation":40,"imageIndex":0},{"imageOffset":3515436,"symbol":"DbgTransportSession::TransportWorker()","symbolLocation":196,"imageIndex":0},{"imageOffset":3511548,"symbol":"DbgTransportSession::TransportWorkerStatic(void*)","symbolLocation":12,"imageIndex":0},{"imageOffset":6328188,"symbol":"CorUnix::CPalThread::ThreadEntry(void*)","symbolLocation":380,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":104257,"frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":6280840,"symbol":"CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*)","symbolLocation":340,"imageIndex":0},{"imageOffset":6280000,"symbol":"CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*)","symbolLocation":444,"imageIndex":0},{"imageOffset":6297008,"symbol":"CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int)","symbolLocation":1676,"imageIndex":0},{"imageOffset":3505404,"symbol":"DebuggerRCThread::MainLoop()","symbolLocation":208,"imageIndex":0},{"imageOffset":3505088,"symbol":"DebuggerRCThread::ThreadProc()","symbolLocation":248,"imageIndex":0},{"imageOffset":3504520,"symbol":"DebuggerRCThread::ThreadProcStatic(void*)","symbolLocation":32,"imageIndex":0},{"imageOffset":6328188,"symbol":"CorUnix::CPalThread::ThreadEntry(void*)","symbolLocation":380,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]},{"id":104258,"frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":2},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":3},{"imageOffset":6280788,"symbol":"CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*)","symbolLocation":288,"imageIndex":0},{"imageOffset":6280000,"symbol":"CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*)","symbolLocation":444,"imageIndex":0},{"imageOffset":6297008,"symbol":"CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int)","symbolLocation":1676,"imageIndex":0},{"imageOffset":6297452,"symbol":"WaitForSingleObjectEx","symbolLocation":80,"imageIndex":0},{"imageOffset":2333048,"symbol":"CLREventBase::WaitEx(unsigned int, WaitMode, PendingSync*)","symbolLocation":196,"imageIndex":0},{"imageOffset":1748436,"symbol":"FinalizerThread::WaitForFinalizerEvent(CLREvent*)","symbolLocation":48,"imageIndex":0},{"imageOffset":1748972,"symbol":"FinalizerThread::FinalizerThreadWorker(void*)","symbolLocation":252,"imageIndex":0},{"imageOffset":1267744,"symbol":"ManagedThreadBase_DispatchOuter(ManagedThreadCallState*)","symbolLocation":260,"imageIndex":0},{"imageOffset":1269236,"symbol":"ManagedThreadBase::FinalizerBase(void (*)(void*))","symbolLocation":36,"imageIndex":0},{"imageOffset":1749284,"symbol":"FinalizerThread::FinalizerThreadStart(void*)","symbolLocation":88,"imageIndex":0},{"imageOffset":6328188,"symbol":"CorUnix::CPalThread::ThreadEntry(void*)","symbolLocation":380,"imageIndex":0},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":3},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4343758848,
    "size" : 7749632,
    "uuid" : "3ddf2c6d-8b74-3ae6-af41-29399701b1f5",
    "path" : "\/usr\/local\/bin\/tone",
    "name" : "tone"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4367187968,
    "size" : 393216,
    "uuid" : "fbb89662-e6f2-3434-b542-f75185ac5e74",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6940667904,
    "size" : 229376,
    "uuid" : "1d7b3b8e-75a1-34ea-aa52-9f7c23155c55",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6940897280,
    "size" : 53248,
    "uuid" : "cee8bc77-6923-34d9-89a3-6f8f7279605e",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6937608192,
  "size" : 3136438272,
  "uuid" : "00edbaf8-9281-3f26-b94f-e6a315e3a659"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=684.0M resident=0K(0%) swapped_out_or_unallocated=684.0M(100%)\nWritable regions: Total=805.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=805.8M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nKernel Alloc Once                   32K        1 \nMALLOC                           162.2M       15 \nMALLOC guard page                   96K        5 \nMALLOC_MEDIUM (reserved)         240.0M        2         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M        7 \nStack                             11.2M        7 \nVM_ALLOCATE                        2.5G       20 \n__AUTH                             241K       50 \n__AUTH_CONST                      2960K      129 \n__DATA                            1162K      123 \n__DATA_CONST                      3917K      130 \n__DATA_DIRTY                       234K       51 \n__LINKEDIT                       596.4M        3 \n__OBJC_CONST                       279K       31 \n__OBJC_RO                         82.9M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                            87.7M      137 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              4.1G      717 \nTOTAL, minus reserved VM space     3.5G      717 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "628bd2fda5168570b594bb52"
      },
      "deploymentId" : 240000135
    },
    {
      "rolloutId" : "61af99aeda72d16a4beb7756",
      "factorPackIds" : {

      },
      "deploymentId" : 240000176
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookAir10,1, BootROM 7459.101.2, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Display: ES07D03, 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus), MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Feb  8 2022 01:44:45 version 18.60.21.0.7.8.126 FWID 01-1cdae627
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Thunderbolt Ethernet Slot 0, Ethernet, en6
Network Service: iPhone, Ethernet, en7
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@6,0,0
PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@5,0,0
PCI Card: ethernet, Ethernet Controller, Thunderbolt@3,0,0
PCI Card: pci1b21,1242, USB eXtensible Host Controller, Thunderbolt@4,0,0
PCI Card: pci8086,15d4, USB eXtensible Host Controller, Thunderbolt@7,0,0
PCI Card: pci1987,5012, NVM Express Controller, Thunderbolt@4,0,0
PCI Card: pci8086,15f0, USB eXtensible Host Controller, Thunderbolt@3,0,0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB30Bus
USB Device: iPhone
USB Device: CalDigit Thunderbolt 3 Audio
USB Device: USB30Bus
USB Device: Card Reader
USB Device: Portable
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: Billboard
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Device: TS3 Plus, CalDigit, Inc., 1, 44.1
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Device: Rocket XTRM Q, Sabrent, 1, 60.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:34 (17 by maintainers)

github_iconTop GitHub Comments

3reactions
remmycatcommented, Apr 2, 2023

Yes, all fixed in 0.1.5! 🎉

1reaction
sandreascommented, Apr 1, 2023

@remmycat

Actually this did fix it for me, I’m successfully running your provided version of tone on macOS with an M2 chip!

That’s awesome.

Thank you so much for all the details (and edits 😋) and of course thank you for your sponsorship - I really really appreciate it. You did a lot for the tone users, because from now on I may be able to put a working tone version for M1 / M2 users online.

Let me explain: The custom UNCOMPRESSED build was done on a Linux machine without codesign, while the official release action is using a (virtual) macOS machine, where codesign IS available. This means using the release action for the next versiontone should work out of the box on M1 / M2, when using UNCOMPRESSED option.

Here is what I will do for the next release:

  • Update the release action to use UNCOMPRESSED builds for macOS
  • Update the install instructions to get rid of the quarantine flags (xattr -d com.apple.quarantine tone)

Currently, I’m working on an OpenSource Cross Platform Audio Player (using Avalonia 11 xplat for Windows, Linux, Mac, Android, iOS, WASM) called Tone Audio Player, but I surely find the time to enhance tone a bit and publish a new release in the next weeks.

I’ll try hard to solve this problem, until then I soon will publish a custom build done on a mac for you all to do more testing in this thread.

Thank you all for your patience and support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

(M1) Mac Keeps Crashing? [Why & How to Fix]
To prevent Mac from crashing, you can force quit unresponsive apps by pressing Option + Command + Esc, selecting the frozen app, and...
Read more >
MacBook Pro 13" M1 True Tone and automati…
TrueTone and automatic brightness stopped working. I tried everything: restart, hard restart, safe mode, system reset, creating a new user.
Read more >
MacBook Pro 13" M1 True Tone and automatic brightness ...
TrueTone and automatic brightness stopped working. I tried everything: restart, hard restart, safe mode, system reset, creating a new user. All ...
Read more >
Is your M1 Mac crashing? You're not alone
First a crackling sound, then a sudden reboot. More and more users are experiencing strange crashes on their M1 Macs.
Read more >
Fix Apps Crashing on M1 Pro/Max Mac After Migration ...
The solution to fix the app crashing problem is rather straightforward; install Rosetta in macOS again. The simplest way to reinstall Rosetta 2 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found