sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.02k stars 72 forks source link

Crash on Big Sur ARM-64 (Native) #260

Open brauliofreire opened 1 year ago

brauliofreire commented 1 year ago

I have this problem after install. Can anyone help me?


Process:               Syntax Highlight [66576]
Path:                  /Applications/Syntax Highlight.app/Contents/MacOS/Syntax Highlight
Identifier:            org.sbarex.SourceCodeSyntaxHighlight
Version:               2.1.20 (69)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Syntax Highlight [66576]
User ID:               501

Date/Time:             2023-10-30 10:19:38.540 -0300
OS Version:            macOS 11.7.7 (20G1345)
Report Version:        12
Anonymous UUID:        445E3237-34A3-9D66-21CC-F6FF62170229
Sleep/Wake UUID:       0EB92C4C-8A98-46CE-8E90-4259025A3EC3

Time Awake Since Boot: 720000 seconds
Time Since Wake:       7500 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [66576]

VM Regions Near 0:
--> 
    __TEXT                      100f94000-1010d0000    [ 1264K] r-x/r-x SM=COW  /Applications/Syntax Highlight.app/Contents/MacOS/Syntax Highlight

Application Specific Information:
dyld: launch, running initializers
/Applications/Syntax Highlight.app/Contents/MacOS/../Resources/highlight/bin/libhighlight.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                             000000000000000000 0 + 0
1   dyld                            0x0000000101504b54 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 468
2   dyld                            0x0000000101504f6c ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 56
3   dyld                            0x00000001014fe8a4 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 620
4   dyld                            0x00000001014fe7ec ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 436
5   dyld                            0x00000001014fe7ec ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 436
6   dyld                            0x00000001014fc260 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 192
7   dyld                            0x00000001014fc32c ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 96
8   dyld                            0x00000001014e6a7c dyld::initializeMainExecutable() + 268
9   dyld                            0x00000001014ed53c dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 8784
10  dyld                            0x00000001014e5258 dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 476
11  dyld                            0x00000001014e5038 _dyld_start + 56

Thread 1:
0   libsystem_pthread.dylib         0x000000018a2ca5cc start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000040   x1: 0x00000001016f9668   x2: 0x00000001015ec000   x3: 0x000000016ee6bb38
    x4: 0x000000010156c348   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x00000001f53199c0   x9: 0x0000000000000002  x10: 0x0000000000000000  x11: 0x0000000000000002
   x12: 0x0000000000000002  x13: 0x0000000000000000  x14: 0x0000000000000003  x15: 0x00000000000001f8
   x16: 0x0000000000000000  x17: 0x00000001f8945c78  x18: 0x0000000000000000  x19: 0x00000001015ec000
   x20: 0x000000018a25ebd8  x21: 0x00000001016208f4  x22: 0x00000001016f8c88  x23: 0x00000001e8f1c040
   x24: 0x00000001016f0248  x25: 0x000000010167c780  x26: 0x000000016ee65938  x27: 0x000000016ee659a8
   x28: 0x000000010167c780   fp: 0x000000016ee658d0   lr: 0x000000010167c85c
    sp: 0x000000016ee658b0   pc: 0x0000000000000000 cpsr: 0x60000000
   far: 0x0000000000000000  esr: 0x82000006

Binary Images:
       0x100f94000 -        0x1010cffff +org.sbarex.SourceCodeSyntaxHighlight (2.1.20 - 69) <CEC1D44D-4293-3C03-BA28-88583A31D58C> /Applications/Syntax Highlight.app/Contents/MacOS/Syntax Highlight
       0x101280000 -        0x1012c7fff +libwrapper_highlight.dylib (0) <D807E1F1-1E6F-3E96-BC8A-6A51A08D7CB4> /Applications/Syntax Highlight.app/Contents/Resources/highlight/bin/libwrapper_highlight.dylib
       0x101338000 -        0x10137bfff +org.sparkle-project.Sparkle (2.5.0 - 2031) <78444292-41E6-33F0-A6E1-A444F86E0531> /Applications/Syntax Highlight.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle
       0x1014e4000 -        0x101563fff  dyld (852.2) <8AC3E6BE-ABFA-391A-BA1A-134B24D25BCF> /usr/lib/dyld
       0x1015ec000 -        0x1016effff +libhighlight.dylib (0) <1981B1B4-7BBA-3FE7-896F-80AA43A267D2> /Applications/Syntax Highlight.app/Contents/Resources/highlight/bin/libhighlight.dylib
       0x18a02a000 -        0x18a02bfff  libsystem_blocks.dylib (79) <1CD8457C-F78E-3E8D-8A9E-B2BF42065ED7> /usr/lib/system/libsystem_blocks.dylib
sohrabsa commented 1 year ago

Similar error on Big Sur with the latest version. On preview, crashes with colorize.sh failed with code 101.

janstieler commented 12 months ago

Similar error on Big Sur with the latest version. On preview, crashes with colorize.sh failed with code 101.

+1

oliveratgithub commented 9 months ago

+1 same issue with macOS 14.4 Sonoma

Symtpom: «Syntax Highlight» doesn't start - bounces indefinitely in the Dock…