Skip to content

[Bug]: EXC_BREAKPOINT crash on macOS 26.2 Tahoe during ElectronMain initialization #49522

@ShawEw

Description

@ShawEw

Preflight Checklist

Electron Version

40.0.0 (also tested with 39.3.0)

What operating system(s) are you using?

macOS

Operating System Version

arm64 (Apple Silicon - M4 Pro)

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

Unknown - the app worked on macOS 15.x (Sequoia) with Electron 39.3.0

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

The Electron application should start normally without crashing.

Actual Behavior

The application crashes immediately on startup with EXC_BREAKPOINT (SIGTRAP) exception. The crash occurs during Electron
framework initialization, before any application code is executed.

Testcase Gist URL

No response

Additional Information

Crash Report Summary

The crash occurs in the ElectronMain function during V8 engine initialization:

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000110fab7c0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Electron Framework 0x110fab7c0 ares_dns_rr_get_ttl + 3406988
1 Electron Framework 0x110fab6fc ares_dns_rr_get_ttl + 3406792
2 Electron Framework 0x10cbc8a34 v8::internal::compiler::CompilationDependencies::DependOnContextCell(...) +
64872
3 Electron Framework 0x110fab878 ares_dns_rr_get_ttl + 3407172
4 Electron Framework 0x10d1ade50 cxxbridge1$box$rust_png$ResultOfReader$drop + 20268
5 Electron Framework 0x10e60a1f0 node::PrincipalRealm::messaging_deserialize_create_object() const + 532192
6 Electron Framework 0x10e43d2ec ElectronMain + 84
7 dyld 0x181cd9d54 start + 7184

Environment Details

  • Hardware: MacBook Pro with Apple M4 Pro (Mac16,7)
  • Memory: 48 GB LPDDR5
  • macOS Version: 26.2 Tahoe (25C56)
  • Node.js Version: 22.13.1 (arm64)
  • Electron Version: 40.0.0 (also tested with 39.3.0, same crash)
  • electron-builder Version: 26.4.0

Application Details

  • The application uses native modules: better-sqlite3, nodejieba, hnswlib-node
  • All native modules are properly rebuilt for Electron 40.0.0 and arm64
  • The application is code-signed and notarized
  • Hardened Runtime is enabled

Entitlements Configuration

<?xml version="1.0" encoding="UTF-8"?>                                                                                       
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">                       
<plist version="1.0">                                                                                                        
<dict>                                                                                                                       
    <key>com.apple.security.network.client</key>                                                                             
    <true/>                                                                                                                  
    <key>com.apple.security.network.server</key>                                                                             
    <true/>                                                                                                                  
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>                                                        
    <true/>                                                                                                                  
    <key>com.apple.security.cs.allow-jit</key>                                                                               
    <true/>                                                                                                                  
    <key>com.apple.security.cs.disable-library-validation</key>                                                              
    <true/>                                                                                                                  
</dict>                                                                                                                      
</plist>                                                                                                                     
                                                                                                                             
Steps to Reproduce                                                                                                           
                                                                                                                             
1. Build an Electron 40.0.0 application for macOS arm64                                                                      
2. Code sign and notarize the application                                                                                    
3. Install the application on macOS 26.2 Tahoe                                                                               
4. Launch the application                                                                                                    
5. The application crashes immediately with EXC_BREAKPOINT                                                                   
                                                                                                                             
What I've Tried                                                                                                              
                                                                                                                             
1. Upgraded from Electron 39.3.0 to 40.0.0 - same crash                                                                      
2. Upgraded Node.js from 20.19.0 to 22.13.1 - same crash                                                                     
3. Rebuilt all native modules - same crash                                                                                   
4. Verified code signing and notarization - all valid                                                                        
                                                                                                                             
Full Crash Report                                                                                                            
                                                                                                                             
Process:             SouMall AI [98593]                                                                                      
Path:                /Applications/SouMall AI.app/Contents/MacOS/SouMall AI                                                  
Identifier:          org.rainbow.soumall                                                                                     
Version:             1.0.1 (1.0.1.1)                                                                                         
Code Type:           ARM-64 (Native)                                                                                         
Role:                Background                                                                                              
Parent Process:      launchd [1]                                                                                             
Coalition:           org.rainbow.soumall [9681]                                                                              
User ID:             501                                                                                                     
                                                                                                                             
Date/Time:           2026-01-25 13:25:50.9571 +0800                                                                          
Launch Time:         2026-01-25 13:25:45.8359 +0800                                                                          
Hardware Model:      Mac16,7                                                                                                 
OS Version:          macOS 26.2 (25C56)                                                                                      
Release Type:        User                                                                                                    
                                                                                                                             
Exception Type:      EXC_BREAKPOINT (SIGTRAP)                                                                                
Exception Codes:     0x0000000000000001, 0x0000000110fab7c0                                                                  
                                                                                                                             
Termination Reason:  Namespace SIGNAL, Code 5, Trace/BPT trap: 5                                                             
Terminating Process: exc handler [98593]                                                                                     
                                                                                                                             
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread                                                                    
0   Electron Framework             0x110fab7c0 ares_dns_rr_get_ttl + 3406988                                                 
1   Electron Framework             0x110fab6fc ares_dns_rr_get_ttl + 3406792                                                 
2   Electron Framework             0x10cbc8a34                                                                               
v8::internal::compiler::CompilationDependencies::DependOnContextCell(v8::internal::compiler::ContextCellRef,                 
v8::internal::ContextCell::State) + 64872                                                                                    
3   Electron Framework             0x110fab878 ares_dns_rr_get_ttl + 3407172                                                 
4   Electron Framework             0x10d1ade50 cxxbridge1$box$rust_png$ResultOfReader$drop + 20268                           
5   Electron Framework             0x10e60a1f0 node::PrincipalRealm::messaging_deserialize_create_object() const + 532192    
6   Electron Framework             0x10e43d2ec ElectronMain + 84                                                             
7   dyld                           0x181cd9d54 start + 7184                                                                  
                                                                                                                             
Binary Images:                                                                                                               
       0x100fb0000 -        0x100fb3fff org.rainbow.soumall (1.0.1) /Applications/SouMall AI.app/Contents/MacOS/SouMall AI   
       0x10baf0000 -        0x11593bfff com.github.Electron.framework (40.0.0) /Applications/SouMall                         
AI.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework                                        
                                                                                                                             
Notes                                                                                                                        
                                                                                                                             
- The crash occurs before any application code is executed                                                                   
- This appears to be a V8 engine initialization issue specific to macOS 26.2 Tahoe                                           
- The same application works correctly on macOS 15.x (Sequoia)                                                               
- System Integrity Protection is enabled                                                                                     
- The application is properly code-signed with Developer ID certificate                                                      
                                                                                                                             
--- 

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions