Skip to content

App crashes on startup on macOS 26 Tahoe - panic in did_finish_launching #1171

Open
beatrizleite05/WhatTheFile
#11

Description

@traklo

Describe the bug

TAO applications crash immediately on startup when running on macOS 26 (Tahoe). The crash occurs in AppState::launched() during app delegate initialisation, before any application code executes.

Thread 0 Crashed:
tao::platform_impl::platform::app_delegate::did_finish_launching + 296

Steps to reproduce

  1. Create minimal TAO application:
use tao::event_loop::EventLoop;
use tao::window::WindowBuilder;

fn main() {
    let event_loop = EventLoop::new();
    let _window = WindowBuilder::new().build(&event_loop).unwrap();
    event_loop.run(|_, _, _| {});
}
  1. Build and run on macOS 26.1 (Tahoe)
  2. App crashes immediately with SIGABRT / panic_cannot_unwind

Expected behavior

Application launches normally (as it does on macOS 15 Sequoia and earlier).

Screenshots

N/A - crash occurs before any window appears.

Platform and Versions (please complete the following information):

  • OS: macOS 26.1 (Tahoe) on Mac15,6 (M3 Pro, Apple Silicon)
  • Rustc: stable (latest)
  • TAO: v0.34.5

Additional context

  • Builds successfully; only runtime is affected
  • Works on macOS 15 (Sequoia) and earlier
  • Suspected cause: macOS 26 changed window/app lifecycle APIs (NSApplicationActivationPolicy or MainThreadMarker handling)

Activity

  1. FabianLars commented on Jan 12, 2026

    @FabianLars
    Member

    do you have a more complete crashlog/stacktrace perhaps? Doesn't happen on my end.

  2. traklo commented on Jan 13, 2026

    @traklo
    Author

    Just tried on another machine with 26.2. The panic location: tao-0.34.5/src/platform_impl/macos/app_delegate.rs:126 - it's happening in MainThreadMarker::new().unwrap() context

    Here's the full stack trace, hope it helps:

    -------------------------------------
    Translated Report (Full Report Below)
    -------------------------------------
    Process:             myapp [14470]
    Path:                /Users/USER/Documents/*/myapp.app/Contents/MacOS/myapp
    Identifier:          myapp
    Version:             ???
    Code Type:           ARM-64 (Native)
    Role:                Foreground
    Parent Process:      launchd [1]
    Coalition:           io.sense.myapp [3844]
    User ID:             501
    
    Date/Time:           2026-01-13 19:10:20.9190 +0000
    Launch Time:         2026-01-13 19:10:17.4731 +0000
    Hardware Model:      Macmini9,1
    OS Version:          macOS 26.2 (25C56)
    Release Type:        User
    
    Crash Reporter Key:  CE13ABD7-E342-C923-D169-45830F87E8DC
    Incident Identifier: E8C867DD-6DDB-4912-8139-B4D65552DA07
    
    Time Awake Since Boot: 3200 seconds
    
    System Integrity Protection: enabled
    
    Triggered by Thread: 0  main, Dispatch Queue: com.apple.main-thread
    
    Exception Type:    EXC_CRASH (SIGABRT)
    Exception Codes:   0x0000000000000000, 0x0000000000000000
    
    Termination Reason:  Namespace SIGNAL, Code 6, Abort trap: 6
    Terminating Process: myapp [14470]
    
    
    Application Specific Information:
    abort() called
    
    
    Thread 0 Crashed:: main Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib        	       0x1818b75b0 __pthread_kill + 8
    1   libsystem_pthread.dylib       	       0x1818f1888 pthread_kill + 296
    2   libsystem_c.dylib             	       0x1817f6850 abort + 124
    3   myapp                    	       0x10419cbd4 std::sys::pal::unix::abort_internal::he83a14397ef717ae + 12
    4   myapp                    	       0x10419dd5c std::process::abort::h2f4325b8d66c2416 + 12
    5   myapp                    	       0x104116db8 std::panicking::panic_with_hook::h93c775fc227522dd + 784
    6   myapp                    	       0x104116988 std::panicking::panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h8561e58c9391724a + 104
    7   myapp                    	       0x104112414 std::sys::backtrace::__rust_end_short_backtrace::h55629ed76aaa9d26 + 12
    8   myapp                    	       0x1040ff5c0 _RNvCsiGVaDesi5rv_7___rustc17rust_begin_unwind + 32
    9   myapp                    	       0x1041a1dc4 core::panicking::panic_nounwind_fmt::hbccf1478dcdd0d51 + 52
    10  myapp                    	       0x1041a1d28 core::panicking::panic_nounwind::h6b2e5f463f7678f3 + 60
    11  myapp                    	       0x1041a1ec8 core::panicking::panic_cannot_unwind::hf78649432160e0db + 24
    12  myapp                    	       0x103d02c60 tao::platform_impl::platform::app_delegate::did_finish_launching::h6564b1daa649de12 + 296
    13  CoreFoundation                	       0x181987494 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
    14  CoreFoundation                	       0x1819ebf44 ___CFXRegistrationPost_block_invoke + 92
    15  CoreFoundation                	       0x1819ebe88 _CFXRegistrationPost + 436
    16  CoreFoundation                	       0x181965f94 _CFXNotificationPost + 740
    17  Foundation                    	       0x183b8f3a0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    18  AppKit                        	       0x185da7ea0 -[NSApplication _postDidFinishNotification] + 308
    19  AppKit                        	       0x185da7c38 -[NSApplication _sendFinishLaunchingNotification] + 172
    20  AppKit                        	       0x18631eed8 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 488
    21  AppKit                        	       0x1863226dc -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 488
    22  Foundation                    	       0x183adc70c -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 316
    23  Foundation                    	       0x18319b688 _NSAppleEventManagerGenericHandler + 80
    24  AE                            	       0x189bc40f4 0x189bb9000 + 45300
    25  AE                            	       0x189bc3a34 0x189bb9000 + 43572
    26  AE                            	       0x189bbd0e8 aeProcessAppleEvent + 484
    27  HIToolbox                     	       0x18e3d47c8 AEProcessAppleEvent + 68
    28  AppKit                        	       0x185da310c _DPSNextEvent + 1296
    29  AppKit                        	       0x18686dd0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
    30  AppKit                        	       0x18686da18 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
    31  AppKit                        	       0x185d9b780 -[NSApplication run] + 368
    32  myapp                    	       0x102ea8538 tao::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::hac94cd388257d724 + 520
    33  myapp                    	       0x102ed75d8 _$LT$tauri_runtime_wry..Wry$LT$T$GT$$u20$as$u20$tauri_runtime..Runtime$LT$T$GT$$GT$::run::h76b23748f479d675 + 216
    34  myapp                    	       0x102abd5dc tauri::app::Builder$LT$R$GT$::run::he82d4485819b035f + 6500
    35  myapp                    	       0x102e0d5ac any_synapse_lib::run::hd3d5301e0cc658b3 + 1056
    36  myapp                    	       0x1026aa0a0 myapp::main::h168404c763906817 + 1052 (main.rs:103)
    37  myapp                    	       0x1026aaa44 core::ops::function::FnOnce::call_once::h30e79fc767d6563d + 4 (function.rs:250) [inlined]
    38  myapp                    	       0x1026aaa44 std::sys::backtrace::__rust_begin_short_backtrace::h73f7c7c4edb1c18d + 12 (backtrace.rs:158)
    39  myapp                    	       0x1026aaa2c std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hd0f1cf796b3fde66 + 16
    40  myapp                    	       0x10410902c std::rt::lang_start_internal::h1e9a2dfabf97dcbe + 1024
    41  myapp                    	       0x1026aa240 main + 52
    42  dyld                          	       0x181529d54 start + 7184
    
    Thread 1:
    
    Thread 2::  Dispatch queue: com.apple.libtrace.state.block-list
    0   libsystem_kernel.dylib        	       0x1818b0ae4 __ulock_wait + 8
    1   libdispatch.dylib             	       0x181736cec _dlock_wait + 56
    2   libdispatch.dylib             	       0x181736b0c _dispatch_thread_event_wait_slow + 56
    3   libdispatch.dylib             	       0x181744c20 __DISPATCH_WAIT_FOR_QUEUE__ + 368
    4   libdispatch.dylib             	       0x1817447d8 _dispatch_sync_f_slow + 148
    5   libsystem_trace.dylib         	       0x1816251ec ___os_state_request_for_self_block_invoke + 372
    6   libdispatch.dylib             	       0x181734b5c _dispatch_call_block_and_release + 32
    7   libdispatch.dylib             	       0x18174ead4 _dispatch_client_callout + 16
    8   libdispatch.dylib             	       0x18173d4e8 _dispatch_lane_serial_drain + 740
    9   libdispatch.dylib             	       0x18173dff8 _dispatch_lane_invoke + 440
    10  libdispatch.dylib             	       0x181748474 _dispatch_root_queue_drain_deferred_wlh + 292
    11  libdispatch.dylib             	       0x181747d6c _dispatch_workloop_worker_thread + 692
    12  libsystem_pthread.dylib       	       0x1818ede4c _pthread_wqthread + 292
    13  libsystem_pthread.dylib       	       0x1818ecb9c start_wqthread + 8
    
    Thread 3:
    
    Thread 4:
    
    Thread 5::  Dispatch queue: com.apple.WebKit.ServicesController
    0   libsystem_kernel.dylib        	       0x1818b0ae4 __ulock_wait + 8
    1   libdispatch.dylib             	       0x181736cec _dlock_wait + 56
    2   libdispatch.dylib             	       0x181736b0c _dispatch_thread_event_wait_slow + 56
    3   libdispatch.dylib             	       0x181744c20 __DISPATCH_WAIT_FOR_QUEUE__ + 368
    4   libdispatch.dylib             	       0x1817447d8 _dispatch_sync_f_slow + 148
    5   WebKit                        	       0x1abb392a4 void std::__1::__call_once_proxy[abi:sn200100]<std::__1::tuple<WebKit::ServicesController::refreshExistingServices(bool)::'block-literal'::$_8&&>>(void*) + 112
    6   libc++.1.dylib                	       0x18180c4e4 std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*)) + 196
    7   WebKit                        	       0x1abb36334 invocation function for block in WebKit::ServicesController::refreshExistingServices(bool) + 360
    8   libdispatch.dylib             	       0x181734b5c _dispatch_call_block_and_release + 32
    9   libdispatch.dylib             	       0x18174ead4 _dispatch_client_callout + 16
    10  libdispatch.dylib             	       0x18173d4e8 _dispatch_lane_serial_drain + 740
    11  libdispatch.dylib             	       0x18173dfc4 _dispatch_lane_invoke + 388
    12  libdispatch.dylib             	       0x181748474 _dispatch_root_queue_drain_deferred_wlh + 292
    13  libdispatch.dylib             	       0x181747d6c _dispatch_workloop_worker_thread + 692
    14  libsystem_pthread.dylib       	       0x1818ede4c _pthread_wqthread + 292
    15  libsystem_pthread.dylib       	       0x1818ecb9c start_wqthread + 8
    
    Thread 6:: com.apple.NSEventThread
    0   libsystem_kernel.dylib        	       0x1818aec34 mach_msg2_trap + 8
    1   libsystem_kernel.dylib        	       0x1818c1028 mach_msg2_internal + 76
    2   libsystem_kernel.dylib        	       0x1818b798c mach_msg_overwrite + 484
    3   libsystem_kernel.dylib        	       0x1818aefb4 mach_msg + 24
    4   CoreFoundation                	       0x181990ba0 __CFRunLoopServiceMachPort + 160
    5   CoreFoundation                	       0x18198f4f8 __CFRunLoopRun + 1188
    6   CoreFoundation                	       0x181a49e34 _CFRunLoopRunSpecificWithOptions + 532
    7   AppKit                        	       0x185e32a34 _NSEventThread + 184
    8   libsystem_pthread.dylib       	       0x1818f1c08 _pthread_start + 136
    9   libsystem_pthread.dylib       	       0x1818ecba8 thread_start + 8
    
    Thread 7:
    
    Thread 8:: JavaScriptCore libpas scavenger
    0   libsystem_kernel.dylib        	       0x1818b24f8 __psynch_cvwait + 8
    1   libsystem_pthread.dylib       	       0x1818f20dc _pthread_cond_wait + 984
    2   JavaScriptCore                	       0x1a46add5c scavenger_thread_main + 1440
    3   libsystem_pthread.dylib       	       0x1818f1c08 _pthread_start + 136
    4   libsystem_pthread.dylib       	       0x1818ecba8 thread_start + 8
    
    Thread 9:: WebCore: Scrolling
    0   libsystem_kernel.dylib        	       0x1818aec34 mach_msg2_trap + 8
    1   libsystem_kernel.dylib        	       0x1818c1028 mach_msg2_internal + 76
    2   libsystem_kernel.dylib        	       0x1818b798c mach_msg_overwrite + 484
    3   libsystem_kernel.dylib        	       0x1818aefb4 mach_msg + 24
    4   CoreFoundation                	       0x181990ba0 __CFRunLoopServiceMachPort + 160
    5   CoreFoundation                	       0x18198f4f8 __CFRunLoopRun + 1188
    6   CoreFoundation                	       0x181a49e34 _CFRunLoopRunSpecificWithOptions + 532
    7   CoreFoundation                	       0x1819e2a40 CFRunLoopRun + 64
    8   JavaScriptCore                	       0x1a301a938 WTF::Detail::CallableWrapper<WTF::RunLoop::create(WTF::ASCIILiteral, WTF::ThreadType, WTF::Thread::QOS)::$_0, void>::call() + 244
    9   JavaScriptCore                	       0x1a305e60c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 260
    10  JavaScriptCore                	       0x1a2e1e28c WTF::wtfThreadEntryPoint(void*) + 16
    11  libsystem_pthread.dylib       	       0x1818f1c08 _pthread_start + 136
    12  libsystem_pthread.dylib       	       0x1818ecba8 thread_start + 8
    
    Thread 10:
    
    Thread 11:
    
    Thread 12:
    
    Thread 13:: CVDisplayLink
    0   libsystem_kernel.dylib        	       0x1818b24f8 __psynch_cvwait + 8
    1   libsystem_pthread.dylib       	       0x1818f2108 _pthread_cond_wait + 1028
    2   CoreVideo                     	       0x18bf1cb3c CVDisplayLink::waitUntil(unsigned long long) + 336
    3   CoreVideo                     	       0x18bf1bc24 CVDisplayLink::runIOThread() + 500
    4   libsystem_pthread.dylib       	       0x1818f1c08 _pthread_start + 136
    5   libsystem_pthread.dylib       	       0x1818ecba8 thread_start + 8
    
    Thread 14:: CVDisplayLink
    0   libsystem_kernel.dylib        	       0x1818b24f8 __psynch_cvwait + 8
    1   libsystem_pthread.dylib       	       0x1818f2108 _pthread_cond_wait + 1028
    2   CoreVideo                     	       0x18bf1cb3c CVDisplayLink::waitUntil(unsigned long long) + 336
    3   CoreVideo                     	       0x18bf1bc24 CVDisplayLink::runIOThread() + 500
    4   libsystem_pthread.dylib       	       0x1818f1c08 _pthread_start + 136
    5   libsystem_pthread.dylib       	       0x1818ecba8 thread_start + 8
    
    
    Thread 0 crashed with ARM Thread State (64-bit):
        x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
        x4: 0x00000007a694ad00   x5: 0x0000000000000008   x6: 0x0000000000000067   x7: 0xfffff0003ffff800
        x8: 0x4cb62524cd7410b1   x9: 0x4cb6252523f53cf1  x10: 0x0000000000000002  x11: 0x0000010000000000
       x12: 0x00000000fffffffd  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
       x16: 0x0000000000000148  x17: 0x00000001efdd0990  x18: 0x0000000000000000  x19: 0x0000000000000006
       x20: 0x0000000000000103  x21: 0x00000001ee812d20  x22: 0x00000001068bc7f8  x23: 0x00000007a706b3a0
       x24: 0x00000001068db000  x25: 0x0000000000041400  x26: 0x0000000000000000  x27: 0x0000001100000011
       x28: 0x000000016d757d38   fp: 0x000000016d757950   lr: 0x00000001818f1888
        sp: 0x000000016d757930   pc: 0x00000001818b75b0 cpsr: 0x40001000
       far: 0x0000000000000000  esr: 0x56000080 (Syscall)
    
    Binary Images:
           0x1026a0000 -        0x10677ffff myapp (*) <6c9bc931-0756-3c0e-8643-2a3aee0f8acc> /Users/USER/Documents/*/myapp.app/Contents/MacOS/myapp
           0x119708000 -        0x119713fff libobjc-trampolines.dylib (*) <d4baeab8-b553-3779-a0ff-d8848e7a22df> /usr/lib/libobjc-trampolines.dylib
           0x11b308000 -        0x11ba57fff com.apple.AGXMetal13-3 (342.3) <1a28beb3-d41b-3dfb-b477-fee36881bc82> /System/Library/Extensions/AGXMetal13_3.bundle/Contents/MacOS/AGXMetal13_3
           0x12c0e0000 -        0x12c143fff com.apple.AppleMetalOpenGLRenderer (1.0) <4ff7e230-8427-36ad-98f9-10a81f174e7e> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
           0x1818ae000 -        0x1818ea49f libsystem_kernel.dylib (*) <548c45c8-9733-3f0d-8ef4-c06df1df2ad0> /usr/lib/system/libsystem_kernel.dylib
           0x1818eb000 -        0x1818f7abb libsystem_pthread.dylib (*) <527c4ba0-91a5-378b-b3e2-d38269ca5a66> /usr/lib/system/libsystem_pthread.dylib
           0x18177d000 -        0x1817ff047 libsystem_c.dylib (*) <fb5569a9-cb26-36c2-aa05-e99243692b60> /usr/lib/system/libsystem_c.dylib
           0x181931000 -        0x181e79c3f com.apple.CoreFoundation (6.9) <649000a2-3eb4-3cf5-970a-d3cb37b5780c> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
           0x183183000 -        0x1841264df com.apple.Foundation (6.9) <6a518869-0a98-34cb-8a15-cc28f898255e> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
           0x185d83000 -        0x1874b227f com.apple.AppKit (6.9) <4e909aec-68bc-3fc9-a87a-de928e1e36e1> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
           0x189bb9000 -        0x189c2cf7f com.apple.AE (944) <f4b609c0-770e-3720-ba57-6c7bcfabc313> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
           0x18e3be000 -        0x18e6c127f com.apple.HIToolbox (2.1.1) <fb92ce0c-1ee5-3f03-992c-df53ed9b3cb4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
           0x181521000 -        0x1815bffc3 dyld (*) <0975afba-c46b-364c-bd84-a75daa9e455a> /usr/lib/dyld
                   0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
           0x181733000 -        0x181779e5f libdispatch.dylib (*) <a4b349e8-dd6f-3b71-84d9-34f3b4acd849> /usr/lib/system/libdispatch.dylib
           0x181619000 -        0x1816398df libsystem_trace.dylib (*) <16f2abf3-27fc-3b12-ae3c-f039c083ae7b> /usr/lib/system/libsystem_trace.dylib
           0x1851ad000 -        0x1855d167f com.apple.security (7.0) <6f4ea801-3def-3377-981b-325ff7a96f8a> /System/Library/Frameworks/Security.framework/Versions/A/Security
           0x1ab0c5000 -        0x1ac6f6dff com.apple.WebKit (21623) <e4150724-6aee-3572-81ab-d96ae7cffd5f> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
           0x181800000 -        0x181892ea3 libc++.1.dylib (*) <bebe1f75-49d4-32e9-9978-ff8d0e799801> /usr/lib/libc++.1.dylib
           0x1a2e18000 -        0x1a48a7f9f com.apple.JavaScriptCore (21623) <3d6979f6-68c0-37a2-ac6d-602136d0aa1b> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
           0x18bf19000 -        0x18bf9cfff com.apple.CoreVideo (1.8) <3a2dcc01-a913-32cc-9fdf-3f8bb6eb1e46> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    
    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=1.8G resident=0K(0%) swapped_out_or_unallocated=1.8G(100%)
    Writable regions: Total=4.4G written=996K(0%) resident=996K(0%) swapped_out=0K(0%) unallocated=4.4G(100%)
    
                                    VIRTUAL   REGION 
    REGION TYPE                        SIZE    COUNT (non-coalesced) 
    ===========                     =======  ======= 
    Activity Tracing                   256K        1 
    ColorSync                           32K        2 
    CoreAnimation                      448K       28 
    CoreGraphics                        48K        3 
    CoreServices                       240K        1 
    Foundation                          16K        1 
    Kernel Alloc Once                   32K        1 
    MALLOC                           134.5M       27 
    MALLOC guard page                 3120K        4 
    STACK GUARD                        224K       14 
    Stack                             15.4M       15 
    Stack Guard                       56.0M        1 
    VM_ALLOCATE                        608K       19 
    VM_ALLOCATE (reserved)             4.0G        2         reserved VM address space (unallocated)
    WebKit Malloc                    224.1M        5 
    WebKit Malloc (reserved)          32.0M        1         reserved VM address space (unallocated)
    __AUTH                            5759K      630 
    __AUTH_CONST                      87.2M     1010 
    __CTF                               824        1 
    __DATA                            34.2M      963 
    __DATA_CONST                      33.7M     1019 
    __DATA_DIRTY                      8271K      872 
    __FONT_DATA                        2352        1 
    __GLSLBUILTINS                    5176K        1 
    __INFO_FILTER                         8        1 
    __LINKEDIT                       608.8M        5 
    __OBJC_RO                         78.4M        1 
    __OBJC_RW                         2570K        1 
    __TEXT                             1.2G     1042 
    __TPRO_CONST                       128K        2 
    mapped file                        1.5G       38 
    page table in kernel               996K        1 
    shared memory                      880K       14 
    ===========                     =======  ======= 
    TOTAL                              8.0G     5727 
    TOTAL, minus reserved VM space     4.0G     5727 
    
    
    -----------
    Full Report
    -----------
    
    {"app_name":"myapp","timestamp":"2026-01-13 19:10:28.00 +0000","app_version":"","slice_uuid":"6c9bc931-0756-3c0e-8643-2a3aee0f8acc","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 26.2 (25C56)","roots_installed":0,"incident_id":"E8C867DD-6DDB-4912-8139-B4D65552DA07","name":"myapp"}
    {
      "uptime" : 3200,
      "procRole" : "Foreground",
      "version" : 2,
      "userID" : 501,
      "deployVersion" : 210,
      "modelCode" : "Macmini9,1",
      "coalitionID" : 3844,
      "osVersion" : {
        "train" : "macOS 26.2",
        "build" : "25C56",
        "releaseType" : "User"
      },
      "captureTime" : "2026-01-13 19:10:20.9190 +0000",
      "codeSigningMonitor" : 1,
      "incident" : "E8C867DD-6DDB-4912-8139-B4D65552DA07",
      "pid" : 14470,
      "translated" : false,
      "cpuType" : "ARM-64",
      "procLaunch" : "2026-01-13 19:10:17.4731 +0000",
      "procStartAbsTime" : 77842424358,
      "procExitAbsTime" : 77923815064,
      "procName" : "myapp",
      "procPath" : "\/Users\/USER\/Documents\/*\/myapp.app\/Contents\/MacOS\/myapp",
      "parentProc" : "launchd",
      "parentPid" : 1,
      "coalitionName" : "io.sense.myapp",
      "crashReporterKey" : "CE13ABD7-E342-C923-D169-45830F87E8DC",
      "appleIntelligenceStatus" : {"reasons":["siriAssetIsNotReady","assetIsNotReady","notOptedIn"],"state":"unavailable"},
      "developerMode" : 1,
      "bootProgressRegister" : "0x2f000000",
      "codeSigningID" : "myapp-50556447bdd479a7",
      "codeSigningTeamID" : "",
      "codeSigningFlags" : 570556929,
      "codeSigningValidationCategory" : 10,
      "codeSigningTrustLevel" : 4294967295,
      "codeSigningAuxiliaryInfo" : 0,
      "instructionByteStream" : {"beforePC":"fyMD1f17v6n9AwCRFOD\/l78DAJH9e8Go\/w9f1sADX9YQKYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkQng\/5e\/AwCR\/XvBqP8PX9bAA1\/WcAqA0g=="},
      "bootSessionUUID" : "94999251-CE62-4177-AAE5-2298FEEFD314",
      "sip" : "enabled",
      "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
      "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"myapp","byPid":14470},
      "asi" : {"libsystem_c.dylib":["abort() called"]},
      "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" : [{"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":32859532544},{"value":8},{"value":103},{"value":18446726482597246976},{"value":5527646432639848625},{"value":5527646434091154673},{"value":2},{"value":1099511627776},{"value":4294967293},{"value":0},{"value":0},{"value":0},{"value":328},{"value":8319207824},{"value":0},{"value":6},{"value":259},{"value":8296410400,"symbolLocation":224,"symbol":"_main_thread"},{"value":4404791288,"symbolLocation":7096,"symbol":"anon.5fc6a76813c4708bfa3282584e456e55.5"},{"value":32867005344},{"value":4404916224,"symbolLocation":6912,"symbol":"crossbeam_utils::atomic::atomic_cell::lock::LOCKS::h02b87cbe3c335877"},{"value":267264},{"value":0},{"value":73014444049},{"value":6131383608}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468606088},"cpsr":{"value":1073745920},"fp":{"value":6131382608},"sp":{"value":6131382576},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468367792,"matchesCrashFrame":1},"far":{"value":0}},"id":137456,"triggered":true,"name":"main","queue":"com.apple.main-thread","frames":[{"imageOffset":38320,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":4},{"imageOffset":26760,"symbol":"pthread_kill","symbolLocation":296,"imageIndex":5},{"imageOffset":497744,"symbol":"abort","symbolLocation":124,"imageIndex":6},{"imageOffset":28298196,"symbol":"std::sys::pal::unix::abort_internal::he83a14397ef717ae","symbolLocation":12,"imageIndex":0},{"imageOffset":28302684,"symbol":"std::process::abort::h2f4325b8d66c2416","symbolLocation":12,"imageIndex":0},{"imageOffset":27749816,"symbol":"std::panicking::panic_with_hook::h93c775fc227522dd","symbolLocation":784,"imageIndex":0},{"imageOffset":27748744,"symbol":"std::panicking::panic_handler::_$u7b$$u7b$closure$u7d$$u7d$::h8561e58c9391724a","symbolLocation":104,"imageIndex":0},{"imageOffset":27730964,"symbol":"std::sys::backtrace::__rust_end_short_backtrace::h55629ed76aaa9d26","symbolLocation":12,"imageIndex":0},{"imageOffset":27653568,"symbol":"_RNvCsiGVaDesi5rv_7___rustc17rust_begin_unwind","symbolLocation":32,"imageIndex":0},{"imageOffset":28319172,"symbol":"core::panicking::panic_nounwind_fmt::hbccf1478dcdd0d51","symbolLocation":52,"imageIndex":0},{"imageOffset":28319016,"symbol":"core::panicking::panic_nounwind::h6b2e5f463f7678f3","symbolLocation":60,"imageIndex":0},{"imageOffset":28319432,"symbol":"core::panicking::panic_cannot_unwind::hf78649432160e0db","symbolLocation":24,"imageIndex":0},{"imageOffset":23473248,"symbol":"tao::platform_impl::platform::app_delegate::did_finish_launching::h6564b1daa649de12","symbolLocation":296,"imageIndex":0},{"imageOffset":353428,"symbol":"__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__","symbolLocation":148,"imageIndex":7},{"imageOffset":765764,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":92,"imageIndex":7},{"imageOffset":765576,"symbol":"_CFXRegistrationPost","symbolLocation":436,"imageIndex":7},{"imageOffset":216980,"symbol":"_CFXNotificationPost","symbolLocation":740,"imageIndex":7},{"imageOffset":10535840,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":88,"imageIndex":8},{"imageOffset":151200,"symbol":"-[NSApplication _postDidFinishNotification]","symbolLocation":308,"imageIndex":9},{"imageOffset":150584,"symbol":"-[NSApplication _sendFinishLaunchingNotification]","symbolLocation":172,"imageIndex":9},{"imageOffset":5881560,"symbol":"-[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]","symbolLocation":488,"imageIndex":9},{"imageOffset":5895900,"symbol":"-[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]","symbolLocation":488,"imageIndex":9},{"imageOffset":9803532,"symbol":"-[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]","symbolLocation":316,"imageIndex":8},{"imageOffset":99976,"symbol":"_NSAppleEventManagerGenericHandler","symbolLocation":80,"imageIndex":8},{"imageOffset":45300,"imageIndex":10},{"imageOffset":43572,"imageIndex":10},{"imageOffset":16616,"symbol":"aeProcessAppleEvent","symbolLocation":484,"imageIndex":10},{"imageOffset":92104,"symbol":"AEProcessAppleEvent","symbolLocation":68,"imageIndex":11},{"imageOffset":131340,"symbol":"_DPSNextEvent","symbolLocation":1296,"imageIndex":9},{"imageOffset":11447564,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":688,"imageIndex":9},{"imageOffset":11446808,"symbol":"-[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:]","symbolLocation":72,"imageIndex":9},{"imageOffset":100224,"symbol":"-[NSApplication run]","symbolLocation":368,"imageIndex":9},{"imageOffset":8422712,"symbol":"tao::platform_impl::platform::event_loop::EventLoop$LT$T$GT$::run::hac94cd388257d724","symbolLocation":520,"imageIndex":0},{"imageOffset":8615384,"symbol":"_$LT$tauri_runtime_wry..Wry$LT$T$GT$$u20$as$u20$tauri_runtime..Runtime$LT$T$GT$$GT$::run::h76b23748f479d675","symbolLocation":216,"imageIndex":0},{"imageOffset":4314588,"symbol":"tauri::app::Builder$LT$R$GT$::run::he82d4485819b035f","symbolLocation":6500,"imageIndex":0},{"imageOffset":7787948,"symbol":"any_synapse_lib::run::hd3d5301e0cc658b3","symbolLocation":1056,"imageIndex":0},{"imageOffset":41120,"sourceLine":103,"sourceFile":"main.rs","symbol":"myapp::main::h168404c763906817","imageIndex":0,"symbolLocation":1052},{"symbol":"core::ops::function::FnOnce::call_once::h30e79fc767d6563d","inline":true,"imageIndex":0,"imageOffset":43588,"symbolLocation":4,"sourceLine":250,"sourceFile":"function.rs"},{"imageOffset":43588,"sourceLine":158,"sourceFile":"backtrace.rs","symbol":"std::sys::backtrace::__rust_begin_short_backtrace::h73f7c7c4edb1c18d","imageIndex":0,"symbolLocation":12},{"imageOffset":43564,"symbol":"std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hd0f1cf796b3fde66","symbolLocation":16,"imageIndex":0},{"imageOffset":27693100,"symbol":"std::rt::lang_start_internal::h1e9a2dfabf97dcbe","symbolLocation":1024,"imageIndex":0},{"imageOffset":41536,"symbol":"main","symbolLocation":52,"imageIndex":0},{"imageOffset":36180,"symbol":"start","symbolLocation":7184,"imageIndex":12}]},{"id":137722,"frames":[],"threadState":{"x":[{"value":6131970048},{"value":8451},{"value":6131433472},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6131970048},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137723,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8296428864,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":18},{"value":18446744072631617535},{"value":18446726482597246976},{"value":0},{"value":32872410384},{"value":8296428968,"symbolLocation":104,"symbol":"_dispatch_main_q"},{"value":5},{"value":32872410374},{"value":8296428912,"symbolLocation":48,"symbol":"_dispatch_main_q"},{"value":0},{"value":32872410374},{"value":515},{"value":8319207984},{"value":0},{"value":4294967295},{"value":1},{"value":0},{"value":6132541248},{"value":6132541408},{"value":32872407232},{"value":6528094208},{"value":0},{"value":32866639928},{"value":9223372036855950454}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6466792684},"cpsr":{"value":1073745920},"fp":{"value":6132541056},"sp":{"value":6132541024},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468340452},"far":{"value":0}},"queue":"com.apple.libtrace.state.block-list","frames":[{"imageOffset":10980,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":4},{"imageOffset":15596,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":14},{"imageOffset":15116,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":14},{"imageOffset":72736,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":368,"imageIndex":14},{"imageOffset":71640,"symbol":"_dispatch_sync_f_slow","symbolLocation":148,"imageIndex":14},{"imageOffset":49644,"symbol":"___os_state_request_for_self_block_invoke","symbolLocation":372,"imageIndex":15},{"imageOffset":7004,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":14},{"imageOffset":113364,"symbol":"_dispatch_client_callout","symbolLocation":16,"imageIndex":14},{"imageOffset":42216,"symbol":"_dispatch_lane_serial_drain","symbolLocation":740,"imageIndex":14},{"imageOffset":45048,"symbol":"_dispatch_lane_invoke","symbolLocation":440,"imageIndex":14},{"imageOffset":87156,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":292,"imageIndex":14},{"imageOffset":85356,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":692,"imageIndex":14},{"imageOffset":11852,"symbol":"_pthread_wqthread","symbolLocation":292,"imageIndex":5},{"imageOffset":7068,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":5}]},{"id":137726,"frames":[],"threadState":{"x":[{"value":6133116928},{"value":18179},{"value":6132580352},{"value":0},{"value":409602},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6133116928},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137731,"frames":[],"threadState":{"x":[{"value":6134263808},{"value":22787},{"value":6133727232},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6134263808},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137734,"threadState":{"x":[{"value":18446744073709551612},{"value":0},{"value":4294967295},{"value":0},{"value":8296428864,"symbolLocation":0,"symbol":"_dispatch_main_q"},{"value":2},{"value":6134834824},{"value":18446726482597246976},{"value":0},{"value":32874543824},{"value":8296428968,"symbolLocation":104,"symbol":"_dispatch_main_q"},{"value":5},{"value":32874543814},{"value":8296428912,"symbolLocation":48,"symbol":"_dispatch_main_q"},{"value":0},{"value":32874543814},{"value":515},{"value":8319207984},{"value":0},{"value":4294967295},{"value":1},{"value":0},{"value":6134835056},{"value":6134837472},{"value":0},{"value":32874542784},{"value":0},{"value":0},{"value":276}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6466792684},"cpsr":{"value":1073745920},"fp":{"value":6134834864},"sp":{"value":6134834832},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468340452},"far":{"value":0}},"queue":"com.apple.WebKit.ServicesController","frames":[{"imageOffset":10980,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":4},{"imageOffset":15596,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":14},{"imageOffset":15116,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":14},{"imageOffset":72736,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":368,"imageIndex":14},{"imageOffset":71640,"symbol":"_dispatch_sync_f_slow","symbolLocation":148,"imageIndex":14},{"imageOffset":10961572,"symbol":"void std::__1::__call_once_proxy[abi:sn200100]<std::__1::tuple<WebKit::ServicesController::refreshExistingServices(bool)::'block-literal'::$_8&&>>(void*)","symbolLocation":112,"imageIndex":17},{"imageOffset":50404,"symbol":"std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*))","symbolLocation":196,"imageIndex":18},{"imageOffset":10949428,"symbol":"invocation function for block in WebKit::ServicesController::refreshExistingServices(bool)","symbolLocation":360,"imageIndex":17},{"imageOffset":7004,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":14},{"imageOffset":113364,"symbol":"_dispatch_client_callout","symbolLocation":16,"imageIndex":14},{"imageOffset":42216,"symbol":"_dispatch_lane_serial_drain","symbolLocation":740,"imageIndex":14},{"imageOffset":44996,"symbol":"_dispatch_lane_invoke","symbolLocation":388,"imageIndex":14},{"imageOffset":87156,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":292,"imageIndex":14},{"imageOffset":85356,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":692,"imageIndex":14},{"imageOffset":11852,"symbol":"_pthread_wqthread","symbolLocation":292,"imageIndex":5},{"imageOffset":7068,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":5}]},{"id":137735,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592,"objc-selector":""},{"value":100068443029504},{"value":0},{"value":100068443029504},{"value":2},{"value":4294967295},{"value":0},{"value":17179869184},{"value":0},{"value":2},{"value":0},{"value":0},{"value":23299},{"value":0},{"value":18446744073709551569},{"value":8319209632},{"value":0},{"value":4294967295},{"value":2},{"value":100068443029504},{"value":0},{"value":100068443029504},{"value":6135406728},{"value":8589934592,"objc-selector":""},{"value":21592279046},{"value":18446744073709550527},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468407336},"cpsr":{"value":4096},"fp":{"value":6135406576},"sp":{"value":6135406496},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468332596},"far":{"value":0}},"frames":[{"imageOffset":3124,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":4},{"imageOffset":77864,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":4},{"imageOffset":39308,"symbol":"mach_msg_overwrite","symbolLocation":484,"imageIndex":4},{"imageOffset":4020,"symbol":"mach_msg","symbolLocation":24,"imageIndex":4},{"imageOffset":392096,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":386296,"symbol":"__CFRunLoopRun","symbolLocation":1188,"imageIndex":7},{"imageOffset":1150516,"symbol":"_CFRunLoopRunSpecificWithOptions","symbolLocation":532,"imageIndex":7},{"imageOffset":719412,"symbol":"_NSEventThread","symbolLocation":184,"imageIndex":9},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":5},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":137763,"frames":[],"threadState":{"x":[{"value":6133690368},{"value":84995},{"value":6133153792},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6133690368},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137770,"name":"JavaScriptCore libpas scavenger","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":100000040},{"value":6135983784},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8319207752},{"value":0},{"value":4764346432},{"value":4764346496},{"value":6135984352},{"value":100000040},{"value":0},{"value":0},{"value":5121},{"value":5376},{"value":8264912896,"symbolLocation":4716784,"symbol":"pas_mar_global_registry"},{"value":8299044864,"symbolLocation":3528,"symbol":"bmalloc_common_primitive_heap_support"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468608220},"cpsr":{"value":1610616832},"fp":{"value":6135983904},"sp":{"value":6135983760},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468347128},"far":{"value":0}},"frames":[{"imageOffset":17656,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":4},{"imageOffset":28892,"symbol":"_pthread_cond_wait","symbolLocation":984,"imageIndex":5},{"imageOffset":25779548,"symbol":"scavenger_thread_main","symbolLocation":1440,"imageIndex":19},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":5},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":137790,"name":"WebCore: Scrolling","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592,"objc-selector":""},{"value":367249768579072},{"value":0},{"value":367249768579072},{"value":2},{"value":4294967295},{"value":0},{"value":17179869184},{"value":0},{"value":2},{"value":0},{"value":0},{"value":85507},{"value":0},{"value":18446744073709551569},{"value":8319209632},{"value":0},{"value":4294967295},{"value":2},{"value":367249768579072},{"value":0},{"value":367249768579072},{"value":6136553416},{"value":8589934592,"objc-selector":""},{"value":21592279046},{"value":18446744073709550527},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468407336},"cpsr":{"value":4096},"fp":{"value":6136553264},"sp":{"value":6136553184},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468332596},"far":{"value":0}},"frames":[{"imageOffset":3124,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":4},{"imageOffset":77864,"symbol":"mach_msg2_internal","symbolLocation":76,"imageIndex":4},{"imageOffset":39308,"symbol":"mach_msg_overwrite","symbolLocation":484,"imageIndex":4},{"imageOffset":4020,"symbol":"mach_msg","symbolLocation":24,"imageIndex":4},{"imageOffset":392096,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":386296,"symbol":"__CFRunLoopRun","symbolLocation":1188,"imageIndex":7},{"imageOffset":1150516,"symbol":"_CFRunLoopRunSpecificWithOptions","symbolLocation":532,"imageIndex":7},{"imageOffset":727616,"symbol":"CFRunLoopRun","symbolLocation":64,"imageIndex":7},{"imageOffset":2107704,"symbol":"WTF::Detail::CallableWrapper<WTF::RunLoop::create(WTF::ASCIILiteral, WTF::ThreadType, WTF::Thread::QOS)::$_0, void>::call()","symbolLocation":244,"imageIndex":19},{"imageOffset":2385420,"symbol":"WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)","symbolLocation":260,"imageIndex":19},{"imageOffset":25228,"symbol":"WTF::wtfThreadEntryPoint(void*)","symbolLocation":16,"imageIndex":19},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":5},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":137791,"frames":[],"threadState":{"x":[{"value":6137131008},{"value":67075},{"value":6136594432},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6137131008},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137792,"frames":[],"threadState":{"x":[{"value":6137704448},{"value":65803},{"value":6137167872},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6137704448},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137794,"frames":[],"threadState":{"x":[{"value":6138277888},{"value":67331},{"value":6137741312},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6138277888},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468586388},"far":{"value":0}}},{"id":137815,"name":"CVDisplayLink","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":65704},{"value":0},{"value":18985209},{"value":25089},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8319207752},{"value":0},{"value":32861965368},{"value":32861965432},{"value":1},{"value":18985209},{"value":0},{"value":0},{"value":25089},{"value":25344},{"value":77923626765},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468608264},"cpsr":{"value":2684358656},"fp":{"value":6139424176},"sp":{"value":6139424032},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468347128},"far":{"value":0}},"frames":[{"imageOffset":17656,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":4},{"imageOffset":28936,"symbol":"_pthread_cond_wait","symbolLocation":1028,"imageIndex":5},{"imageOffset":15164,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":336,"imageIndex":20},{"imageOffset":11300,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":500,"imageIndex":20},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":5},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]},{"id":137839,"name":"CVDisplayLink","threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":65704},{"value":0},{"value":18986584},{"value":24577},{"value":0},{"value":0},{"value":2},{"value":2},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8319207752},{"value":0},{"value":32861966904},{"value":32861966968},{"value":1},{"value":18986584},{"value":0},{"value":0},{"value":24577},{"value":24832},{"value":77923626765},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6468608264},"cpsr":{"value":2684358656},"fp":{"value":6140571056},"sp":{"value":6140570912},"esr":{"value":1442840704,"description":"(Syscall)"},"pc":{"value":6468347128},"far":{"value":0}},"frames":[{"imageOffset":17656,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":4},{"imageOffset":28936,"symbol":"_pthread_cond_wait","symbolLocation":1028,"imageIndex":5},{"imageOffset":15164,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":336,"imageIndex":20},{"imageOffset":11300,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":500,"imageIndex":20},{"imageOffset":27656,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":5},{"imageOffset":7080,"symbol":"thread_start","symbolLocation":8,"imageIndex":5}]}],
      "usedImages" : [
      {
        "source" : "P",
        "arch" : "arm64",
        "base" : 4335468544,
        "size" : 68026368,
        "uuid" : "6c9bc931-0756-3c0e-8643-2a3aee0f8acc",
        "path" : "\/Users\/USER\/Documents\/*\/myapp.app\/Contents\/MacOS\/myapp",
        "name" : "myapp"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 4721770496,
        "size" : 49152,
        "uuid" : "d4baeab8-b553-3779-a0ff-d8848e7a22df",
        "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
        "name" : "libobjc-trampolines.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 4751130624,
        "CFBundleShortVersionString" : "342.3",
        "CFBundleIdentifier" : "com.apple.AGXMetal13-3",
        "size" : 7667712,
        "uuid" : "1a28beb3-d41b-3dfb-b477-fee36881bc82",
        "path" : "\/System\/Library\/Extensions\/AGXMetal13_3.bundle\/Contents\/MacOS\/AGXMetal13_3",
        "name" : "AGXMetal13_3",
        "CFBundleVersion" : "342.3"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 5034082304,
        "CFBundleShortVersionString" : "1.0",
        "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
        "size" : 409600,
        "uuid" : "4ff7e230-8427-36ad-98f9-10a81f174e7e",
        "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer",
        "name" : "AppleMetalOpenGLRenderer",
        "CFBundleVersion" : "1"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6468329472,
        "size" : 246944,
        "uuid" : "548c45c8-9733-3f0d-8ef4-c06df1df2ad0",
        "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
        "name" : "libsystem_kernel.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6468579328,
        "size" : 51900,
        "uuid" : "527c4ba0-91a5-378b-b3e2-d38269ca5a66",
        "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
        "name" : "libsystem_pthread.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6467080192,
        "size" : 532552,
        "uuid" : "fb5569a9-cb26-36c2-aa05-e99243692b60",
        "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
        "name" : "libsystem_c.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6468866048,
        "CFBundleShortVersionString" : "6.9",
        "CFBundleIdentifier" : "com.apple.CoreFoundation",
        "size" : 5540928,
        "uuid" : "649000a2-3eb4-3cf5-970a-d3cb37b5780c",
        "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
        "name" : "CoreFoundation",
        "CFBundleVersion" : "4201"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6494367744,
        "CFBundleShortVersionString" : "6.9",
        "CFBundleIdentifier" : "com.apple.Foundation",
        "size" : 16397536,
        "uuid" : "6a518869-0a98-34cb-8a15-cc28f898255e",
        "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
        "name" : "Foundation",
        "CFBundleVersion" : "4201"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6540505088,
        "CFBundleShortVersionString" : "6.9",
        "CFBundleIdentifier" : "com.apple.AppKit",
        "size" : 24310400,
        "uuid" : "4e909aec-68bc-3fc9-a87a-de928e1e36e1",
        "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
        "name" : "AppKit",
        "CFBundleVersion" : "2685.30.107"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6605737984,
        "CFBundleShortVersionString" : "944",
        "CFBundleIdentifier" : "com.apple.AE",
        "size" : 475008,
        "uuid" : "f4b609c0-770e-3720-ba57-6c7bcfabc313",
        "path" : "\/System\/Library\/Frameworks\/CoreServices.framework\/Versions\/A\/Frameworks\/AE.framework\/Versions\/A\/AE",
        "name" : "AE",
        "CFBundleVersion" : "944"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6681255936,
        "CFBundleShortVersionString" : "2.1.1",
        "CFBundleIdentifier" : "com.apple.HIToolbox",
        "size" : 3158656,
        "uuid" : "fb92ce0c-1ee5-3f03-992c-df53ed9b3cb4",
        "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
        "name" : "HIToolbox"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6464606208,
        "size" : 651204,
        "uuid" : "0975afba-c46b-364c-bd84-a75daa9e455a",
        "path" : "\/usr\/lib\/dyld",
        "name" : "dyld"
      },
      {
        "size" : 0,
        "source" : "A",
        "base" : 0,
        "uuid" : "00000000-0000-0000-0000-000000000000"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6466777088,
        "size" : 290400,
        "uuid" : "a4b349e8-dd6f-3b71-84d9-34f3b4acd849",
        "path" : "\/usr\/lib\/system\/libdispatch.dylib",
        "name" : "libdispatch.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6465622016,
        "size" : 133344,
        "uuid" : "16f2abf3-27fc-3b12-ae3c-f039c083ae7b",
        "path" : "\/usr\/lib\/system\/libsystem_trace.dylib",
        "name" : "libsystem_trace.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6528094208,
        "CFBundleShortVersionString" : "7.0",
        "CFBundleIdentifier" : "com.apple.security",
        "size" : 4343424,
        "uuid" : "6f4ea801-3def-3377-981b-325ff7a96f8a",
        "path" : "\/System\/Library\/Frameworks\/Security.framework\/Versions\/A\/Security",
        "name" : "Security",
        "CFBundleVersion" : "61901.60.40"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 7164678144,
        "CFBundleShortVersionString" : "21623",
        "CFBundleIdentifier" : "com.apple.WebKit",
        "size" : 23272960,
        "uuid" : "e4150724-6aee-3572-81ab-d96ae7cffd5f",
        "path" : "\/System\/Library\/Frameworks\/WebKit.framework\/Versions\/A\/WebKit",
        "name" : "WebKit",
        "CFBundleVersion" : "21623.1.14.11.9"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6467616768,
        "size" : 601764,
        "uuid" : "bebe1f75-49d4-32e9-9978-ff8d0e799801",
        "path" : "\/usr\/lib\/libc++.1.dylib",
        "name" : "libc++.1.dylib"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 7027654656,
        "CFBundleShortVersionString" : "21623",
        "CFBundleIdentifier" : "com.apple.JavaScriptCore",
        "size" : 27852704,
        "uuid" : "3d6979f6-68c0-37a2-ac6d-602136d0aa1b",
        "path" : "\/System\/Library\/Frameworks\/JavaScriptCore.framework\/Versions\/A\/JavaScriptCore",
        "name" : "JavaScriptCore",
        "CFBundleVersion" : "21623.1.14.11.9"
      },
      {
        "source" : "P",
        "arch" : "arm64e",
        "base" : 6642831360,
        "CFBundleShortVersionString" : "1.8",
        "CFBundleIdentifier" : "com.apple.CoreVideo",
        "size" : 540672,
        "uuid" : "3a2dcc01-a913-32cc-9fdf-3f8bb6eb1e46",
        "path" : "\/System\/Library\/Frameworks\/CoreVideo.framework\/Versions\/A\/CoreVideo",
        "name" : "CoreVideo",
        "CFBundleVersion" : "726.2"
      }
    ],
      "sharedCache" : {
      "base" : 6463520768,
      "size" : 5653544960,
      "uuid" : "acb998b6-263c-3634-b0a8-ae8270a116c2"
    },
      "vmSummary" : "ReadOnly portion of Libraries: Total=1.8G resident=0K(0%) swapped_out_or_unallocated=1.8G(100%)\nWritable regions: Total=4.4G written=996K(0%) resident=996K(0%) swapped_out=0K(0%) unallocated=4.4G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           32K        2 \nCoreAnimation                      448K       28 \nCoreGraphics                        48K        3 \nCoreServices                       240K        1 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           134.5M       27 \nMALLOC guard page                 3120K        4 \nSTACK GUARD                        224K       14 \nStack                             15.4M       15 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                        608K       19 \nVM_ALLOCATE (reserved)             4.0G        2         reserved VM address space (unallocated)\nWebKit Malloc                    224.1M        5 \nWebKit Malloc (reserved)          32.0M        1         reserved VM address space (unallocated)\n__AUTH                            5759K      630 \n__AUTH_CONST                      87.2M     1010 \n__CTF                               824        1 \n__DATA                            34.2M      963 \n__DATA_CONST                      33.7M     1019 \n__DATA_DIRTY                      8271K      872 \n__FONT_DATA                        2352        1 \n__GLSLBUILTINS                    5176K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       608.8M        5 \n__OBJC_RO                         78.4M        1 \n__OBJC_RW                         2570K        1 \n__TEXT                             1.2G     1042 \n__TPRO_CONST                       128K        2 \nmapped file                        1.5G       38 \npage table in kernel               996K        1 \nshared memory                      880K       14 \n===========                     =======  ======= \nTOTAL                              8.0G     5727 \nTOTAL, minus reserved VM space     4.0G     5727 \n",
      "legacyInfo" : {
      "threadTriggered" : {
        "name" : "main",
        "queue" : "com.apple.main-thread"
      }
    },
      "logWritingSignature" : "e8924067d913aaf34cb7be174dfe7cf54edb4a07",
      "roots_installed" : 0,
      "bug_type" : "309",
      "trmStatus" : 8192,
      "trialInfo" : {
      "rollouts" : [
        {
          "rolloutId" : "61675b89201f677a9a4cbd65",
          "factorPackIds" : {
            "HEALTH_FEATURE_AVAILABILITY" : "65a855f5f087695cfac03d1f"
          },
          "deploymentId" : 240000187
        },
        {
          "rolloutId" : "60186475825c62000ccf5450",
          "factorPackIds" : {
    
          },
          "deploymentId" : 240000083
        }
      ],
      "experiments" : [
    
      ]
    }
    }
    
    Model: Macmini9,1, BootROM 13822.61.10, proc 8:4:4 processors, 16 GB, SMC 
    Graphics: Apple M1, Apple M1, Built-In
    Display: LG ULTRAWIDE, 2560 x 1080 (UW-UXGA - Ultra Wide - Ultra Extended Graphics Array), Main, MirrorOff, Online
    Memory Module: LPDDR4, Micron
    AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jul 11 2025 19:42:21 version 18.20.480.0.7.8.186 FWID 01-6e662c81
    IO80211_driverkit-1533.5 "IO80211_driverkit-1533.5" Nov 14 2025 18:26:34
    AirPort: 
    Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Thunderbolt Bus: Mac mini, Apple Inc.
    Thunderbolt Bus: Mac mini, Apple Inc.
    

    Thank you for looking into this.

  3. traklo commented on Jan 21, 2026

    @traklo
    Author

    @FabianLars did you manage to reproduce it? Could you imagine any workarounds I can try?

  4. traklo commented on Jan 26, 2026

    @traklo
    Author

    I’ve looked into the crash more and might have identified the root cause. The fix is seems available in winit, so perhaps we could apply the same change to TAO?

    It looks like macOS 26 (Tahoe) changed several Objective‑C method return types from signed ('q' = Int64) to unsigned ('Q' = UInt64).
    The objc2 crate validates these signatures strictly and panics when the runtime returns an unexpected encoding.

    The upstream winit solved this in v0.30.12 by enabling the relax‑sign‑encoding feature in objc2

    # From winit/Cargo.toml
    [target.'cfg(target_vendor = "apple")'.dependencies]
    objc2 = { version = "0.6.1", features = ["relax-sign-encoding"] }

    You can also find more context in the objc2 feature description.

    Could it be enough to modify TAO's Cargo.toml to what's in winit? I'll have access to a Mac machine later this week and will try.

  5. greenhat616 commented on Jan 28, 2026

    @greenhat616

    @traklo We're facing this issue on a couple of machines too.

    Image

    Have build the program with release profile? - If it built with --release, the sign encoding assertion would be stripped, and no runtime panic should happens here

    If not this case, maybe we can fork tao and add std::panic::catch_unwind manually to capture the original panic message. Then, using [patch.crates-io] in Cargo.toml to use the fork to test.

    Forgive I cannot reproduce this issue on my dev machine.

  6. ahan-bd commented on Feb 16, 2026

    @ahan-bd

    Any updates here ?

  7. added a commit that references this issue on Feb 17, 2026
  8. axpnet commented on Mar 9, 2026

    @axpnet

    We are experiencing a related but distinct issue on macOS 26.2/26.3 with tao 0.34.5: the main thread deadlocks (rather than panicking) inside is_zoomed() -> set_style_mask_sync() -> NSPerformVisuallyAtomicChange. The recursive layout passes in NSPerformVisuallyAtomicChange block the main thread permanently.

    Full call stack and analysis in #1193.

  9. mardelden commented on Mar 10, 2026

    @mardelden

    It is interesting that same app launches successfully when starting it from the terminal
    /Applications/<app_name>.app/Contents/MacOS/<app_name>

    So for now I just created an alias
    <app_name>() { /Applications/<app_name>.app/Contents/MacOS/<app_name> &>/dev/null & disown; }

  10. pelby commented on Apr 19, 2026

    @pelby

    Hit this on a production Tauri app after ~7h uptime spanning sleep/wake. Distinct from the did_finish_launching angle already discussed — the panic originates in the appearance-change observer, not launch.

    Environment

    • tao 0.34.6 · tauri 2.10.3 · wry 0.54.4 · tauri-runtime-wry 2.10.1
    • macOS 26.3.1 (Tahoe) on Apple M2

    Thread 0 (main), bottom→top:

    1. post_coordinated_distributed_notification (CGS)
    2. __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
    3. tao::platform_impl::platform::window_delegate::effective_appearance_did_change
    4. core::panicking::panic_cannot_unwind
    5. abort() → SIGABRT
    

    Trigger: AppleInterfaceThemeChangedNotification delivered via NSDistributedNotificationCenter. A panic inside effective_appearance_did_change cannot unwind across the Objective-C FFI boundary, so the runtime aborts the process. The app itself never touches appearance APIs; the observer is installed unconditionally by tao's window delegate.

    Reproducibility: observed once, after wake spanning an auto light/dark switch. The hook is exposed any time the OS posts this notification — after wake, auto light/dark transition, or manual appearance toggle.

    Why this matters for #1171: the existing report centres on a panic reachable from did_finish_launching. This one surfaces during normal runtime. A fix that catches the unwind at the FFI boundary (e.g., wrapping extern "C" delegate callbacks in catch_unwind) would cover both paths as a defence-in-depth layer.

    Happy to provide a sanitised full crash report if useful.

  11. JaeAeich commented on May 9, 2026

    @JaeAeich

    Different trigger, same crash site. In my case the panic was caused by a corrupted .icns file (a pre-commit linter treated it as UTF-8 and replaced invalid bytes with U+FFFD). The corrupted icon gets embedded by tauri::generate_context!() and handed to macOS during did_finish_launching. On Tahoe + tao 0.35.2, this panics inside the extern "C" callback → "panic in a function that cannot unwind."

    Regenerating a valid .icns with iconutil fixed it. Adding *.icns binary to .gitattributes prevents recurrence.

    This suggests the did_finish_launching codepath on Tahoe is fragile around icon parsing, worth checking whether the pure-Tahoe variant of this issue is also icon-related.

  12. codelogiq commented on Jun 14, 2026

    @codelogiq

    Adding a concrete data point that corroborates @JaeAeich's icon theory above — in our case it was a zero-size .icns, and I was able to pin down the exact exception.

    Root cause for our crash: the scaffolded src-tauri/icons/icon.icns was an 8-byte placeholder stub (size {0, 0}). On macOS 26, AppKit throws an Objective-C exception when it tries to render that zero-size image for the Dock/app icon during launch:

    Cannot lock focus on image <NSImage 0x… Size={0, 0}> because it is size zero.
    

    That throw unwinds through tao's did_finish_launching extern "C" callback → panic_cannot_unwind → abort(). The giveaway is that there's no Rust panic message — it's a foreign ObjC exception, not a Rust panic, so chasing the MainThreadMarker::new().unwrap() line is a red herring.

    How to confirm it's your case (catch the real reason under lldb):

    (lldb) breakpoint set -n objc_exception_throw
    (lldb) run
    # when it stops:
    (lldb) expression -O -- (id)$x0
    

    If the printed reason mentions lockFocus / size zero, it's the icon.

    Fix: regenerate real icons — cargo tauri icon <1024x1024 source.png> (or iconutil as @JaeAeich noted). Verify with file src-tauri/icons/icon.icns (should be hundreds of KB with an ic08 entry, not an 8-byte stub). Note icons aren't tracked as Cargo build inputs, so force a re-embed: cargo clean -p <crate> or touch src-tauri/tauri.conf.json before rebuilding.

    This also explains @mardelden's observation that launching the binary directly from the terminal works while Finder/LaunchServices doesn't — the Dock icon is only rendered on the bundled LaunchServices launch path.

    One dead end to save others the trouble: I briefly suspected pthread_main_np() returning a transient -1 on macOS 26 (objc2 PR madsmtm/objc2#841). That's not it — I reproduced on 26.5.1 and pthread_main_np() returns 1 at every launch checkpoint, and the current libpthread implementation can only ever return 0 or 1. So the did_finish_launching panics here aren't a main-thread-detection problem; they're foreign ObjC exceptions unwinding through the callback (icons being one common trigger).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions