SourceCodeSyntaxHighlight icon indicating copy to clipboard operation
SourceCodeSyntaxHighlight copied to clipboard

Crash on Apple Silicon

Open ferben opened this issue 3 years ago • 0 comments

Cannot found reason why and in which circumstances this crash appear.

Crashlog:

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

Process:               Syntax Highlight XPC Render [51246]
Path:                  /Applications/Syntax Highlight.app/Contents/PlugIns/Syntax Highlight Quicklook Extension.appex/Contents/XPCServices/Syntax Highlight XPC Render.xpc/Contents/MacOS/Syntax Highlight XPC Render
Identifier:            org.sbarex.SourceCodeSyntaxHighlight.XPCRender
Version:               2.1.15 (64)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
Responsible:           Syntax Highlight Quicklook Exte [51245]
User ID:               503

Date/Time:             2022-08-17 09:50:13.9896 +0200
OS Version:            macOS 12.5 (21G72)
Report Version:        12
Anonymous UUID:        4E293610-F757-EFE6-5B21-7555F679952C

Sleep/Wake UUID:       28DC2915-711D-4A2E-81CF-3481F71932D0

Time Awake Since Boot: 140000 seconds
Time Since Wake:       5370 seconds

System Integrity Protection: enabled

Crashed Thread:        1  Dispatch queue: com.apple.NSXPCConnection.user.anonymous.51245

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000102cc41e4
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [51246]

Thread 0:
0   libsystem_kernel.dylib        	       0x189475d70 __sigsuspend_nocancel + 8
1   libdispatch.dylib             	       0x1892fb5e0 _dispatch_sigsuspend + 48
2   libdispatch.dylib             	       0x1892fb5b0 _dispatch_sig_thread + 60

Thread 1 Crashed::  Dispatch queue: com.apple.NSXPCConnection.user.anonymous.51245
0   Syntax Highlight XPC Render   	       0x102cc41e4 specialized SettingsFormat.init(settings:) + 696
1   Syntax Highlight XPC Render   	       0x102cc41e4 specialized SettingsFormat.init(settings:) + 696
2   Syntax Highlight XPC Render   	       0x102cd6be4 static SCSHBaseXPCService.colorize(url:settings:highlightBin:dataDir:rsrcEsc:dos2unixBin:highlightLanguages:extraCss:overridingSettings:logFile:logOs:) + 6824
3   Syntax Highlight XPC Render   	       0x102cc9ea4 XPCLightRenderService.colorize(url:refreshingSettings:withReply:) + 940
4   Syntax Highlight XPC Render   	       0x102cca5cc @objc XPCLightRenderService.colorize(url:refreshingSettings:withReply:) + 200
5   CoreFoundation                	       0x189559dc4 __invoking___ + 148
6   CoreFoundation                	       0x189559c3c -[NSInvocation invoke] + 468
7   Foundation                    	       0x18a4bcd9c __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 24
8   Foundation                    	       0x18a4654f4 -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 1392
9   Foundation                    	       0x18a419b78 message_handler + 228
10  libxpc.dylib                  	       0x1891e11c0 _xpc_connection_call_event_handler + 152
11  libxpc.dylib                  	       0x1891dfc0c _xpc_connection_mach_event + 1380
12  libdispatch.dylib             	       0x1892e8274 _dispatch_client_callout4 + 20
13  libdispatch.dylib             	       0x18930453c _dispatch_mach_msg_invoke + 464
14  libdispatch.dylib             	       0x1892ef784 _dispatch_lane_serial_drain + 376
15  libdispatch.dylib             	       0x18930525c _dispatch_mach_invoke + 456
16  libdispatch.dylib             	       0x1892ef784 _dispatch_lane_serial_drain + 376
17  libdispatch.dylib             	       0x1892f0438 _dispatch_lane_invoke + 444
18  libdispatch.dylib             	       0x1892fac98 _dispatch_workloop_worker_thread + 648
19  libsystem_pthread.dylib       	       0x1894a8360 _pthread_wqthread + 288
20  libsystem_pthread.dylib       	       0x1894a7080 start_wqthread + 8


Thread 1 crashed with ARM Thread State (64-bit):
    x0: 0x0000000140804b40   x1: 0x0000000000000000   x2: 0xffffffffffffffe0   x3: 0x0000000140804d60
    x4: 0x0000000140804bc0   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0b00000102d6f7b9   x9: 0x0100000000000000  x10: 0x0b00000102d6f7b9  x11: 0x0c00000102d6f7b9
   x12: 0x0000000000000000  x13: 0x0000000000040000  x14: 0x00000000000000ac  x15: 0x00000000000000ac
   x16: 0x00000001893324c0  x17: 0x00000001e35b02d0  x18: 0x0000000000000000  x19: 0x000000016d379a70
   x20: 0x00000001e24cb100  x21: 0x0000000000000000  x22: 0x0000000140804d30  x23: 0x0000000140804d50
   x24: 0x0000000140804d40  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x000000006f747561
   x28: 0x0000000000000000   fp: 0x000000016d379a60   lr: 0x0000000102cc41e4
    sp: 0x000000016d3799b0   pc: 0x0000000102cc41e4 cpsr: 0x60001000
   far: 0x00000001e23f2660  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x18946d000 -        0x1894a4fff libsystem_kernel.dylib (*) <67f22904-88ed-3847-bbf0-5c4c599fd79e> /usr/lib/system/libsystem_kernel.dylib
       0x1892e4000 -        0x18932afff libdispatch.dylib (*) <035d23d9-4cb5-3759-9059-1f7878f89fee> /usr/lib/system/libdispatch.dylib
       0x102cb0000 -        0x102d63fff org.sbarex.SourceCodeSyntaxHighlight.XPCRender (2.1.15) <e1a145e6-5c03-3c48-8776-0df600512e25> /Applications/Syntax Highlight.app/Contents/PlugIns/Syntax Highlight Quicklook Extension.appex/Contents/XPCServices/Syntax Highlight XPC Render.xpc/Contents/MacOS/Syntax Highlight XPC Render
       0x1894f4000 -        0x189a3afff com.apple.CoreFoundation (6.9) <1643f3d9-7049-37e4-b844-c0c0a42bde3b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x18a3f8000 -        0x18a7e9fff com.apple.Foundation (6.9) <59ff845a-05b2-3b64-ae06-6ef1d6aee83e> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x1891d3000 -        0x189214fff libxpc.dylib (*) <fccb6b8f-0bb4-3fc7-baee-11708c97e04b> /usr/lib/system/libxpc.dylib
       0x1894a5000 -        0x1894b1fff libsystem_pthread.dylib (*) <f32ff902-ba43-30b0-ad43-a2a8a9ff69fe> /usr/lib/system/libsystem_pthread.dylib

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: 11
    thread_create: 0
    thread_set_state: 632

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
ColorSync                           32K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           239.2M       29 
MALLOC guard page                   96K        5 
MALLOC_MEDIUM (reserved)         600.0M        5         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                         32K        2 
Stack                             1120K        3 
Stack Guard                       64.0M        2 
VM_ALLOCATE                         16K        1 
__AUTH                            2150K      210 
__AUTH_CONST                      13.1M      372 
__CTF                               756        1 
__DATA                            9926K      362 
__DATA_CONST                      13.6M      377 
__DATA_DIRTY                      1246K      145 
__FONT_DATA                          4K        1 
__LINKEDIT                       578.7M        3 
__OBJC_CONST                      2319K      178 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3168K        1 
__TEXT                           315.8M      389 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                       53.3M        8 
shared memory                      848K       13 
===========                     =======  ======= 
TOTAL                              2.3G     2114 
TOTAL, minus reserved VM space     1.4G     2114 

ferben avatar Aug 17 '22 07:08 ferben