MochiDiffusion / MochiDiffusion

Run Stable Diffusion on Mac natively
GNU General Public License v3.0
7.39k stars 351 forks source link

App crashes when clicking apply in the settings menu #282

Closed eetgeenappels closed 1 year ago

eetgeenappels commented 1 year ago

Running Latest Version

Processor

M1 (or later)

Intel processor

No response

Memory

8GB

What happened?

Go to the setting of the app and click apply

Crash Log

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

Process:               Mochi Diffusion [1909]
Path:                  /Applications/Mochi Diffusion.app/Contents/MacOS/Mochi Diffusion
Identifier:            com.joshua-park.Mochi-Diffusion
Version:               4.1 (4.1)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2023-07-18 17:11:46.8012 -0300
OS Version:            macOS 14.0 (23A5286g)
Report Version:        12
Anonymous UUID:        C940E3B4-B203-A1C2-A7EC-E463ACD680AA

Sleep/Wake UUID:       1B81A0E7-B793-4A84-8944-8D9D58CCCE08

Time Awake Since Boot: 2700 seconds
Time Since Wake:       2763 seconds

System Integrity Protection: enabled

Crashed Thread:        6

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000d885400ecd70 -> 0x00005885400ecd70 (possible pointer authentication failure)
Exception Codes:       0x0000000000000001, 0x0000d885400ecd70

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [1909]

VM Region Info: 0x5885400ecd70 is not in any region.  Bytes after previous region: 96848292269425  Bytes before following region: 8223787659920
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)        1000000000-7000000000   [384.0G] ---/--- SM=NUL  ...(unallocated)
--->  GAP OF 0x5f9000000000 BYTES
      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-/rwx SM=PRV  

Thread 0::  Dispatch queue: com.apple.main-thread
0   AttributeGraph                         0x1b2be46ec void AG::Graph::add_output_edge<AG::Node>(AG::data::ptr<AG::Node>, AG::AttributeID) + 68
1   AttributeGraph                         0x1b2be4670 AG::Graph::add_input_dependencies(AG::AttributeID, AG::AttributeID) + 100
2   AttributeGraph                         0x1b2be63d8 AG::Graph::add_input(AG::data::ptr<AG::Node>, AG::AttributeID, bool, unsigned int) + 536
3   AttributeGraph                         0x1b2be70f8 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 304
4   AttributeGraph                         0x1b2bff3b8 AGGraphGetValue + 228
5   SwiftUI                                0x1b287af14 0x1b0ea4000 + 27094804
6   SwiftUI                                0x1b288cb6c 0x1b0ea4000 + 27167596
7   SwiftUI                                0x1b16b0fac 0x1b0ea4000 + 8441772
8   AttributeGraph                         0x1b2bde2ec AG::Graph::UpdateStack::update() + 512
9   AttributeGraph                         0x1b2bdeb28 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424
10  AttributeGraph                         0x1b2becfa0 AG::Subgraph::update(unsigned int) + 848
11  SwiftUI                                0x1b17a6820 0x1b0ea4000 + 9447456
12  SwiftUI                                0x1b26637dc 0x1b0ea4000 + 24901596
13  SwiftUI                                0x1b26379bc 0x1b0ea4000 + 24721852
14  SwiftUI                                0x1b267319c 0x1b0ea4000 + 24965532
15  SwiftUI                                0x1b2131508 0x1b0ea4000 + 19453192
16  SwiftUI                                0x1b21301f4 0x1b0ea4000 + 19448308
17  SwiftUI                                0x1b213004c 0x1b0ea4000 + 19447884
18  SwiftUI                                0x1b21344cc 0x1b0ea4000 + 19465420
19  SwiftUI                                0x1b212f2e4 0x1b0ea4000 + 19444452
20  SwiftUI                                0x1b212fccc 0x1b0ea4000 + 19446988
21  SwiftUI                                0x1b21304e8 0x1b0ea4000 + 19449064
22  SwiftUI                                0x1b1f73660 0x1b0ea4000 + 17626720
23  SwiftUI                                0x1b1d223dc 0x1b0ea4000 + 15197148
24  SwiftUI                                0x1b1d229d0 0x1b0ea4000 + 15198672
25  SwiftUI                                0x1b255ee04 0x1b0ea4000 + 23834116
26  SwiftUI                                0x1b17a7168 0x1b0ea4000 + 9449832
27  SwiftUI                                0x1b17a6904 0x1b0ea4000 + 9447684
28  SwiftUI                                0x1b24dee90 0x1b0ea4000 + 23309968
29  SwiftUI                                0x1b24cb1dc 0x1b0ea4000 + 23228892
30  SwiftUI                                0x1b25568d8 0x1b0ea4000 + 23800024
31  SwiftUI                                0x1b2562ac8 0x1b0ea4000 + 23849672
32  SwiftUI                                0x1b25490f4 0x1b0ea4000 + 23744756
33  AppKit                                 0x189aa30a0 +[NSAnimationContext runAnimationGroup:] + 56
34  SwiftUI                                0x1b25567b4 0x1b0ea4000 + 23799732
35  SwiftUI                                0x1b2556c48 0x1b0ea4000 + 23800904
36  AppKit                                 0x18a4f9d24 ___NSViewLayout_block_invoke + 592
37  AppKit                                 0x189acddf8 NSPerformVisuallyAtomicChange + 108
38  AppKit                                 0x189ad291c _NSViewLayout + 96
39  AppKit                                 0x18a4f0424 __36-[NSView _layoutSubtreeWithOldSize:]_block_invoke + 364
40  AppKit                                 0x189acddf8 NSPerformVisuallyAtomicChange + 108
41  AppKit                                 0x189ad28b0 -[NSView _layoutSubtreeWithOldSize:] + 100
42  AppKit                                 0x18a4f0568 __36-[NSView _layoutSubtreeWithOldSize:]_block_invoke + 688
43  AppKit                                 0x189acddf8 NSPerformVisuallyAtomicChange + 108
44  AppKit                                 0x189ad28b0 -[NSView _layoutSubtreeWithOldSize:] + 100
45  AppKit                                 0x18a4f0f0c __56-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:]_block_invoke + 796
46  AppKit                                 0x189acddf8 NSPerformVisuallyAtomicChange + 108
47  AppKit                                 0x189ad2470 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 100
48  AppKit                                 0x189acddf8 NSPerformVisuallyAtomicChange + 108
49  AppKit                                 0x189ad2400 -[NSView layoutSubtreeIfNeeded] + 96
50  AppKit                                 0x18a797a94 -[NSWindow(NSConstraintBasedLayoutInternal) _layoutViewTree] + 104
51  AppKit                                 0x18a797c1c -[NSWindow(NSConstraintBasedLayoutInternal) layoutIfNeeded] + 240
52  AppKit                                 0x189b3112c __NSWindowGetDisplayCycleObserverForLayout_block_invoke + 364
53  AppKit                                 0x189b306c8 NSDisplayCycleObserverInvoke + 168
54  AppKit                                 0x189b30324 NSDisplayCycleFlush + 644
55  QuartzCore                             0x18e2b1fcc CA::Transaction::run_commit_handlers(CATransactionPhase) + 120
56  QuartzCore                             0x18e2b0d8c CA::Transaction::commit() + 320
57  AppKit                                 0x189bb4160 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
58  AppKit                                 0x18a5348d4 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
59  CoreFoundation                         0x18634027c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
60  CoreFoundation                         0x186340168 __CFRunLoopDoObservers + 532
61  CoreFoundation                         0x18633f798 __CFRunLoopRun + 776
62  CoreFoundation                         0x18633eddc CFRunLoopRunSpecific + 600
63  HIToolbox                              0x190866530 RunCurrentEventLoopInMode + 292
64  HIToolbox                              0x19086636c ReceiveNextEventCommon + 648
65  HIToolbox                              0x1908660c4 _BlockUntilNextEventMatchingListInModeWithFilter + 76
66  AppKit                                 0x189a8b4a8 _DPSNextEvent + 660
67  AppKit                                 0x18a2458a0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
68  AppKit                                 0x189a7ecb0 -[NSApplication run] + 476
69  AppKit                                 0x189a56104 NSApplicationMain + 880
70  SwiftUI                                0x1b0f4f7a8 0x1b0ea4000 + 702376
71  SwiftUI                                0x1b2547324 0x1b0ea4000 + 23737124
72  SwiftUI                                0x1b1ca0580 0x1b0ea4000 + 14665088
73  Mochi Diffusion                        0x1027d8bb8 0x1027d4000 + 19384
74  dyld                                   0x185ee9058 start + 2224

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

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

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

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

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib                 0x1862228d4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x186234d50 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18622b510 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x186222c58 mach_msg + 24
4   CoreFoundation                         0x186341068 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18633f948 __CFRunLoopRun + 1208
6   CoreFoundation                         0x18633eddc CFRunLoopRunSpecific + 600
7   AppKit                                 0x189bb57a8 _NSEventThread + 144
8   libsystem_pthread.dylib                0x186263034 _pthread_start + 136
9   libsystem_pthread.dylib                0x18625de3c thread_start + 8

Thread 6 Crashed:
0   libswiftCore.dylib                     0x196345570 _swift_release_dealloc + 32
1   libswiftCore.dylib                     0x196346264 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
2   Mochi Diffusion                        0x10287af94 0x1027d4000 + 683924
3   libswiftCore.dylib                     0x196331f50 swift_arrayDestroy + 124
4   libswiftCore.dylib                     0x19607cabc _DictionaryStorage.deinit + 268
5   libswiftCore.dylib                     0x19607cbf0 _DictionaryStorage.__deallocating_deinit + 16
6   libswiftCore.dylib                     0x196345588 _swift_release_dealloc + 56
7   libswiftCore.dylib                     0x196346264 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
8   Mochi Diffusion                        0x102869da8 0x1027d4000 + 613800
9   libswiftCore.dylib                     0x196345588 _swift_release_dealloc + 56
10  libswiftCore.dylib                     0x196346264 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
11  Mochi Diffusion                        0x102870c08 0x1027d4000 + 642056
12  Mochi Diffusion                        0x102870a08 0x1027d4000 + 641544
13  libswiftCore.dylib                     0x19631e66c assignWithCopy for ClosedRange<>.Index + 336
14  Mochi Diffusion                        0x10281226c 0x1027d4000 + 254572
15  Mochi Diffusion                        0x10280d478 0x1027d4000 + 234616
16  Mochi Diffusion                        0x10282d269 0x1027d4000 + 365161
17  Mochi Diffusion                        0x102834e91 0x1027d4000 + 396945
18  Mochi Diffusion                        0x102832915 0x1027d4000 + 387349
19  Mochi Diffusion                        0x102834e9d 0x1027d4000 + 396957
20  libswift_Concurrency.dylib             0x222fd2cc9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1

Thread 7:
0   libswiftCore.dylib                     0x196331f48 swift_arrayDestroy + 116
1   libswiftCore.dylib                     0x19607cabc _DictionaryStorage.deinit + 268
2   libswiftCore.dylib                     0x19607cbf0 _DictionaryStorage.__deallocating_deinit + 16
3   libswiftCore.dylib                     0x196345588 _swift_release_dealloc + 56
4   libswiftCore.dylib                     0x196346264 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
5   Mochi Diffusion                        0x102869da8 0x1027d4000 + 613800
6   libswiftCore.dylib                     0x196345588 _swift_release_dealloc + 56
7   libswiftCore.dylib                     0x196346264 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
8   Mochi Diffusion                        0x102870c08 0x1027d4000 + 642056
9   Mochi Diffusion                        0x102870a08 0x1027d4000 + 641544
10  libswiftCore.dylib                     0x19631e66c assignWithCopy for ClosedRange<>.Index + 336
11  Mochi Diffusion                        0x10281226c 0x1027d4000 + 254572
12  Mochi Diffusion                        0x10280d478 0x1027d4000 + 234616
13  Mochi Diffusion                        0x10282d269 0x1027d4000 + 365161
14  Mochi Diffusion                        0x102834e91 0x1027d4000 + 396945
15  Mochi Diffusion                        0x102832915 0x1027d4000 + 387349
16  Mochi Diffusion                        0x102834e9d 0x1027d4000 + 396957
17  libswift_Concurrency.dylib             0x222fd2cc9 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1

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

Thread 9:: com.apple.SwiftUI.AsyncRenderer
0   libsystem_kernel.dylib                 0x1862228d4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x186234d50 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x18622b510 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x186222c58 mach_msg + 24
4   CoreFoundation                         0x186341068 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18633f948 __CFRunLoopRun + 1208
6   CoreFoundation                         0x18633eddc CFRunLoopRunSpecific + 600
7   Foundation                             0x187400be8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   Foundation                             0x1874789c8 -[NSRunLoop(NSRunLoop) run] + 64
9   SwiftUI                                0x1b2340ba0 0x1b0ea4000 + 21613472
10  SwiftUI                                0x1b2340cd4 0x1b0ea4000 + 21613780
11  Foundation                             0x1873fa158 __NSThread__start__ + 716
12  libsystem_pthread.dylib                0x186263034 _pthread_start + 136
13  libsystem_pthread.dylib                0x18625de3c thread_start + 8

Thread 6 crashed with ARM Thread State (64-bit):
    x0: 0x00006000020acd80   x1: 0x00000000000007fb   x2: 0x0000000000000001   x3: 0x0000000151005cb0
    x4: 0x0000000000000021   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000200000000   x9: 0x00000000000007fb  x10: 0x0000000000000000  x11: 0x00000001000007fb
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x00000000ea41b84e  x15: 0x000000000000004e
   x16: 0x0000d885400ecd80  x17: 0x6ae16000020acd80  x18: 0x0000000000000000  x19: 0x00000001303643a0
   x20: 0x0000000000000001  x21: 0x00000001303643a0  x22: 0x0000000000000020  x23: 0x00000001028bf818
   x24: 0x0000000130362040  x25: 0x0000000000000400  x26: 0x00000000000003ff  x27: 0x0000000130360048
   x28: 0x457ffffff0000000   fp: 0x000000016d96eb80   lr: 0x8f12000196346264
    sp: 0x000000016d96eb70   pc: 0x0000000196345570 cpsr: 0x60001000
   far: 0x0000d885400ecd70  esr: 0x92000004 (Data Abort) byte read Translation fault

Binary Images:
       0x102e04000 -        0x102e0ffff libobjc-trampolines.dylib (*) <ccf4ae73-c93a-3eb8-bf96-866fb1cb78fe> /usr/lib/libobjc-trampolines.dylib
       0x102e30000 -        0x102e73fff org.sparkle-project.Sparkle (2.4.2) <0ad1c5c8-fdc4-32cf-90fa-869442d175ac> /Applications/Mochi Diffusion.app/Contents/Frameworks/Sparkle.framework/Versions/B/Sparkle
       0x1027d4000 -        0x1028b7fff com.joshua-park.Mochi-Diffusion (4.1) <c231a693-1222-3277-a84a-fc28053aa9c7> /Applications/Mochi Diffusion.app/Contents/MacOS/Mochi Diffusion
       0x1b2bd4000 -        0x1b2c16fff com.apple.AttributeGraph (5.0.70) <1cf8fec9-6b71-351d-a7ce-1810fa43a75c> /System/Library/PrivateFrameworks/AttributeGraph.framework/Versions/A/AttributeGraph
       0x1b0ea4000 -        0x1b2bd3fff com.apple.SwiftUI (5.0.70.1.400) <5cba1c3f-43c5-3529-8130-c71bab1413d5> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x189a52000 -        0x18ad39fff com.apple.AppKit (6.9) <031147ff-93fe-38a3-b93b-aa69b5a510ca> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x18e2ae000 -        0x18e674fff com.apple.QuartzCore (1.11) <a53ed86f-e1de-3d3e-868d-ad234c023359> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
       0x1862c2000 -        0x186797fff com.apple.CoreFoundation (6.9) <f2bf675a-1a33-3cda-bad6-42eec127af1a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x190836000 -        0x190af5fff com.apple.HIToolbox (2.1.1) <4cef4987-88ef-35ad-aa52-3c1acdcadba7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x185ee3000 -        0x185f768fb dyld (*) <b1f98040-1e0e-39dc-9498-bd7f616f30b4> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18625c000 -        0x186268ff3 libsystem_pthread.dylib (*) <e03d774e-c50f-3ae7-affc-7463a84484c6> /usr/lib/system/libsystem_pthread.dylib
       0x186221000 -        0x18625bfef libsystem_kernel.dylib (*) <ffe8c381-ae05-3f7c-ba97-4052e0ec194b> /usr/lib/system/libsystem_kernel.dylib
       0x195fb5000 -        0x1964f3fff libswiftCore.dylib (*) <9f12070d-3e5b-3112-806b-e866e4c44047> /usr/lib/swift/libswiftCore.dylib
       0x222f89000 -        0x222fe7ff3 libswift_Concurrency.dylib (*) <f49330f4-fc2e-32e4-9f04-c2ed826498ec> /usr/lib/swift/libswift_Concurrency.dylib
       0x1873a6000 -        0x187fb5fff com.apple.Foundation (6.9) <f62e2309-5151-359b-9634-22b6cf4962c9> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

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.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%)
Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
AttributeGraph Data               1024K        1 
CG image                           560K       25 
ColorSync                          608K       29 
CoreAnimation                     3616K      165 
CoreGraphics                        32K        2 
CoreGraphics (reserved)             16K        1         reserved VM address space (unallocated)
CoreUI image data                 5856K       45 
Foundation                          48K        2 
Image IO                          10.0M       10 
Kernel Alloc Once                   32K        1 
MALLOC                           392.5M       75 
MALLOC guard page                  288K       15 
MALLOC_MEDIUM (reserved)         912.0M        8         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.2M       10 
Stack                             12.8M       10 
VM_ALLOCATE                       3200K        9 
__AUTH                            2194K      365 
__AUTH_CONST                      31.0M      578 
__CTF                               824        1 
__DATA                            14.4M      567 
__DATA_CONST                      29.7M      586 
__DATA_DIRTY                      1995K      210 
__FONT_DATA                        2352        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       878.9M        4 
__OBJC_RO                         70.3M        1 
__OBJC_RW                         2144K        1 
__TEXT                           669.2M      604 
dyld private memory                272K        2 
mapped file                      246.4M       54 
shared memory                     1968K       19 
===========                     =======  ======= 
TOTAL                              3.6G     3406 
TOTAL, minus reserved VM space     2.4G     3406 

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

{"app_name":"Mochi Diffusion","timestamp":"2023-07-18 17:11:47.00 -0300","app_version":"4.1","slice_uuid":"c231a693-1222-3277-a84a-fc28053aa9c7","build_version":"4.1","platform":1,"bundleID":"com.joshua-park.Mochi-Diffusion","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A5286g)","roots_installed":0,"name":"Mochi Diffusion","incident_id":"39D232BB-309D-4B99-82AD-A9A0176D650A"}
{
  "uptime" : 2700,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir10,1",
  "coalitionID" : 724,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A5286g",
    "releaseType" : "User"
  },
  "captureTime" : "2023-07-18 17:11:46.8012 -0300",
  "codeSigningMonitor" : 1,
  "incident" : "39D232BB-309D-4B99-82AD-A9A0176D650A",
  "pid" : 1909,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-07-18 17:11:38.3174 -0300",
  "procStartAbsTime" : 66591528188,
  "procExitAbsTime" : 66795082134,
  "procName" : "Mochi Diffusion",
  "procPath" : "\/Applications\/Mochi Diffusion.app\/Contents\/MacOS\/Mochi Diffusion",
  "bundleInfo" : {"CFBundleShortVersionString":"4.1","CFBundleVersion":"4.1","CFBundleIdentifier":"com.joshua-park.Mochi-Diffusion"},
  "storeInfo" : {"deviceIdentifierForVendor":"A3AFE7CD-7167-51C7-B00B-9CC618013D06","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.joshua-park.Mochi-Diffusion",
  "crashReporterKey" : "C940E3B4-B203-A1C2-A7EC-E463ACD680AA",
  "codeSigningID" : "com.joshua-park.Mochi-Diffusion",
  "codeSigningTeamID" : "TCQ6328PP6",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"\/w9f1sTu\/5d\/IwPV9E++qf17Aan9QwCREABA+fEDAKoxXO3yMBrB2g==","atPC":"CA5f+OkDEKr0AwCq8QMJqvF39\/IRCT\/X\/XtBqfRPwqj\/D1\/WEABA+Q=="},
  "wakeTime" : 2763,
  "sleepWakeUUID" : "1B81A0E7-B793-4A84-8944-8D9D58CCCE08",
  "sip" : "enabled",
  "vmRegionInfo" : "0x5885400ecd70 is not in any region.  Bytes after previous region: 96848292269425  Bytes before following region: 8223787659920\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)        1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV  ",
  "exception" : {"codes":"0x0000000000000001, 0x0000d885400ecd70","rawCodes":[1,238066816961904],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000d885400ecd70 -> 0x00005885400ecd70 (possible pointer authentication failure)"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1909},
  "vmregioninfo" : "0x5885400ecd70 is not in any region.  Bytes after previous region: 96848292269425  Bytes before following region: 8223787659920\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      commpage (reserved)        1000000000-7000000000   [384.0G] ---\/--- SM=NUL  ...(unallocated)\n--->  GAP OF 0x5f9000000000 BYTES\n      MALLOC_NANO              600000000000-600008000000 [128.0M] rw-\/rwx SM=PRV  ",
  "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" : 6,
  "threads" : [{"id":41824,"threadState":{"x":[{"value":5655001152},{"value":1306848},{"value":1307008},{"value":0},{"value":0},{"value":8049833520,"symbolLocation":384,"symbol":"block_descriptor"},{"value":6130128823},{"value":18446744073709551615},{"value":4531813888},{"value":1},{"value":0},{"value":0},{"value":15},{"value":14757395258967641293},{"value":18446744073709551615},{"value":0},{"value":0},{"value":4533131487},{"value":0},{"value":1307008},{"value":4533120756},{"value":1},{"value":8013470288,"symbolLocation":0,"symbol":"AG::data::_shared_table_bytes"},{"value":4533120896},{"value":4533131472},{"value":99},{"value":1306848},{"value":8},{"value":3}],"flavor":"ARM_THREAD_STATE64","lr":{"value":868772522911221360},"cpsr":{"value":1610616832},"fp":{"value":6130128400},"sp":{"value":6130128368},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7293781740},"far":{"value":4531568640}},"queue":"com.apple.main-thread","frames":[{"imageOffset":67308,"symbol":"void AG::Graph::add_output_edge<AG::Node>(AG::data::ptr<AG::Node>, AG::AttributeID)","symbolLocation":68,"imageIndex":3},{"imageOffset":67184,"symbol":"AG::Graph::add_input_dependencies(AG::AttributeID, AG::AttributeID)","symbolLocation":100,"imageIndex":3},{"imageOffset":74712,"symbol":"AG::Graph::add_input(AG::data::ptr<AG::Node>, AG::AttributeID, bool, unsigned int)","symbolLocation":536,"imageIndex":3},{"imageOffset":78072,"symbol":"AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long)","symbolLocation":304,"imageIndex":3},{"imageOffset":177080,"symbol":"AGGraphGetValue","symbolLocation":228,"imageIndex":3},{"imageOffset":27094804,"imageIndex":4},{"imageOffset":27167596,"imageIndex":4},{"imageOffset":8441772,"imageIndex":4},{"imageOffset":41708,"symbol":"AG::Graph::UpdateStack::update()","symbolLocation":512,"imageIndex":3},{"imageOffset":43816,"symbol":"AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int)","symbolLocation":424,"imageIndex":3},{"imageOffset":102304,"symbol":"AG::Subgraph::update(unsigned int)","symbolLocation":848,"imageIndex":3},{"imageOffset":9447456,"imageIndex":4},{"imageOffset":24901596,"imageIndex":4},{"imageOffset":24721852,"imageIndex":4},{"imageOffset":24965532,"imageIndex":4},{"imageOffset":19453192,"imageIndex":4},{"imageOffset":19448308,"imageIndex":4},{"imageOffset":19447884,"imageIndex":4},{"imageOffset":19465420,"imageIndex":4},{"imageOffset":19444452,"imageIndex":4},{"imageOffset":19446988,"imageIndex":4},{"imageOffset":19449064,"imageIndex":4},{"imageOffset":17626720,"imageIndex":4},{"imageOffset":15197148,"imageIndex":4},{"imageOffset":15198672,"imageIndex":4},{"imageOffset":23834116,"imageIndex":4},{"imageOffset":9449832,"imageIndex":4},{"imageOffset":9447684,"imageIndex":4},{"imageOffset":23309968,"imageIndex":4},{"imageOffset":23228892,"imageIndex":4},{"imageOffset":23800024,"imageIndex":4},{"imageOffset":23849672,"imageIndex":4},{"imageOffset":23744756,"imageIndex":4},{"imageOffset":331936,"symbol":"+[NSAnimationContext runAnimationGroup:]","symbolLocation":56,"imageIndex":5},{"imageOffset":23799732,"imageIndex":4},{"imageOffset":23800904,"imageIndex":4},{"imageOffset":11173156,"symbol":"___NSViewLayout_block_invoke","symbolLocation":592,"imageIndex":5},{"imageOffset":507384,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":108,"imageIndex":5},{"imageOffset":526620,"symbol":"_NSViewLayout","symbolLocation":96,"imageIndex":5},{"imageOffset":11133988,"symbol":"__36-[NSView _layoutSubtreeWithOldSize:]_block_invoke","symbolLocation":364,"imageIndex":5},{"imageOffset":507384,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":108,"imageIndex":5},{"imageOffset":526512,"symbol":"-[NSView _layoutSubtreeWithOldSize:]","symbolLocation":100,"imageIndex":5},{"imageOffset":11134312,"symbol":"__36-[NSView _layoutSubtreeWithOldSize:]_block_invoke","symbolLocation":688,"imageIndex":5},{"imageOffset":507384,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":108,"imageIndex":5},{"imageOffset":526512,"symbol":"-[NSView _layoutSubtreeWithOldSize:]","symbolLocation":100,"imageIndex":5},{"imageOffset":11136780,"symbol":"__56-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:]_block_invoke","symbolLocation":796,"imageIndex":5},{"imageOffset":507384,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":108,"imageIndex":5},{"imageOffset":525424,"symbol":"-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:]","symbolLocation":100,"imageIndex":5},{"imageOffset":507384,"symbol":"NSPerformVisuallyAtomicChange","symbolLocation":108,"imageIndex":5},{"imageOffset":525312,"symbol":"-[NSView layoutSubtreeIfNeeded]","symbolLocation":96,"imageIndex":5},{"imageOffset":13916820,"symbol":"-[NSWindow(NSConstraintBasedLayoutInternal) _layoutViewTree]","symbolLocation":104,"imageIndex":5},{"imageOffset":13917212,"symbol":"-[NSWindow(NSConstraintBasedLayoutInternal) layoutIfNeeded]","symbolLocation":240,"imageIndex":5},{"imageOffset":913708,"symbol":"__NSWindowGetDisplayCycleObserverForLayout_block_invoke","symbolLocation":364,"imageIndex":5},{"imageOffset":911048,"symbol":"NSDisplayCycleObserverInvoke","symbolLocation":168,"imageIndex":5},{"imageOffset":910116,"symbol":"NSDisplayCycleFlush","symbolLocation":644,"imageIndex":5},{"imageOffset":16332,"symbol":"CA::Transaction::run_commit_handlers(CATransactionPhase)","symbolLocation":120,"imageIndex":6},{"imageOffset":11660,"symbol":"CA::Transaction::commit()","symbolLocation":320,"imageIndex":6},{"imageOffset":1450336,"symbol":"__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":272,"imageIndex":5},{"imageOffset":11413716,"symbol":"___NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":64,"imageIndex":5},{"imageOffset":516732,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":36,"imageIndex":7},{"imageOffset":516456,"symbol":"__CFRunLoopDoObservers","symbolLocation":532,"imageIndex":7},{"imageOffset":513944,"symbol":"__CFRunLoopRun","symbolLocation":776,"imageIndex":7},{"imageOffset":511452,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":197936,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":8},{"imageOffset":197484,"symbol":"ReceiveNextEventCommon","symbolLocation":648,"imageIndex":8},{"imageOffset":196804,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":76,"imageIndex":8},{"imageOffset":234664,"symbol":"_DPSNextEvent","symbolLocation":660,"imageIndex":5},{"imageOffset":8337568,"symbol":"-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":716,"imageIndex":5},{"imageOffset":183472,"symbol":"-[NSApplication run]","symbolLocation":476,"imageIndex":5},{"imageOffset":16644,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":5},{"imageOffset":702376,"imageIndex":4},{"imageOffset":23737124,"imageIndex":4},{"imageOffset":14665088,"imageIndex":4},{"imageOffset":19384,"imageIndex":2},{"imageOffset":24664,"symbol":"start","symbolLocation":2224,"imageIndex":9}]},{"id":41832,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"x":[{"value":6130708480},{"value":4355},{"value":6130171904},{"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":6130708480},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545595944},"far":{"value":4833696480}}},{"id":41833,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"x":[{"value":6131281920},{"value":5635},{"value":6130745344},{"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":6131281920},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545595944},"far":{"value":5772378112}}},{"id":41838,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"x":[{"value":6131855360},{"value":17155},{"value":6131318784},{"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":6131855360},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545595944},"far":{"value":4395188224}}},{"id":41852,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"x":[{"value":6132428800},{"value":39171},{"value":6131892224},{"value":0},{"value":409603},{"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":6132428800},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545595944},"far":{"value":1168278299392}}},{"id":41855,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":218832878698496},{"value":0},{"value":218832878698496},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":50951},{"value":0},{"value":1},{"value":50951},{"value":976127},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8163707504},{"value":0},{"value":4294967295},{"value":2},{"value":218832878698496},{"value":0},{"value":218832878698496},{"value":6132998248},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6545427792},"cpsr":{"value":4096},"fp":{"value":6132998096},"sp":{"value":6132998016},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545352916},"far":{"value":4536041472}},"frames":[{"imageOffset":6356,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":12},{"imageOffset":81232,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":12},{"imageOffset":42256,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":12},{"imageOffset":7256,"symbol":"mach_msg","symbolLocation":24,"imageIndex":12},{"imageOffset":520296,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":514376,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":7},{"imageOffset":511452,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":1456040,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":5},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":11},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":11}]},{"triggered":true,"id":41856,"threadState":{"x":[{"value":105553150528896},{"value":2043},{"value":1},{"value":5653945520},{"value":33},{"value":0},{"value":0},{"value":0},{"value":8589934592},{"value":2043},{"value":0},{"value":4294969339},{"value":2043},{"value":2045},{"value":3930175566},{"value":78},{"value":238066816961920},{"value":7701542390930787712},{"value":0},{"value":5103829920},{"value":1},{"value":5103829920},{"value":32},{"value":4337694744},{"value":5103820864},{"value":1024},{"value":1023},{"value":5103812680},{"value":5008002785367556096}],"flavor":"ARM_THREAD_STATE64","lr":{"value":10309302503819469412},"cpsr":{"value":1610616832},"fp":{"value":6133574528},"sp":{"value":6133574512},"esr":{"value":2449473540,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6814979440,"matchesCrashFrame":1},"far":{"value":238066816961904}},"frames":[{"imageOffset":3736944,"symbol":"_swift_release_dealloc","symbolLocation":32,"imageIndex":13},{"imageOffset":3740260,"symbol":"bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int)","symbolLocation":136,"imageIndex":13},{"imageOffset":683924,"imageIndex":2},{"imageOffset":3657552,"symbol":"swift_arrayDestroy","symbolLocation":124,"imageIndex":13},{"imageOffset":817852,"symbol":"_DictionaryStorage.deinit","symbolLocation":268,"imageIndex":13},{"imageOffset":818160,"symbol":"_DictionaryStorage.__deallocating_deinit","symbolLocation":16,"imageIndex":13},{"imageOffset":3736968,"symbol":"_swift_release_dealloc","symbolLocation":56,"imageIndex":13},{"imageOffset":3740260,"symbol":"bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int)","symbolLocation":136,"imageIndex":13},{"imageOffset":613800,"imageIndex":2},{"imageOffset":3736968,"symbol":"_swift_release_dealloc","symbolLocation":56,"imageIndex":13},{"imageOffset":3740260,"symbol":"bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int)","symbolLocation":136,"imageIndex":13},{"imageOffset":642056,"imageIndex":2},{"imageOffset":641544,"imageIndex":2},{"imageOffset":3577452,"symbol":"assignWithCopy for ClosedRange<>.Index","symbolLocation":336,"imageIndex":13},{"imageOffset":254572,"imageIndex":2},{"imageOffset":234616,"imageIndex":2},{"imageOffset":365161,"imageIndex":2},{"imageOffset":396945,"imageIndex":2},{"imageOffset":387349,"imageIndex":2},{"imageOffset":396957,"imageIndex":2},{"imageOffset":302281,"symbol":"completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*)","symbolLocation":1,"imageIndex":14}]},{"id":41857,"frames":[{"imageOffset":3657544,"symbol":"swift_arrayDestroy","symbolLocation":116,"imageIndex":13},{"imageOffset":817852,"symbol":"_DictionaryStorage.deinit","symbolLocation":268,"imageIndex":13},{"imageOffset":818160,"symbol":"_DictionaryStorage.__deallocating_deinit","symbolLocation":16,"imageIndex":13},{"imageOffset":3736968,"symbol":"_swift_release_dealloc","symbolLocation":56,"imageIndex":13},{"imageOffset":3740260,"symbol":"bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int)","symbolLocation":136,"imageIndex":13},{"imageOffset":613800,"imageIndex":2},{"imageOffset":3736968,"symbol":"_swift_release_dealloc","symbolLocation":56,"imageIndex":13},{"imageOffset":3740260,"symbol":"bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int)","symbolLocation":136,"imageIndex":13},{"imageOffset":642056,"imageIndex":2},{"imageOffset":641544,"imageIndex":2},{"imageOffset":3577452,"symbol":"assignWithCopy for ClosedRange<>.Index","symbolLocation":336,"imageIndex":13},{"imageOffset":254572,"imageIndex":2},{"imageOffset":234616,"imageIndex":2},{"imageOffset":365161,"imageIndex":2},{"imageOffset":396945,"imageIndex":2},{"imageOffset":387349,"imageIndex":2},{"imageOffset":396957,"imageIndex":2},{"imageOffset":302281,"symbol":"completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*)","symbolLocation":1,"imageIndex":14}],"threadState":{"x":[{"value":5105649536},{"value":4337694832},{"value":4337694832},{"value":105553150527744},{"value":105553143800832},{"value":0},{"value":0},{"value":0},{"value":4337414012},{"value":32},{"value":0},{"value":1359194230},{"value":2043},{"value":2045},{"value":1361293348},{"value":36},{"value":4337694736},{"value":4337694744},{"value":0},{"value":4337694832},{"value":1},{"value":5105649536},{"value":32},{"value":4337694744},{"value":5103820864},{"value":1024},{"value":1023},{"value":5103812680},{"value":14987979559889010688}],"flavor":"ARM_THREAD_STATE64","lr":{"value":18382145573366516412},"cpsr":{"value":1610616832},"fp":{"value":6134148080},"sp":{"value":6134148032},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6814900040},"far":{"value":4855480328}}},{"id":41858,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":11}],"threadState":{"x":[{"value":6134722560},{"value":0},{"value":6134185984},{"value":0},{"value":278530},{"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":6134722560},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6545595944},"far":{"value":0}}},{"id":41873,"name":"com.apple.SwiftUI.AsyncRenderer","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":285885908123648},{"value":0},{"value":285885908123648},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":66563},{"value":0},{"value":1},{"value":66563},{"value":546661},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8163707504},{"value":0},{"value":4294967295},{"value":2},{"value":285885908123648},{"value":0},{"value":285885908123648},{"value":6135291096},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6545427792},"cpsr":{"value":4096},"fp":{"value":6135290944},"sp":{"value":6135290864},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6545352916},"far":{"value":18446742168007345024}},"frames":[{"imageOffset":6356,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":12},{"imageOffset":81232,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":12},{"imageOffset":42256,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":12},{"imageOffset":7256,"symbol":"mach_msg","symbolLocation":24,"imageIndex":12},{"imageOffset":520296,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":514376,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":7},{"imageOffset":511452,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":371688,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":15},{"imageOffset":862664,"symbol":"-[NSRunLoop(NSRunLoop) run]","symbolLocation":64,"imageIndex":15},{"imageOffset":21613472,"imageIndex":4},{"imageOffset":21613780,"imageIndex":4},{"imageOffset":344408,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":15},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":11},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":11}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4343218176,
    "size" : 49152,
    "uuid" : "ccf4ae73-c93a-3eb8-bf96-866fb1cb78fe",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4343398400,
    "CFBundleShortVersionString" : "2.4.2",
    "CFBundleIdentifier" : "org.sparkle-project.Sparkle",
    "size" : 278528,
    "uuid" : "0ad1c5c8-fdc4-32cf-90fa-869442d175ac",
    "path" : "\/Applications\/Mochi Diffusion.app\/Contents\/Frameworks\/Sparkle.framework\/Versions\/B\/Sparkle",
    "name" : "Sparkle",
    "CFBundleVersion" : "2028"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4336730112,
    "CFBundleShortVersionString" : "4.1",
    "CFBundleIdentifier" : "com.joshua-park.Mochi-Diffusion",
    "size" : 933888,
    "uuid" : "c231a693-1222-3277-a84a-fc28053aa9c7",
    "path" : "\/Applications\/Mochi Diffusion.app\/Contents\/MacOS\/Mochi Diffusion",
    "name" : "Mochi Diffusion",
    "CFBundleVersion" : "4.1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7293714432,
    "CFBundleShortVersionString" : "5.0.70",
    "CFBundleIdentifier" : "com.apple.AttributeGraph",
    "size" : 274432,
    "uuid" : "1cf8fec9-6b71-351d-a7ce-1810fa43a75c",
    "path" : "\/System\/Library\/PrivateFrameworks\/AttributeGraph.framework\/Versions\/A\/AttributeGraph",
    "name" : "AttributeGraph",
    "CFBundleVersion" : "5.0.70"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7263109120,
    "CFBundleShortVersionString" : "5.0.70.1.400",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 30605312,
    "uuid" : "5cba1c3f-43c5-3529-8130-c71bab1413d5",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "5.0.70.1.400"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6604267520,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 19824640,
    "uuid" : "031147ff-93fe-38a3-b93b-aa69b5a510ca",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2460.2"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6680141824,
    "CFBundleShortVersionString" : "1.11",
    "CFBundleIdentifier" : "com.apple.QuartzCore",
    "size" : 3960832,
    "uuid" : "a53ed86f-e1de-3d3e-868d-ad234c023359",
    "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore",
    "name" : "QuartzCore",
    "CFBundleVersion" : "1049.32"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6546006016,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5070848,
    "uuid" : "f2bf675a-1a33-3cda-bad6-42eec127af1a",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2042.400"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6719496192,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 2883584,
    "uuid" : "4cef4987-88ef-35ad-aa52-3c1acdcadba7",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6541946880,
    "size" : 604412,
    "uuid" : "b1f98040-1e0e-39dc-9498-bd7f616f30b4",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6545588224,
    "size" : 53236,
    "uuid" : "e03d774e-c50f-3ae7-affc-7463a84484c6",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6545346560,
    "size" : 241648,
    "uuid" : "ffe8c381-ae05-3f7c-ba97-4052e0ec194b",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6811242496,
    "size" : 5500928,
    "uuid" : "9f12070d-3e5b-3112-806b-e866e4c44047",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 9176649728,
    "size" : 389108,
    "uuid" : "f49330f4-fc2e-32e4-9f04-c2ed826498ec",
    "path" : "\/usr\/lib\/swift\/libswift_Concurrency.dylib",
    "name" : "libswift_Concurrency.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6563717120,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 12648448,
    "uuid" : "f62e2309-5151-359b-9634-22b6cf4962c9",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "2042.400"
  }
],
  "sharedCache" : {
  "base" : 6541197312,
  "size" : 3958521856,
  "uuid" : "0dc17e1a-5bf7-38f4-986f-d42324b1f4c7"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%)\nWritable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nAttributeGraph Data               1024K        1 \nCG image                           560K       25 \nColorSync                          608K       29 \nCoreAnimation                     3616K      165 \nCoreGraphics                        32K        2 \nCoreGraphics (reserved)             16K        1         reserved VM address space (unallocated)\nCoreUI image data                 5856K       45 \nFoundation                          48K        2 \nImage IO                          10.0M       10 \nKernel Alloc Once                   32K        1 \nMALLOC                           392.5M       75 \nMALLOC guard page                  288K       15 \nMALLOC_MEDIUM (reserved)         912.0M        8         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.2M       10 \nStack                             12.8M       10 \nVM_ALLOCATE                       3200K        9 \n__AUTH                            2194K      365 \n__AUTH_CONST                      31.0M      578 \n__CTF                               824        1 \n__DATA                            14.4M      567 \n__DATA_CONST                      29.7M      586 \n__DATA_DIRTY                      1995K      210 \n__FONT_DATA                        2352        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       878.9M        4 \n__OBJC_RO                         70.3M        1 \n__OBJC_RW                         2144K        1 \n__TEXT                           669.2M      604 \ndyld private memory                272K        2 \nmapped file                      246.4M       54 \nshared memory                     1968K       19 \n===========                     =======  ======= \nTOTAL                              3.6G     3406 \nTOTAL, minus reserved VM space     2.4G     3406 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "947a1046cd6c36eca22064bc4425a23ec4978fda",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "632e3df958740028737bffc0",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_NL_OVERRIDES" : "649ed348c509dc71bcdefa7f"
      },
      "deploymentId" : 250000317
    },
    {
      "rolloutId" : "6425c75e4327780c10cc4252",
      "factorPackIds" : {
        "SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
      },
      "deploymentId" : 250000001
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "a22a2f02-56c5-4a0e-9410-794df5bbfce1",
      "experimentId" : "641e2b47c261b3788ead8212",
      "deploymentId" : 500000014
    },
    {
      "treatmentId" : "25e719d9-25c4-4b3c-acbf-e902f8d01a66",
      "experimentId" : "641e2b6c8703f26f35948249",
      "deploymentId" : 500000008
    }
  ]
}
}

Model: MacBookAir10,1, BootROM 10151.0.172.0.3, proc 8:4:4 processors, 8 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jun 21 2023 23:05:01 version 18.20.436.0.7.8.161 FWID 01-7e9731e5
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.
jrittvo commented 1 year ago

The developers are aware of this issue. Thank you for including the crash report. That info is helpful to the team.

jrittvo commented 1 year ago

Here is some useful info:

A build at this commit appears stable: 09 July - export sort option strings for localization e2ec72b49a38ef2c9226de35772fe9fc5cb70ad0

A build at the next commit crashes when I change the model selection in the sidebar: 12 July - Update packages e6e79cd0841867edcff9e55f36fff8187bacc613

The "Update packages" commit was only a change to the package dependency hash for the ml-stable-diffusion build. There were no changes in the Mochi code. (There was a Crowdin and a I10n update in betwen, but I don't think those are relevant here)

The screen cap is the Xcode display at the crash.

Tomorrow, I will try to establish the Swift files that were changed at ml-stable-diffusion between the two hashes listed for that package in Mochi. I'm pretty sure there are only going to be 2 possible culprit files. If someone beats me to this next step, that's fine.

Screencap

jrittvo commented 1 year ago

This is the diff for the 2 versions of ml-stable-diffusion involved here:

"identity" : "ml-stable-diffusion", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/ml-stable-diffusion", "state" : { "branch" : "main", "revision" : "e3875a584b173774357c76beda659df9f62527ec" ## changed from "revision" : "7f9c58a6c1483a6da1f398cad49eee2f9fa3bee4" ## changed to

ml-stable-diffusion had just that single commit change between the hash we used that was stable, and the hash we used that introduced the crash. ("changed from" ---> "changed to").

So the error has to be from that commit:

7f9c58a6c1483a6da1f398cad49eee2f9fa3bee4 WWDC23 update This changed: 16 files, screen cap attached.

Screencap

More tomorrow.

hoseins77 commented 1 year ago

@jrittvo i think its some thing about self.pipeline because i added a line before pipline init and set self.pipeline = nil And also crashed on this line. It can be some bug of asynchronization or something about threads.

jrittvo commented 1 year ago

Yes. @vzsg has been saying that there are async glitches in Mochi for a while. There have been random model load crashes coming and going for a few months. And when I was experimenting with the new split-einsum-v2 models a month or so ago, there was a intermittent crash in Mochi where it tried to unload a model that had just finished unloading. So that whole set of transitions needs looking at.

But some change in ml-stable-difusion seems to make the bug present all over the interface now, when it used to be pretty rare before.

And honestly, I am in way over my head at this point. I was just trying to follow calls from one place in the code to another a few minutes ago, and I can't make sense of it. I don't know what I'm looking at half the time when it gets down to that level.

jrittvo commented 1 year ago

In brief testing, this is indeed fixed by #283.