CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Crash on file open

Open KaKi87 opened this issue 8 months ago • 2 comments

Description

The application crashes when trying to open any file.

To Reproduce

  1. Open a project
  2. Try opening any file in project
  3. See crash

Expected Behavior

The app does not crash

Version Information

CodeEdit: 0.3.4-alpha (45) macOS: 13.7.1 Xcode: not installed

Additional Context

Logs :

Process:               CodeEdit [1055]
Path:                  /Applications/CodeEdit.app/Contents/MacOS/CodeEdit
Identifier:            app.codeedit.CodeEdit
Version:               0.3.4 (45)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2025-05-07 21:34:14.1017 +0200
OS Version:            macOS 13.7.1 (22H221)
Report Version:        12
Anonymous UUID:        EC90B3B7-DD74-7250-F7C6-C41C535BFB05


Time Awake Since Boot: 420 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [1055]

Application Specific Backtrace 0:
0   CoreFoundation                      0x00007ff819e4a0fa __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007ff81996f0b7 objc_exception_throw + 48
2   CoreFoundation                      0x00007ff819e49f60 +[NSException raise:format:] + 214
3   AppKit                              0x00007ff81cec43a2 -[NSNib _initWithNibNamed:bundle:options:] + 642
4   AppKit                              0x00007ff81cec40d9 -[NSViewController _nibWithName:bundle:] + 173
5   AppKit                              0x00007ff81cec3cfd -[NSViewController loadView] + 131
6   CodeEdit                            0x0000000103c51985 CodeEdit + 6809989
7   CodeEdit                            0x0000000103c532f5 CodeEdit + 6816501
8   AppKit                              0x00007ff81cec3b1a -[NSViewController _loadViewIfRequired] + 72
9   AppKit                              0x00007ff81d37556a __24-[NSViewController view]_block_invoke + 27
10  AppKit                              0x00007ff81cebaaa7 NSPerformVisuallyAtomicChange + 132
11  AppKit                              0x00007ff81cec3a91 -[NSViewController view] + 123
12  SwiftUI                             0x00007ff924745ba2 get_witness_table 7SwiftUI4ViewRzSQRd__r__lAA15ModifiedContentVyxAA20_ValueActionModifierVyqd__GGAaBHPxAaBHD1__AgA0cH0HPyHCHCTm + 9123
13  SwiftUI                             0x00007ff924745b90 get_witness_table 7SwiftUI4ViewRzSQRd__r__lAA15ModifiedContentVyxAA20_ValueActionModifierVyqd__GGAaBHPxAaBHD1__AgA0cH0HPyHCHCTm + 9105
14  SwiftUI                             0x00007ff924fdacb3 __swift_memcpy74_8 + 8643
15  SwiftUI                             0x00007ff924fdb1dd __swift_memcpy74_8 + 9965
16  SwiftUI                             0x00007ff924fdb030 __swift_memcpy74_8 + 9536
17  SwiftUI                             0x00007ff924fdadbf __swift_memcpy74_8 + 8911
18  SwiftUI                             0x00007ff925185806 block_destroy_helper + 89849
19  SwiftUI                             0x00007ff925189933 block_destroy_helper + 106534
20  SwiftUI                             0x00007ff925183ce5 block_destroy_helper + 82904
21  SwiftUI                             0x00007ff9251856d4 block_destroy_helper + 89543
22  SwiftUI                             0x00007ff925184b2c block_destroy_helper + 86559
23  SwiftUI                             0x00007ff924aa195a __swift_memcpy22_4 + 402
24  AttributeGraph                      0x00007ff925824856 _ZN2AG5Graph11UpdateStack6updateEv + 548
25  AttributeGraph                      0x00007ff925824fe9 _ZN2AG5Graph16update_attributeENS_4data3ptrINS_4NodeEEEj + 403
26  AttributeGraph                      0x00007ff92582c7e3 _ZN2AG5Graph20input_value_ref_slowENS_4data3ptrINS_4NodeEEENS_11AttributeIDEjPK15AGSwiftMetadataRhl + 177
27  AttributeGraph                      0x00007ff9258440cd AGGraphGetInputValue + 242
28  SwiftUI                             0x00007ff9247f28e3 objectdestroyTm + 135966
29  SwiftUI                             0x00007ff924a82d45 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 8158
30  SwiftUI                             0x00007ff924a834a5 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 10046
31  SwiftUI                             0x00007ff924e56e86 get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 96220
32  SwiftUI                             0x00007ff924e56d3f get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95893
33  SwiftUI                             0x00007ff924e56a7c get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95186
34  SwiftUI                             0x00007ff924a869af get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA12_FrameLayoutVGAaBHPxAaBHD1__AfA0C8ModifierHPyHCHCTm + 13134
35  SwiftUI                             0x00007ff924a82da2 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 8251
36  SwiftUI                             0x00007ff924a834a5 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 10046
37  SwiftUI                             0x00007ff924e56e86 get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 96220
38  SwiftUI                             0x00007ff924e56d3f get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95893
39  SwiftUI                             0x00007ff924e56a7c get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95186
40  SwiftUI                             0x00007ff924a869af get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA12_FrameLayoutVGAaBHPxAaBHD1__AfA0C8ModifierHPyHCHCTm + 13134
41  SwiftUI                             0x00007ff92550796d objectdestroyTm + 14683
42  SwiftUI                             0x00007ff925506941 objectdestroyTm + 10543
43  SwiftUI                             0x00007ff925508c43 objectdestroyTm + 19505
44  SwiftUI                             0x00007ff92550662a objectdestroyTm + 9752
45  SwiftUI                             0x00007ff924e59a25 __swift_memcpy32_4 + 6121
46  SwiftUI                             0x00007ff924e5a4e8 __swift_memcpy32_4 + 8876
47  SwiftUI                             0x00007ff924837fd2 _swift_stdlib_malloc_size + 136118
48  SwiftUI                             0x00007ff924a869af get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA12_FrameLayoutVGAaBHPxAaBHD1__AfA0C8ModifierHPyHCHCTm + 13134
49  SwiftUI                             0x00007ff924a82da2 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 8251
50  SwiftUI                             0x00007ff924a834a5 get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA30_EnvironmentKeyWritingModifierVySbSgGGAaBHPxAaBHD1__AhA0cI0HPyHCHCTm + 10046
51  SwiftUI                             0x00007ff924e56e86 get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 96220
52  SwiftUI                             0x00007ff924e56d3f get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95893
53  SwiftUI                             0x00007ff924e56a7c get_witness_table 7SwiftUI4ViewRzAA10ShapeStyleRd__r__lAA15ModifiedContentVyAEyxAA26_PreferenceWritingModifierVyAA022PresentationBackgroundH0V3KeyVGGAGyAI015TransparentHostM0VGGAaBHPAmaBHPxAaBHD1__AlA0cJ0HPyHCHC_ApaRHPyHCHCTm + 95186
54  SwiftUI                             0x00007ff924a869af get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyxAA12_FrameLayoutVGAaBHPxAaBHD1__AfA0C8ModifierHPyHCHCTm + 13134
55  SwiftUI                             0x00007ff9251b4c40 __swift_memcpy56_4 + 6877
56  SwiftUI                             0x00007ff92


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   AppKit                        	    0x7ff81d1d3282 -[NSApplication _crashOnException:] + 287
1   AppKit                        	    0x7ff81cfcd9db __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 857
2   AppKit                        	    0x7ff81d7e0dac ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
3   CoreFoundation                	    0x7ff819dd23b4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
4   CoreFoundation                	    0x7ff819dd22db __CFRunLoopDoObservers + 482
5   CoreFoundation                	    0x7ff819dd1866 __CFRunLoopRun + 859
6   CoreFoundation                	    0x7ff819dd0ea1 CFRunLoopRunSpecific + 560
7   HIToolbox                     	    0x7ff82385cf3d RunCurrentEventLoopInMode + 292
8   HIToolbox                     	    0x7ff82385cb84 ReceiveNextEventCommon + 199
9   HIToolbox                     	    0x7ff82385caa8 _BlockUntilNextEventMatchingListInModeWithFilter + 64
10  AppKit                        	    0x7ff81ce6ed08 _DPSNextEvent + 858
11  AppKit                        	    0x7ff81ce6dbb2 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214
12  AppKit                        	    0x7ff81ce60227 -[NSApplication run] + 586
13  AppKit                        	    0x7ff81ce34441 NSApplicationMain + 817
14  SwiftUI                       	    0x7ff9241fd9fb 0x7ff924177000 + 551419
15  SwiftUI                       	    0x7ff92523a8b4 0x7ff924177000 + 17578164
16  SwiftUI                       	    0x7ff924b536cf 0x7ff924177000 + 10340047
17  CodeEdit                      	       0x1039a7e16 0x1035d3000 + 4017686
18  dyld                          	    0x7ff81999c418 start + 1896

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

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	    0x7ff819cf2bb0 start_wqthread + 0

Thread 9:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff819cb8552 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff819cc66cd mach_msg2_internal + 78
2   libsystem_kernel.dylib        	    0x7ff819cbf584 mach_msg_overwrite + 692
3   libsystem_kernel.dylib        	    0x7ff819cb883a mach_msg + 19
4   CoreFoundation                	    0x7ff819dd2fdf __CFRunLoopServiceMachPort + 145
5   CoreFoundation                	    0x7ff819dd1a60 __CFRunLoopRun + 1365
6   CoreFoundation                	    0x7ff819dd0ea1 CFRunLoopRunSpecific + 560
7   AppKit                        	    0x7ff81cfcef55 _NSEventThread + 132
8   libsystem_pthread.dylib       	    0x7ff819cf71d3 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7ff819cf2bd3 thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007fe43846da00  rbx: 0x00007ff819961200  rcx: 0x4baa210ba6700004  rdx: 0x000000000000442c
  rdi: 0x00007fe438471e2c  rsi: 0x00007ff7bc92a5d0  rbp: 0x00007ff7bc92aa60  rsp: 0x00007ff7bc92aa30
   r8: 0x0000000000000000   r9: 0x00007fe438471e2c  r10: 0x00007ff7bc92a538  r11: 0x0000000000004fff
  r12: 0x00007fe43700a5d0  r13: 0x0000600003bbe260  r14: 0x00006000005f8060  r15: 0x00007ff838cc26e6
  rip: 0x00007ff81d1d3282  rfl: 0x0000000000010206  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  00 e8 5e ad 91 00 48 8b-35 31 0c bd 3c 48 8b 1d  ..^...H.51..<H..
  42 4b 46 3e 4c 89 f7 ff-d3 48 8d 3d 96 cf 9c 3c  BKF>L....H.=...<
  48 89 c6 31 c0 e8 0d db-e3 ff 4c 89 f7 4c 89 fe  H..1......L..L..
  ff d3 48 8b 35 45 e9 bc-3c 48 8d 15 f6 bf 9c 3c  ..H.5E..<H.....<
  48 89 c7 ff 15 0d 4b 46-3e 48 8b 35 26 a0 ba 3c  H.....KF>H.5&..<
  48 89 c7 ff 15 fd 4a 46-3e 48 89 05 2e 78 5c 3e  H.....JF>H...x\>
 [0f]0b 48 89 c7 e8 7c b2-91 00 31 ff 31 f6 31 c0  ..H...|...1.1.1.	<==
  e8 c2 da e3 ff e8 9c b2-91 00 0f 0b eb 00 48 89  ..............H.
  c3 e8 84 b2 91 00 48 89-df e8 92 ab 91 00 e8 73  ......H........s
  b3 91 00 90 55 48 89 e5-41 57 41 56 41 55 41 54  ....UH..AWAVAUAT
  53 48 83 ec 68 4d 89 c6-f2 0f 11 4d 90 f2 0f 11  SH..hM.....M....
  45 98 49 89 cd 48 89 d3-48 8b 35 a7 e8 be 3c 48  E.I..H..H.5...<H

Binary Images:
       0x1035d3000 -        0x109d1afff app.codeedit.CodeEdit (0.3.4) <f40a57d5-e3c0-3296-87f7-43582c9bb34d> /Applications/CodeEdit.app/Contents/MacOS/CodeEdit
       0x10a1c4000 -        0x10a1f4fff codeeditkit.CodeEditKit (1.0) <dd83b979-e542-3df8-8d76-7286ec460ce1> /Applications/CodeEdit.app/Contents/Frameworks/CodeEditKit.framework/Versions/A/CodeEditKit
       0x10a10f000 -        0x10a162fff org.sparkle-project.Sparkle (2.3.0) <2aa76c72-900c-3629-b58d-a6297fe94a1e> /Applications/CodeEdit.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle
       0x115eff000 -        0x115f0efff libobjc-trampolines.dylib (*) <36a3bfbf-d3b0-3617-bc40-e0d8a668d1fe> /usr/lib/libobjc-trampolines.dylib
       0x1164d0000 -        0x1164d7fff com.apple.CloudDocsFileProvider (1.0) <fb82c054-bb41-3297-b2d8-1c98e04d1625> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/CloudDocsFileProvider.bundle/Contents/MacOS/CloudDocsFileProvider
       0x11649e000 -        0x1164a5fff com.apple.FileProviderOverride (855.140.6.702.2) <1af203e8-cc0a-3600-92b0-759de412cf08> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FileProviderOverride.bundle/Contents/MacOS/FileProviderOverride
       0x11656f000 -        0x11658afff com.apple.findersync.fileprovideroverride.FinderSyncCollaborationFileProviderOverride (13.5) <4025845f-3bd7-3bdb-986d-5fe5d2e3ec89> /System/Library/Frameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride
    0x7ff81ce31000 -     0x7ff81de39fff com.apple.AppKit (6.9) <0a99d60f-ee05-36cc-bee7-5b2d506e345d> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff819d56000 -     0x7ff81a1f2fef com.apple.CoreFoundation (6.9) <7b6e03ad-3416-38a7-838c-36f8bfdc347d> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff82382e000 -     0x7ff823b25ff9 com.apple.HIToolbox (2.1.1) <a798e4be-2bf2-35dc-9d38-1d4521cf926e> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff924177000 -     0x7ff92581affb com.apple.SwiftUI (4.6.3) <d8013a2c-e3b1-34e2-b99e-09de8382f15e> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
    0x7ff819996000 -     0x7ff819a2e3af dyld (*) <be14380c-5e18-3640-9fbe-851beb014bba> /usr/lib/dyld
    0x7ff819cf1000 -     0x7ff819cfcfff libsystem_pthread.dylib (*) <51a43b06-feb4-3836-9e4f-21b69bb13726> /usr/lib/system/libsystem_pthread.dylib
    0x7ff819cb7000 -     0x7ff819cf0fff libsystem_kernel.dylib (*) <245cddb1-f1f1-38fe-9168-f530f762aa8a> /usr/lib/system/libsystem_kernel.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: 0
    thread_create: 0
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG backing stores                  656K        4 
CG image                           168K       21 
ColorSync                          256K       29 
CoreAnimation                     1764K       58 
CoreGraphics                        20K        3 
CoreUI image data                  964K       16 
Foundation                          16K        1 
IOKit                             7940K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           197.6M       64 
MALLOC guard page                   48K       11 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
SQLite page cache                  384K        3 
STACK GUARD                       56.0M       10 
Stack                             12.6M       10 
VM_ALLOCATE                       3124K       12 
__CTF                               824        1 
__DATA                            33.9M      597 
__DATA_CONST                      40.7M      384 
__DATA_DIRTY                      2092K      224 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       173.6M        9 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2013K        2 
__TEXT                           751.0M      615 
dyld private memory                260K        2 
libnetwork                         128K        8 
mapped file                      479.2M       51 
shared memory                     2844K       21 
===========                     =======  ======= 
TOTAL                              2.2G     2164 
TOTAL, minus reserved VM space     1.8G     2164

Screenshots


Thanks

KaKi87 avatar May 09 '25 00:05 KaKi87

Based on the crash report this looks like it's happening in the StyledRangeStorage type in CodeEditSourceEditor, which makes me think it may have been fixed in https://github.com/CodeEditApp/CodeEditSourceEditor/pull/303. I'll loop back when we release the version of CodeEdit with that fix.

thecoolwinter avatar May 27 '25 17:05 thecoolwinter

Alright, thanks

KaKi87 avatar May 27 '25 17:05 KaKi87

This should have been fixed in the latest release. I'm going go close this, please re-open it if the problem persists.

thecoolwinter avatar Aug 27 '25 19:08 thecoolwinter

Thanks, so I installed the latest version, and, actually, it doesn't run at all :

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

Process:               CodeEdit [1684]
Path:                  /Applications/CodeEdit.app/Contents/MacOS/CodeEdit
Identifier:            app.codeedit.CodeEdit
Version:               0.3.6 (47)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2025-08-28 00:02:14.4135 +0200
OS Version:            macOS 13.7.1 (22H221)
Report Version:        12
Anonymous UUID:        EC90B3B7-DD74-7250-F7C6-C41C535BFB05


Time Awake Since Boot: 430 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 4 Symbol missing
Symbol not found: _$sSo17OS_dispatch_queueC8DispatchE12asyncAndWait7executexxyKXE_tKlF
Referenced from: <116BB0C7-8FE9-3190-A179-546CEC1636F5> /Applications/CodeEdit.app/Contents/MacOS/CodeEdit
Expected in:     <5A5DE507-6097-34D5-87E4-D26F412BB8B2> /usr/lib/swift/libswiftDispatch.dylib
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                          	    0x7ff8071a8ae6 __abort_with_payload + 10
1   dyld                          	    0x7ff8071c2da7 abort_with_payload_wrapper_internal + 82
2   dyld                          	    0x7ff8071c2dd9 abort_with_payload + 9
3   dyld                          	    0x7ff807147840 dyld4::halt(char const*) + 375
4   dyld                          	    0x7ff807144b66 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4526
5   dyld                          	    0x7ff8071433b3 start + 1795


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007ff7bbd53968  rdx: 0x00007ff7bbd53dd0
  rdi: 0x0000000000000006  rsi: 0x0000000000000004  rbp: 0x00007ff7bbd539b0  rsp: 0x00007ff7bbd53968
   r8: 0x00007ff7bbd539d0   r9: 0x0000000000000000  r10: 0x00000000000000b2  r11: 0x0000000000000246
  r12: 0x00000000000000b2  r13: 0x00007ff7bbd53dd0  r14: 0x0000000000000004  r15: 0x0000000000000006
  rip: 0x00007ff8071a8ae6  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000209 
Trap Number:     133


Binary Images:
       0x1041a8000 -        0x10aa60fff app.codeedit.CodeEdit (0.3.6) <116bb0c7-8fe9-3190-a179-546cec1636f5> /Applications/CodeEdit.app/Contents/MacOS/CodeEdit
       0x10af46000 -        0x10af76fff codeeditkit.CodeEditKit (1.0) <c8c88e37-6a1e-355a-8b5a-cab60dbb7d0c> /Applications/CodeEdit.app/Contents/Frameworks/CodeEditKit.framework/Versions/A/CodeEditKit
       0x10ae94000 -        0x10aee7fff org.sparkle-project.Sparkle (2.3.0) <2aa76c72-900c-3629-b58d-a6297fe94a1e> /Applications/CodeEdit.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle
    0x7ff80713d000 -     0x7ff8071d53af dyld (*) <be14380c-5e18-3640-9fbe-851beb014bba> /usr/lib/dyld

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=920.2M resident=0K(0%) swapped_out_or_unallocated=920.2M(100%)
Writable regions: Total=9144K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9144K(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE                          8K        2 
__CTF                               824        1 
__DATA                            33.7M      577 
__DATA_CONST                      40.2M      374 
__DATA_DIRTY                      2086K      220 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       173.5M        5 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2013K        2 
__TEXT                           746.7M      602 
dyld private memory                260K        2 
shared memory                        4K        1 
===========                     =======  ======= 
TOTAL                              1.1G     1791 



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

{"app_name":"CodeEdit","timestamp":"2025-08-28 00:02:24.00 +0200","app_version":"0.3.6","slice_uuid":"116bb0c7-8fe9-3190-a179-546cec1636f5","build_version":"47","platform":1,"bundleID":"app.codeedit.CodeEdit","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.7.1 (22H221)","roots_installed":0,"name":"CodeEdit","incident_id":"652E0423-4D05-4E88-99C3-6806E8E4A643"}
{
  "uptime" : 430,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro14,1",
  "coalitionID" : 1122,
  "osVersion" : {
    "train" : "macOS 13.7.1",
    "build" : "22H221",
    "releaseType" : "User"
  },
  "captureTime" : "2025-08-28 00:02:14.4135 +0200",
  "incident" : "652E0423-4D05-4E88-99C3-6806E8E4A643",
  "pid" : 1684,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-08-28 00:02:14.3664 +0200",
  "procStartAbsTime" : 437597812100,
  "procExitAbsTime" : 437633710141,
  "procName" : "CodeEdit",
  "procPath" : "\/Applications\/CodeEdit.app\/Contents\/MacOS\/CodeEdit",
  "bundleInfo" : {"CFBundleShortVersionString":"0.3.6","CFBundleVersion":"47","CFBundleIdentifier":"app.codeedit.CodeEdit"},
  "storeInfo" : {"deviceIdentifierForVendor":"65FBBA84-E1B0-59C4-BF56-166FEBF39AA7","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "app.codeedit.CodeEdit",
  "crashReporterKey" : "EC90B3B7-DD74-7250-F7C6-C41C535BFB05",
  "codeSigningID" : "app.codeedit.CodeEdit",
  "codeSigningTeamID" : "9VS2VKC5LQ",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 0,
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Symbol not found: _$sSo17OS_dispatch_queueC8DispatchE12asyncAndWait7executexxyKXE_tKlF","Referenced from: <116BB0C7-8FE9-3190-A179-546CEC1636F5> \/Applications\/CodeEdit.app\/Contents\/MacOS\/CodeEdit","Expected in:     <5A5DE507-6097-34D5-87E4-D26F412BB8B2> \/usr\/lib\/swift\/libswiftDispatch.dylib"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":26264,"threadState":{"r13":{"value":140701984964048},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":4},"rsi":{"value":4},"r8":{"value":140701984963024},"cr2":{"value":0},"rdx":{"value":140701984964048},"r10":{"value":178},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140703247796966,"matchesCrashFrame":1},"rbp":{"value":140701984962992},"rsp":{"value":140701984962920},"r12":{"value":178},"rcx":{"value":140701984962920},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":441062,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":3},{"imageOffset":548263,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":3},{"imageOffset":548313,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":3},{"imageOffset":43072,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":3},{"imageOffset":31590,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4526,"imageIndex":3},{"imageOffset":25523,"symbol":"start","symbolLocation":1795,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4363812864,
    "CFBundleShortVersionString" : "0.3.6",
    "CFBundleIdentifier" : "app.codeedit.CodeEdit",
    "size" : 109809664,
    "uuid" : "116bb0c7-8fe9-3190-a179-546cec1636f5",
    "path" : "\/Applications\/CodeEdit.app\/Contents\/MacOS\/CodeEdit",
    "name" : "CodeEdit",
    "CFBundleVersion" : "47"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4478754816,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "codeeditkit.CodeEditKit",
    "size" : 200704,
    "uuid" : "c8c88e37-6a1e-355a-8b5a-cab60dbb7d0c",
    "path" : "\/Applications\/CodeEdit.app\/Contents\/Frameworks\/CodeEditKit.framework\/Versions\/A\/CodeEditKit",
    "name" : "CodeEditKit",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4478025728,
    "CFBundleShortVersionString" : "2.3.0",
    "CFBundleIdentifier" : "org.sparkle-project.Sparkle",
    "size" : 344064,
    "uuid" : "2aa76c72-900c-3629-b58d-a6297fe94a1e",
    "path" : "\/Applications\/CodeEdit.app\/Contents\/Frameworks\/Sparkle.framework\/Versions\/B\/Sparkle",
    "name" : "Sparkle",
    "CFBundleVersion" : "2021"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703247355904,
    "size" : 623536,
    "uuid" : "be14380c-5e18-3640-9fbe-851beb014bba",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 140703246733312,
  "size" : 21474836480,
  "uuid" : "bdcffdbd-683c-3c37-808c-6ae85c95c7e8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=920.2M resident=0K(0%) swapped_out_or_unallocated=920.2M(100%)\nWritable regions: Total=9144K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9144K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                          8K        2 \n__CTF                               824        1 \n__DATA                            33.7M      577 \n__DATA_CONST                      40.2M      374 \n__DATA_DIRTY                      2086K      220 \n__FONT_DATA                        2352        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       173.5M        5 \n__OBJC_RO                         66.3M        1 \n__OBJC_RW                         2013K        2 \n__TEXT                           746.7M      602 \ndyld private memory                260K        2 \nshared memory                        4K        1 \n===========                     =======  ======= \nTOTAL                              1.1G     1791 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "60f44578d7876fbdcc6b6c8d02638355a2fc95ba",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62c74108bcb0435c2153f963",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "657a4921d6ad146894c1b003"
      },
      "deploymentId" : 240000394
    },
    {
      "rolloutId" : "639124e81d92412bfb4880b3",
      "factorPackIds" : {

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

  ]
}
}

Model: MacBookPro14,1, BootROM 509.0.0.0.0, 2 processors, Dual-Core Intel Core i7, 2,8 GHz, 16 GB, SMC 2.43f10
Graphics: Intel HD Graphics 520, Intel HD Graphics 520, Built-In
Display: Unknown Display, 1712 x 962, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2133 MHz, 859B, CT16G4SFD8213.C16FAD
AirPort: spairport_wireless_card_type_wifi (0x8086, 0x130), itlwm: 2.2.0 fw: 36.ca7b901d.0
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: Sunrise Point-LP USB 3.0 xHCI Controller, USB controller, Internal@0,20,0
PCI Card: Sunrise Point-LP Thermal subsystem, Signal processing controller, Internal@0,20,2
PCI Card: Sunrise Point-LP CSME HECI #1, Communication controller, Internal@0,22,0
PCI Card: Sunrise Point-LP SATA Controller [AHCI mode], SATA controller, Internal@0,23,0
PCI Card: Intel I219LM PCI Express Gigabit Ethernet, Ethernet controller, Internal@0,31,6
PCI Card: Sunrise Point-LP PMC, Memory controller, Internal@0,31,2
PCI Card: 100 Series/C230 Series Chipset Family HD Audio Controller, Audio device, Internal@0,31,3
PCI Card: Sunrise Point-LP SMBus, SMBus, Internal@0,31,4
PCI Card: BCM4352 802.11ac Wireless Network Adapter, Network controller, Internal@0,28,2/0,0
PCI Card: RTS522A PCI Express Card Reader, Unassigned class, Internal@0,28,0/0,0
Serial ATA Device: SAMSUNG MZ7TY256HDHP-000L7, 256,06 GB
USB Device: USB30Bus
USB Device: Integrated Camera
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: 

Thanks

KaKi87 avatar Aug 27 '25 22:08 KaKi87

Shoot, that looks like another bug I thought was fixed in the 0.3.6 release as well. It seems like it's only affecting x86 machines on Ventura, I'll re-open that issue: #2106

thecoolwinter avatar Sep 04 '25 15:09 thecoolwinter

Hi, Any news please ? Thank you !

KaKi87 avatar Nov 28 '25 01:11 KaKi87