socketsupply / socket-examples Goto Github PK
View Code? Open in Web Editor NEWSocket Runtime Examples – see how your favorite front-end framework is used to build cross platform UIs
Home Page: https://socketsupply.co/guides
License: MIT License
Socket Runtime Examples – see how your favorite front-end framework is used to build cross platform UIs
Home Page: https://socketsupply.co/guides
License: MIT License
the vite example works great until you try to put anything "socket"-related into the window i.e. trying to import @socketsupply/socket , socket:application or similar. That's a pity.
Add css to the preact examples
see branch https://github.com/socketsupply/ssc-hello/tree/build-script — default is building JS/website, then copying all files to ssc folder
https://github.com/socketsupply/socket-examples/tree/master/todomvc works
fine with the latest version:
lamia@lamias-Air ~ % ssc -v
0.4.0 (62e26b02)
Installation path: /Users/lamia/socket/build/npm/darwin/packages/@socketsupply/socket-darwin-arm64/
I'm getting some errors with : https://github.com/socketsupply/socket-examples/tree/master/socket-features
lamia@lamias-Air extension % ssc build -r
• ERROR: [meta] bundle_name has invalid format :co.socketsupply.ios. +2ms
• Please use reverse DNS notation (https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier#discussion) +0ms
lamia@lamias-Air socket-features % cd multiple-windows
lamia@lamias-Air multiple-windows % ssc build -r
• ERROR: [meta] bundle_identifier option is empty +1ms
lamia@lamias-Air socket-features % cd node-backend-bundled
lamia@lamias-Air node-backend-bundled % ssc build -r
• ERROR: [meta] bundle_identifier option is empty +2ms
We need a few examples which I think we can split into 3 groups:
In the next two weeks I'm going to focus on groups 1 and 2, cause I think it will be more useful in the short term
Please share your ideas for the apps here or post links to opensource projects that we can wrap into Socket Runtime (cc @getify)
fangqijun@MacBook todomvc % pnpm start
> [email protected] start /Users/fangqijun/mycode/socket-examples/basic/todomvc
> ssc build -r
• cleaned: /Users/fangqijun/mycode/socket-examples/basic/todomvc/build/mac +9ms
• preparing build for mac +4ms
• package prepared +9ms
• compiled native binary +1247ms
• Running App: /Users/fangqijun/mycode/socket-examples/basic/todomvc/build/mac/todomvc-dev.app +13ms
^C• App result: 2 +2171ms
ELIFECYCLE Command failed.
fangqijun@MacBook todomvc % pnpm start
> [email protected] start /Users/fangqijun/mycode/socket-examples/basic/todomvc
> ssc build -r
node:internal/modules/cjs/loader:1078
throw err;
^
Error: Cannot find module '/Users/fangqijun/Library/pnpm/global/5/node_modules/@socketsupply/socket/bin/ssc.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.16.0
ELIFECYCLE Command failed with exit code 1.
fangqijun@MacBook todomvc %
system: macOS
chip: Apple M2
node version: 18.16.0
pnpm version: 8.5.1
We should make the demo app a counter example
Several of the example apps have as one of the steps to run them, "Install the Socket SDK compiler following with brew, apt-get or nuget (we'll publish it soon)". Is this published now? How should I go about installing this so I can try the example apps?
Can't get the examples to run, tried both tonic desktop examples.
Here's the error when trying to start the ESM example.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: test-example-dev [19238]
Path: /Users/USER/*/TestExample-dev.app/Contents/MacOS/test-example-dev
Identifier: co.optool.demo
Version: 0.0.1 Build 1 (v0.0.1)
Code Type: ARM-64 (Native)
Parent Process: Exited process [19211]
Responsible: kitty [1684]
User ID: 501
Date/Time: 2022-10-28 10:02:10.4473 -0700
OS Version: macOS 13.0 (22A380)
Report Version: 12
Anonymous UUID: B4171952-C329-6F70-8113-C27801721DDB
Sleep/Wake UUID: B34016C0-47D1-4723-A493-01D3062F3652
Time Awake Since Boot: 27000 seconds
Time Since Wake: 368 seconds
System Integrity Protection: enabled
Crashed Thread: 3 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace TCC, Code 0
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.
Thread 0:: Dispatch queue: com.apple.main-thread
0 Foundation 0x18b9191b8 empty + 44
1 Foundation 0x18b9191f8 empty + 108
2 Foundation 0x18b91910c -[NSConcreteHashTable dealloc] + 104
3 Foundation 0x18be7b914 NSKeyValueWillChangeWithPerThreadPendingNotifications + 560
4 QuartzCore 0x19204ece4 CA::Layer::begin_change(CA::Transaction*, unsigned int, objc_object*, objc_object*&) + 228
5 QuartzCore 0x1920539a0 -[CALayer setContents:] + 132
6 AppKit 0x18dd6e7f8 -[_NSBackingLayer setContents:] + 140
7 AppKit 0x18dd6cac4 -[_NSThemeWidgetCell updateLayerWithFrame:inView:] + 772
8 AppKit 0x18dd07238 _NSViewUpdateLayer + 84
9 AppKit 0x18dc4c570 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 72
10 AppKit 0x18de253a4 __30-[_NSViewBackingLayer display]_block_invoke + 132
11 AppKit 0x18dc7fe08 -[NSFocusStack performWithFocusView:inWindow:usingBlock:] + 96
12 AppKit 0x18dd06c70 -[_NSViewBackingLayer display] + 376
13 QuartzCore 0x19206687c CA::Layer::display_if_needed(CA::Transaction*) + 788
14 QuartzCore 0x1921c9df0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 468
15 QuartzCore 0x192048fe8 CA::Transaction::commit() + 652
16 AppKit 0x18dd84b90 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
17 AppKit 0x18e461744 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
18 CoreFoundation 0x18aa04de4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
19 CoreFoundation 0x18aa04cd0 __CFRunLoopDoObservers + 532
20 CoreFoundation 0x18aa04308 __CFRunLoopRun + 784
21 CoreFoundation 0x18aa038a4 CFRunLoopRunSpecific + 612
22 HIToolbox 0x1940773bc RunCurrentEventLoopInMode + 292
23 HIToolbox 0x194077200 ReceiveNextEventCommon + 672
24 HIToolbox 0x194076f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
25 AppKit 0x18dc5c630 _DPSNextEvent + 632
26 AppKit 0x18dc5b7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
27 AppKit 0x18dc4fbf0 -[NSApplication run] + 464
28 test-example-dev 0x102883740 SSC::App::run() + 116 (mac.cc:20)
29 test-example-dev 0x1029e04dc main + 6836 (main.cc:702)
30 dyld 0x18a5fbe50 start + 2544
Thread 1:: Dispatch queue: com.apple.root.user-initiated-qos
0 libsystem_kernel.dylib 0x18a8e8ba4 __ulock_wait + 8
1 libdispatch.dylib 0x18a79fef4 _dlock_wait + 56
2 libdispatch.dylib 0x18a79fe24 _dispatch_once_wait + 112
3 CoreUI 0x1924197cc +[CUIShapeEffectStack sharedCIContext] + 64
4 CoreUI 0x1924cee70 -[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:] + 516
5 CoreUI 0x1924cdbd0 -[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:] + 264
6 IconFoundation 0x196c350c4 -[IFSymbol imageForGraphicSymbolDescriptor:] + 856
7 ShareKit 0x1b3a8e7e0 +[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:] + 412
8 ShareKit 0x1b3a75d74 -[SHKSharePlaySharingService init] + 240
9 ShareKit 0x1b3a922cc +[SHKSharingService builtInSharingServicesForItems:] + 72
10 ShareKit 0x1b3a921fc __113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450 + 860
11 libdispatch.dylib 0x18a79d9dc _dispatch_call_block_and_release + 32
12 libdispatch.dylib 0x18a79f504 _dispatch_client_callout + 20
13 libdispatch.dylib 0x18a7b10b4 _dispatch_root_queue_drain + 684
14 libdispatch.dylib 0x18a7b17c0 _dispatch_worker_thread2 + 164
15 libsystem_pthread.dylib 0x18a9220c4 _pthread_wqthread + 228
16 libsystem_pthread.dylib 0x18a920e20 start_wqthread + 8
Thread 2:: Dispatch queue: com.apple.root.user-initiated-qos
0 libobjc.A.dylib 0x18a5b6784 getMethodNoSuper_nolock(objc_class*, objc_selector*) + 236
1 libobjc.A.dylib 0x18a5b66e8 getMethodNoSuper_nolock(objc_class*, objc_selector*) + 80
2 libobjc.A.dylib 0x18a5b9fdc lookUpImpOrForward + 396
3 libobjc.A.dylib 0x18a5b9b64 _objc_msgSend_uncached + 68
4 WebKit 0x1a9eeffc8 -[WKUserDefaults findPreferenceChangesAndNotifyForKeys:toValuesForKeys:] + 292
5 WebKit 0x1a9ef0370 -[WKUserDefaults _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 352
6 CoreFoundation 0x18a9ca38c -[CFPrefsSource forEachObserver:] + 316
7 CoreFoundation 0x18aa073ac -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 112
8 CoreFoundation 0x18aa07218 ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 432
9 CoreFoundation 0x18aa0705c __CFDictionaryApplyFunction_block_invoke + 28
10 CoreFoundation 0x18a9cefec CFBasicHashApply + 148
11 CoreFoundation 0x18a9c0bc8 CFDictionaryApplyFunction + 320
12 CoreFoundation 0x18aa06fd0 _CFPrefsDeliverPendingKVONotificationsGuts + 300
13 CoreFoundation 0x18a9b1514 -[_CFXPreferences _deliverPendingKVONotifications] + 96
14 CoreFoundation 0x18aafe7d4 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 340
15 CoreFoundation 0x18a9c8370 __41-[_CFXPreferences registerDefaultValues:]_block_invoke + 128
16 CoreFoundation 0x18a9b05d0 withKeysAndValues + 292
17 CoreFoundation 0x18a9c82c8 -[_CFXPreferences registerDefaultValues:] + 116
18 CoreFoundation 0x18a9c821c _CFXPreferencesRegisterDefaultValues + 80
19 Metal 0x193cb9b98 invocation function for block in initFailureModes() + 228
20 libdispatch.dylib 0x18a79f504 _dispatch_client_callout + 20
21 libdispatch.dylib 0x18a7a0d50 _dispatch_once_callout + 32
22 Metal 0x193cb96a4 MTLFailureTypeGetErrorModeType + 96
23 Metal 0x193bb9d84 MTLFailureTypeGetEnabled + 16
24 Metal 0x193bba910 -[_MTLCommandQueue initWithDevice:descriptor:] + 104
25 IOGPU 0x1a60d8a48 -[IOGPUMetalCommandQueue initWithDevice:descriptor:] + 60
26 AGXMetalG14G 0x1d99dd680 0x1d96b1000 + 3327616
27 AGXMetalG14G 0x1d9b0d858 0x1d96b1000 + 4573272
28 CoreImage 0x19471e650 CIMetalCommandQueueCreate + 52
29 CoreImage 0x19471e5d4 +[CIContext(Internal) internalContextWithMTLDevice:options:] + 76
30 CoreImage 0x19471e2d4 -[CIContext initWithOptions:] + 452
31 CoreUI 0x192419808 __38+[CUIShapeEffectStack sharedCIContext]_block_invoke + 56
32 libdispatch.dylib 0x18a79f504 _dispatch_client_callout + 20
33 libdispatch.dylib 0x18a7a0d50 _dispatch_once_callout + 32
34 CoreUI 0x1924197cc +[CUIShapeEffectStack sharedCIContext] + 64
35 CoreUI 0x1924cee70 -[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:] + 516
36 CoreUI 0x1924cdbd0 -[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:] + 264
37 IconFoundation 0x196c350c4 -[IFSymbol imageForGraphicSymbolDescriptor:] + 856
38 ShareKit 0x1b3a8e7e0 +[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:] + 412
39 ShareKit 0x1b3a75d74 -[SHKSharePlaySharingService init] + 240
40 ShareKit 0x1b3a922cc +[SHKSharingService builtInSharingServicesForItems:] + 72
41 ShareKit 0x1b3a921fc __113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450 + 860
42 libdispatch.dylib 0x18a79d9dc _dispatch_call_block_and_release + 32
43 libdispatch.dylib 0x18a79f504 _dispatch_client_callout + 20
44 libdispatch.dylib 0x18a7b10b4 _dispatch_root_queue_drain + 684
45 libdispatch.dylib 0x18a7b17c0 _dispatch_worker_thread2 + 164
46 libsystem_pthread.dylib 0x18a9220c4 _pthread_wqthread + 228
47 libsystem_pthread.dylib 0x18a920e20 start_wqthread + 8
Thread 3 Crashed:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x18a8f376c __abort_with_payload + 8
1 libsystem_kernel.dylib 0x18a917e68 abort_with_payload_wrapper_internal + 104
2 libsystem_kernel.dylib 0x18a917e9c abort_with_payload + 16
3 TCC 0x18f5d8830 __TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 172
4 TCC 0x18f5d9148 __TCCAccessRequest_block_invoke.200 + 588
5 TCC 0x18f5d65e8 __tccd_send_message_block_invoke + 632
6 libxpc.dylib 0x18a695670 _xpc_connection_reply_callout + 124
7 libxpc.dylib 0x18a695560 _xpc_connection_call_reply_async + 88
8 libdispatch.dylib 0x18a79f584 _dispatch_client_callout3 + 20
9 libdispatch.dylib 0x18a7bd710 _dispatch_mach_msg_async_reply_invoke + 344
10 libdispatch.dylib 0x18a7b1d08 _dispatch_kevent_worker_thread + 1280
11 libsystem_pthread.dylib 0x18a922138 _pthread_wqthread + 344
12 libsystem_pthread.dylib 0x18a920e20 start_wqthread + 8
Thread 4:
0 libsystem_pthread.dylib 0x18a920e18 start_wqthread + 0
Thread 5:: JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x18a8ea5e4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18a926638 _pthread_cond_wait + 1232
2 JavaScriptCore 0x1a3b8d0b4 scavenger_thread_main + 1164
3 libsystem_pthread.dylib 0x18a92606c _pthread_start + 148
4 libsystem_pthread.dylib 0x18a920e2c thread_start + 8
Thread 6:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x18a8e6df0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18a8f88d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18a8ef638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x18a8e716c mach_msg + 24
4 QuartzCore 0x19208d654 CA::Render::Server::server_thread(void*) + 564
5 QuartzCore 0x19208d410 thread_fun(void*) + 32
6 libsystem_pthread.dylib 0x18a92606c _pthread_start + 148
7 libsystem_pthread.dylib 0x18a920e2c thread_start + 8
Thread 7:: Dispatch queue: com.apple.root.user-initiated-qos
0 libsystem_kernel.dylib 0x18a8e8ba4 __ulock_wait + 8
1 libdispatch.dylib 0x18a79fef4 _dlock_wait + 56
2 libdispatch.dylib 0x18a79fe24 _dispatch_once_wait + 112
3 CoreUI 0x1924197cc +[CUIShapeEffectStack sharedCIContext] + 64
4 CoreUI 0x1924cee70 -[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:] + 516
5 CoreUI 0x1924cdbd0 -[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:] + 264
6 IconFoundation 0x196c350c4 -[IFSymbol imageForGraphicSymbolDescriptor:] + 856
7 ShareKit 0x1b3a8e7e0 +[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:] + 412
8 ShareKit 0x1b3a75d74 -[SHKSharePlaySharingService init] + 240
9 ShareKit 0x1b3a922cc +[SHKSharingService builtInSharingServicesForItems:] + 72
10 ShareKit 0x1b3a921fc __113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450 + 860
11 libdispatch.dylib 0x18a79d9dc _dispatch_call_block_and_release + 32
12 libdispatch.dylib 0x18a79f504 _dispatch_client_callout + 20
13 libdispatch.dylib 0x18a7b10b4 _dispatch_root_queue_drain + 684
14 libdispatch.dylib 0x18a7b17c0 _dispatch_worker_thread2 + 164
15 libsystem_pthread.dylib 0x18a9220c4 _pthread_wqthread + 228
16 libsystem_pthread.dylib 0x18a920e20 start_wqthread + 8
Thread 8:
0 libsystem_pthread.dylib 0x18a920e18 start_wqthread + 0
Thread 9:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x18a8e6df0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18a8f88d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x18a8ef638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x18a8e716c mach_msg + 24
4 CoreFoundation 0x18aa05bdc __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x18aa044c8 __CFRunLoopRun + 1232
6 CoreFoundation 0x18aa038a4 CFRunLoopRunSpecific + 612
7 AppKit 0x18dd86248 _NSEventThread + 172
8 libsystem_pthread.dylib 0x18a92606c _pthread_start + 148
9 libsystem_pthread.dylib 0x18a920e2c thread_start + 8
Thread 10:
0 libsystem_pthread.dylib 0x18a920e18 start_wqthread + 0
Thread 3 crashed with ARM Thread State (64-bit):
x0: 0x000000000000000b x1: 0x0000000000000000 x2: 0x0000000130906f90 x3: 0x0000000000000022
x4: 0x0000000130906fc4 x5: 0x0000000000000000 x6: 0x00fb000004220122 x7: 0x0000000000000001
x8: 0x0000000000000020 x9: 0x3ad8ce9231ba0057 x10: 0x0100000100000000 x11: 0x00000000000b2ab6
x12: 0x000000100002d7dc x13: 0x0000000000000000 x14: 0x0000020000011000 x15: 0x0000000100000000
x16: 0x0000000000000209 x17: 0x00000001eae32920 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000130906fc4 x21: 0x0000000000000022 x22: 0x0000000130906f90 x23: 0x0000000000000000
x24: 0x000000000000000b x25: 0x000060000061c900 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016d71e630 lr: 0x000000018a917e68
sp: 0x000000016d71e5f0 pc: 0x000000018a8f376c cpsr: 0x40001000
far: 0x000000010b7ffef8 esr: 0x56000080 Address size fault
Binary Images:
0x18b8af000 - 0x18c2e7fff com.apple.Foundation (6.9) <52b2f83f-586d-32a2-8b66-ce651400ac8c> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x192046000 - 0x1923a8fff com.apple.QuartzCore (1.11) <6eae8b05-2af0-3057-91fc-cf2d9c74dd40> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x18dc23000 - 0x18eb2afff com.apple.AppKit (6.9) <af9f6891-70ad-3c26-af08-b747344892d2> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x18a984000 - 0x18ae5bfff com.apple.CoreFoundation (6.9) <f4ff83fc-e62c-30b4-b3a9-876c8a1fd595> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x194045000 - 0x194378fff com.apple.HIToolbox (2.1.1) <02b9797f-c47d-30b7-b7b0-802d0d26f31c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x102880000 - 0x102a9bfff co.optool.demo (0.0.1 Build 1) <bb74894d-e64e-3895-9cb9-131ed703c9c9> /Users/USER/*/TestExample-dev.app/Contents/MacOS/test-example-dev
0x18a5f6000 - 0x18a6804af dyld (*) <1f56ab4e-f398-3a9c-bfba-fbbd17808963> /usr/lib/dyld
0x18a8e6000 - 0x18a91effb libsystem_kernel.dylib (*) <6d6644d3-3db3-34c4-b1e3-c675ec5360f0> /usr/lib/system/libsystem_kernel.dylib
0x18a79b000 - 0x18a7e2fff libdispatch.dylib (*) <40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe> /usr/lib/system/libdispatch.dylib
0x1923fb000 - 0x192540fff com.apple.coreui (2.1) <7f3f83d0-17c5-35d6-af3f-ccd54e18a16a> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x196c2b000 - 0x196c45fff com.apple.IconFoundation (552) <573bcce8-66e9-33c9-b153-35f92cd1ae9b> /System/Library/PrivateFrameworks/IconFoundation.framework/Versions/A/IconFoundation
0x1b3a61000 - 0x1b3b0cfff com.apple.ShareKit (841.3) <1f183924-52f5-3602-b0ad-ec84a9c3a163> /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit
0x18a91f000 - 0x18a92bffb libsystem_pthread.dylib (*) <886caca0-5762-3640-8db2-3fa3b911c062> /usr/lib/system/libsystem_pthread.dylib
0x18a5b0000 - 0x18a5f5d9f libobjc.A.dylib (*) <e20fe24e-bbda-3944-9cfc-8e43a463400b> /usr/lib/libobjc.A.dylib
0x1a9db5000 - 0x1aa988fff com.apple.WebKit (18614) <3150ee73-2cf7-3f0e-a953-a5c177ef8450> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x193bb3000 - 0x193d7efff com.apple.Metal (306.2.4) <1aff9909-e8a3-32d2-9b31-1a894680f867> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x1a60d3000 - 0x1a610bfff com.apple.IOGPU (65.0.22) <0d46c99a-45fb-3932-80fc-5b072b30d43c> /System/Library/PrivateFrameworks/IOGPU.framework/Versions/A/IOGPU
0x1d96b1000 - 0x1d9dabfff com.apple.AGXMetalG14G (227.2.40) <8d7a150f-080d-3ff3-a6f1-5af0156c2a1c> /System/Library/Extensions/AGXMetalG14G.bundle/Contents/MacOS/AGXMetalG14G
0x19470f000 - 0x194a60fff com.apple.CoreImage (17.0.0) <7e4d8318-4294-3280-bafa-49b5d3082d87> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x18f5d3000 - 0x18f5f0ff5 com.apple.TCC (1.0) <7649a276-a825-358f-8a07-b5d912279a23> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x18a686000 - 0x18a6c8fff libxpc.dylib (*) <44992a1e-d222-3d40-841d-e2cf9e26f67e> /usr/lib/system/libxpc.dylib
0x1a3947000 - 0x1a4df2fff com.apple.JavaScriptCore (18614) <be3862d6-2576-3f55-9334-fb997db344d0> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
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.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)
Writable regions: Total=6.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.2G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 640K 5
Activity Tracing 256K 1
CG backing stores 3328K 4
CG image 64K 3
CG raster data 48K 2
ColorSync 560K 25
CoreAnimation 80K 5
CoreGraphics 32K 2
CoreServices 48K 1
CoreUI image data 816K 5
Foundation 16K 1
JS JIT generated code 512.0M 3
Kernel Alloc Once 32K 1
MALLOC 268.3M 44
MALLOC guard page 192K 10
MALLOC_MEDIUM (reserved) 840.0M 7 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.2M 11
Stack 13.8M 11
VM_ALLOCATE 160K 10
VM_ALLOCATE (reserved) 4.0G 1 reserved VM address space (unallocated)
WebKit Malloc 160.1M 3
WebKit Malloc (reserved) 32.0M 1 reserved VM address space (unallocated)
__AUTH 1727K 324
__AUTH_CONST 23.1M 537
__CTF 756 1
__DATA 11.3M 527
__DATA_CONST 26.6M 542
__DATA_DIRTY 1938K 215
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__LINKEDIT 763.5M 5
__OBJC_CONST 4357K 294
__OBJC_RO 65.1M 1
__OBJC_RW 1981K 1
__TEXT 569.0M 564
dyld private memory 256K 1
mapped file 281.5M 24
shared memory 896K 15
=========== ======= =======
TOTAL 7.9G 3210
TOTAL, minus reserved VM space 2.7G 3210
-----------
Full Report
-----------
{"app_name":"test-example-dev","timestamp":"2022-10-28 10:02:11.00 -0700","app_version":"0.0.1 Build 1","slice_uuid":"bb74894d-e64e-3895-9cb9-131ed703c9c9","build_version":"v0.0.1","platform":1,"bundleID":"co.optool.demo","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0 (22A380)","roots_installed":0,"name":"test-example-dev","incident_id":"8032F959-1379-48AA-B154-17F86C0C159D"}
{
"uptime" : 27000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,2",
"coalitionID" : 2141,
"osVersion" : {
"train" : "macOS 13.0",
"build" : "22A380",
"releaseType" : "User"
},
"captureTime" : "2022-10-28 10:02:10.4473 -0700",
"incident" : "8032F959-1379-48AA-B154-17F86C0C159D",
"pid" : 19238,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-10-28 10:02:10.0967 -0700",
"procStartAbsTime" : 653036465149,
"procExitAbsTime" : 653044631200,
"procName" : "test-example-dev",
"procPath" : "\/Users\/USER\/*\/TestExample-dev.app\/Contents\/MacOS\/test-example-dev",
"bundleInfo" : {"CFBundleShortVersionString":"0.0.1 Build 1","CFBundleVersion":"v0.0.1","CFBundleIdentifier":"co.optool.demo"},
"storeInfo" : {"deviceIdentifierForVendor":"625D4CA8-C9EB-5EEE-9A9E-792E07C18321","thirdParty":true},
"parentProc" : "Exited process",
"parentPid" : 19211,
"coalitionName" : "net.kovidgoyal.kitty",
"crashReporterKey" : "B4171952-C329-6F70-8113-C27801721DDB",
"responsiblePid" : 1684,
"responsibleProc" : "kitty",
"wakeTime" : 368,
"sleepWakeUUID" : "B34016C0-47D1-4723-A493-01D3062F3652",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":518,"code":0,"namespace":"TCC","details":["This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothAlwaysUsageDescription key with a string value explaining to the user how the app uses this data."]},
"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" : 3,
"threads" : [{"id":731801,"queue":"com.apple.main-thread","frames":[{"imageOffset":434616,"symbol":"empty","symbolLocation":44,"imageIndex":0},{"imageOffset":434680,"symbol":"empty","symbolLocation":108,"imageIndex":0},{"imageOffset":434444,"symbol":"-[NSConcreteHashTable dealloc]","symbolLocation":104,"imageIndex":0},{"imageOffset":6080788,"symbol":"NSKeyValueWillChangeWithPerThreadPendingNotifications","symbolLocation":560,"imageIndex":0},{"imageOffset":36068,"symbol":"CA::Layer::begin_change(CA::Transaction*, unsigned int, objc_object*, objc_object*&)","symbolLocation":228,"imageIndex":1},{"imageOffset":55712,"symbol":"-[CALayer setContents:]","symbolLocation":132,"imageIndex":1},{"imageOffset":1357816,"symbol":"-[_NSBackingLayer setContents:]","symbolLocation":140,"imageIndex":2},{"imageOffset":1350340,"symbol":"-[_NSThemeWidgetCell updateLayerWithFrame:inView:]","symbolLocation":772,"imageIndex":2},{"imageOffset":934456,"symbol":"_NSViewUpdateLayer","symbolLocation":84,"imageIndex":2},{"imageOffset":169328,"symbol":"+[NSAppearance _performWithCurrentAppearance:usingBlock:]","symbolLocation":72,"imageIndex":2},{"imageOffset":2106276,"symbol":"__30-[_NSViewBackingLayer display]_block_invoke","symbolLocation":132,"imageIndex":2},{"imageOffset":380424,"symbol":"-[NSFocusStack performWithFocusView:inWindow:usingBlock:]","symbolLocation":96,"imageIndex":2},{"imageOffset":932976,"symbol":"-[_NSViewBackingLayer display]","symbolLocation":376,"imageIndex":2},{"imageOffset":133244,"symbol":"CA::Layer::display_if_needed(CA::Transaction*)","symbolLocation":788,"imageIndex":1},{"imageOffset":1588720,"symbol":"CA::Context::commit_transaction(CA::Transaction*, double, double*)","symbolLocation":468,"imageIndex":1},{"imageOffset":12264,"symbol":"CA::Transaction::commit()","symbolLocation":652,"imageIndex":1},{"imageOffset":1448848,"symbol":"__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke","symbolLocation":272,"imageIndex":2},{"imageOffset":8644420,"symbol":"___NSRunLoopObserverCreateWithHandler_block_invoke","symbolLocation":64,"imageIndex":2},{"imageOffset":527844,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":36,"imageIndex":3},{"imageOffset":527568,"symbol":"__CFRunLoopDoObservers","symbolLocation":532,"imageIndex":3},{"imageOffset":525064,"symbol":"__CFRunLoopRun","symbolLocation":784,"imageIndex":3},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":3},{"imageOffset":205756,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":4},{"imageOffset":205312,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":4},{"imageOffset":204616,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":4},{"imageOffset":235056,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":2},{"imageOffset":231360,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":2},{"imageOffset":183280,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":2},{"imageOffset":14144,"sourceLine":20,"sourceFile":"mac.cc","symbol":"SSC::App::run()","imageIndex":5,"symbolLocation":116},{"imageOffset":1443036,"sourceLine":702,"sourceFile":"main.cc","symbol":"main","imageIndex":5,"symbolLocation":6836},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":6}]},{"id":731816,"queue":"com.apple.root.user-initiated-qos","frames":[{"imageOffset":11172,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":7},{"imageOffset":20212,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":8},{"imageOffset":20004,"symbol":"_dispatch_once_wait","symbolLocation":112,"imageIndex":8},{"imageOffset":124876,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":64,"imageIndex":9},{"imageOffset":867952,"symbol":"-[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:]","symbolLocation":516,"imageIndex":9},{"imageOffset":863184,"symbol":"-[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:]","symbolLocation":264,"imageIndex":9},{"imageOffset":41156,"symbol":"-[IFSymbol imageForGraphicSymbolDescriptor:]","symbolLocation":856,"imageIndex":10},{"imageOffset":186336,"symbol":"+[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:]","symbolLocation":412,"imageIndex":11},{"imageOffset":85364,"symbol":"-[SHKSharePlaySharingService init]","symbolLocation":240,"imageIndex":11},{"imageOffset":201420,"symbol":"+[SHKSharingService builtInSharingServicesForItems:]","symbolLocation":72,"imageIndex":11},{"imageOffset":201212,"symbol":"__113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450","symbolLocation":860,"imageIndex":11},{"imageOffset":10716,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":8},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":8},{"imageOffset":90292,"symbol":"_dispatch_root_queue_drain","symbolLocation":684,"imageIndex":8},{"imageOffset":92096,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":8},{"imageOffset":12484,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":12},{"imageOffset":7712,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"id":731817,"queue":"com.apple.root.user-initiated-qos","frames":[{"imageOffset":26500,"symbol":"getMethodNoSuper_nolock(objc_class*, objc_selector*)","symbolLocation":236,"imageIndex":13},{"imageOffset":26344,"symbol":"getMethodNoSuper_nolock(objc_class*, objc_selector*)","symbolLocation":80,"imageIndex":13},{"imageOffset":40924,"symbol":"lookUpImpOrForward","symbolLocation":396,"imageIndex":13},{"imageOffset":39780,"symbol":"_objc_msgSend_uncached","symbolLocation":68,"imageIndex":13},{"imageOffset":1290184,"symbol":"-[WKUserDefaults findPreferenceChangesAndNotifyForKeys:toValuesForKeys:]","symbolLocation":292,"imageIndex":14},{"imageOffset":1291120,"symbol":"-[WKUserDefaults _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":352,"imageIndex":14},{"imageOffset":287628,"symbol":"-[CFPrefsSource forEachObserver:]","symbolLocation":316,"imageIndex":3},{"imageOffset":537516,"symbol":"-[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]","symbolLocation":112,"imageIndex":3},{"imageOffset":537112,"symbol":"___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke","symbolLocation":432,"imageIndex":3},{"imageOffset":536668,"symbol":"__CFDictionaryApplyFunction_block_invoke","symbolLocation":28,"imageIndex":3},{"imageOffset":307180,"symbol":"CFBasicHashApply","symbolLocation":148,"imageIndex":3},{"imageOffset":248776,"symbol":"CFDictionaryApplyFunction","symbolLocation":320,"imageIndex":3},{"imageOffset":536528,"symbol":"_CFPrefsDeliverPendingKVONotificationsGuts","symbolLocation":300,"imageIndex":3},{"imageOffset":185620,"symbol":"-[_CFXPreferences _deliverPendingKVONotifications]","symbolLocation":96,"imageIndex":3},{"imageOffset":1550292,"symbol":"-[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:]","symbolLocation":340,"imageIndex":3},{"imageOffset":279408,"symbol":"__41-[_CFXPreferences registerDefaultValues:]_block_invoke","symbolLocation":128,"imageIndex":3},{"imageOffset":181712,"symbol":"withKeysAndValues","symbolLocation":292,"imageIndex":3},{"imageOffset":279240,"symbol":"-[_CFXPreferences registerDefaultValues:]","symbolLocation":116,"imageIndex":3},{"imageOffset":279068,"symbol":"_CFXPreferencesRegisterDefaultValues","symbolLocation":80,"imageIndex":3},{"imageOffset":1076120,"symbol":"invocation function for block in initFailureModes()","symbolLocation":228,"imageIndex":15},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":8},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":8},{"imageOffset":1074852,"symbol":"MTLFailureTypeGetErrorModeType","symbolLocation":96,"imageIndex":15},{"imageOffset":28036,"symbol":"MTLFailureTypeGetEnabled","symbolLocation":16,"imageIndex":15},{"imageOffset":30992,"symbol":"-[_MTLCommandQueue initWithDevice:descriptor:]","symbolLocation":104,"imageIndex":15},{"imageOffset":23112,"symbol":"-[IOGPUMetalCommandQueue initWithDevice:descriptor:]","symbolLocation":60,"imageIndex":16},{"imageOffset":3327616,"imageIndex":17},{"imageOffset":4573272,"imageIndex":17},{"imageOffset":63056,"symbol":"CIMetalCommandQueueCreate","symbolLocation":52,"imageIndex":18},{"imageOffset":62932,"symbol":"+[CIContext(Internal) internalContextWithMTLDevice:options:]","symbolLocation":76,"imageIndex":18},{"imageOffset":62164,"symbol":"-[CIContext initWithOptions:]","symbolLocation":452,"imageIndex":18},{"imageOffset":124936,"symbol":"__38+[CUIShapeEffectStack sharedCIContext]_block_invoke","symbolLocation":56,"imageIndex":9},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":8},{"imageOffset":23888,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":8},{"imageOffset":124876,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":64,"imageIndex":9},{"imageOffset":867952,"symbol":"-[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:]","symbolLocation":516,"imageIndex":9},{"imageOffset":863184,"symbol":"-[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:]","symbolLocation":264,"imageIndex":9},{"imageOffset":41156,"symbol":"-[IFSymbol imageForGraphicSymbolDescriptor:]","symbolLocation":856,"imageIndex":10},{"imageOffset":186336,"symbol":"+[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:]","symbolLocation":412,"imageIndex":11},{"imageOffset":85364,"symbol":"-[SHKSharePlaySharingService init]","symbolLocation":240,"imageIndex":11},{"imageOffset":201420,"symbol":"+[SHKSharingService builtInSharingServicesForItems:]","symbolLocation":72,"imageIndex":11},{"imageOffset":201212,"symbol":"__113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450","symbolLocation":860,"imageIndex":11},{"imageOffset":10716,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":8},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":8},{"imageOffset":90292,"symbol":"_dispatch_root_queue_drain","symbolLocation":684,"imageIndex":8},{"imageOffset":92096,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":8},{"imageOffset":12484,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":12},{"imageOffset":7712,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"triggered":true,"id":731830,"threadState":{"x":[{"value":11},{"value":0},{"value":5109739408},{"value":34},{"value":5109739460},{"value":0},{"value":70650219223712034},{"value":1},{"value":32},{"value":4240366176464142423},{"value":72057598332895232},{"value":731830},{"value":68719663068},{"value":0},{"value":2199023325184},{"value":4294967296},{"value":521},{"value":8235723040},{"value":0},{"value":0},{"value":5109739460},{"value":34},{"value":5109739408},{"value":0},{"value":11},{"value":105553122674944},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6619758184},"cpsr":{"value":1073745920},"fp":{"value":6131148336},"sp":{"value":6131148272},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6619608940,"matchesCrashFrame":1},"far":{"value":4487905016}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":55148,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":7},{"imageOffset":204392,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":7},{"imageOffset":204444,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":7},{"imageOffset":22576,"symbol":"__TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION__","symbolLocation":172,"imageIndex":19},{"imageOffset":24904,"symbol":"__TCCAccessRequest_block_invoke.200","symbolLocation":588,"imageIndex":19},{"imageOffset":13800,"symbol":"__tccd_send_message_block_invoke","symbolLocation":632,"imageIndex":19},{"imageOffset":63088,"symbol":"_xpc_connection_reply_callout","symbolLocation":124,"imageIndex":20},{"imageOffset":62816,"symbol":"_xpc_connection_call_reply_async","symbolLocation":88,"imageIndex":20},{"imageOffset":17796,"symbol":"_dispatch_client_callout3","symbolLocation":20,"imageIndex":8},{"imageOffset":141072,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":344,"imageIndex":8},{"imageOffset":93448,"symbol":"_dispatch_kevent_worker_thread","symbolLocation":1280,"imageIndex":8},{"imageOffset":12600,"symbol":"_pthread_wqthread","symbolLocation":344,"imageIndex":12},{"imageOffset":7712,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"id":731851,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}]},{"id":731853,"name":"JavaScriptCore libpas scavenger","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":12},{"imageOffset":2384052,"symbol":"scavenger_thread_main","symbolLocation":1164,"imageIndex":21},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":12},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":12}]},{"id":731866,"name":"com.apple.coreanimation.render-server","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":7},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":7},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":7},{"imageOffset":292436,"symbol":"CA::Render::Server::server_thread(void*)","symbolLocation":564,"imageIndex":1},{"imageOffset":291856,"symbol":"thread_fun(void*)","symbolLocation":32,"imageIndex":1},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":12},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":12}]},{"id":731872,"queue":"com.apple.root.user-initiated-qos","frames":[{"imageOffset":11172,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":7},{"imageOffset":20212,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":8},{"imageOffset":20004,"symbol":"_dispatch_once_wait","symbolLocation":112,"imageIndex":8},{"imageOffset":124876,"symbol":"+[CUIShapeEffectStack sharedCIContext]","symbolLocation":64,"imageIndex":9},{"imageOffset":867952,"symbol":"-[_CUIGraphicVariantVectorGlyph _createGraphicVariantImageAtScale:backgroundImage:symbolImage:destinationRect:disableColorFill:outputScale:]","symbolLocation":516,"imageIndex":9},{"imageOffset":863184,"symbol":"-[_CUIGraphicVariantVectorGlyph rasterizeImageUsingScaleFactor:forTargetSize:]","symbolLocation":264,"imageIndex":9},{"imageOffset":41156,"symbol":"-[IFSymbol imageForGraphicSymbolDescriptor:]","symbolLocation":856,"imageIndex":10},{"imageOffset":186336,"symbol":"+[SHKSharingService _createServiceImageFromSymbolNamed:backgroundColor:]","symbolLocation":412,"imageIndex":11},{"imageOffset":85364,"symbol":"-[SHKSharePlaySharingService init]","symbolLocation":240,"imageIndex":11},{"imageOffset":201420,"symbol":"+[SHKSharingService builtInSharingServicesForItems:]","symbolLocation":72,"imageIndex":11},{"imageOffset":201212,"symbol":"__113+[SHKSharingService sharingServicesForFilteredItems:invokedByPicker:allowInactive:onlyViewerOrEditor:completion:]_block_invoke.450","symbolLocation":860,"imageIndex":11},{"imageOffset":10716,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":8},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":8},{"imageOffset":90292,"symbol":"_dispatch_root_queue_drain","symbolLocation":684,"imageIndex":8},{"imageOffset":92096,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":8},{"imageOffset":12484,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":12},{"imageOffset":7712,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":12}]},{"id":731873,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}]},{"id":731892,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":7},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":7},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":7},{"imageOffset":531420,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":3},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":3},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":3},{"imageOffset":1454664,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":2},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":12},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":12}]},{"id":731902,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":12}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 6636105728,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.Foundation",
"size" : 10719232,
"uuid" : "52b2f83f-586d-32a2-8b66-ce651400ac8c",
"path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
"name" : "Foundation",
"CFBundleVersion" : "1953.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6744727552,
"CFBundleShortVersionString" : "1.11",
"CFBundleIdentifier" : "com.apple.QuartzCore",
"size" : 3551232,
"uuid" : "6eae8b05-2af0-3057-91fc-cf2d9c74dd40",
"path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore",
"name" : "QuartzCore",
"CFBundleVersion" : "1042.20"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6673281024,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.AppKit",
"size" : 15761408,
"uuid" : "af9f6891-70ad-3c26-af08-b747344892d2",
"path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
"name" : "AppKit",
"CFBundleVersion" : "2299"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6620200960,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 5079040,
"uuid" : "f4ff83fc-e62c-30b4-b3a9-876c8a1fd595",
"path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1953.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6778277888,
"CFBundleShortVersionString" : "2.1.1",
"CFBundleIdentifier" : "com.apple.HIToolbox",
"size" : 3358720,
"uuid" : "02b9797f-c47d-30b7-b7b0-802d0d26f31c",
"path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
"name" : "HIToolbox"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4337434624,
"CFBundleShortVersionString" : "0.0.1 Build 1",
"CFBundleIdentifier" : "co.optool.demo",
"size" : 2211840,
"uuid" : "bb74894d-e64e-3895-9cb9-131ed703c9c9",
"path" : "\/Users\/USER\/*\/TestExample-dev.app\/Contents\/MacOS\/test-example-dev",
"name" : "test-example-dev",
"CFBundleVersion" : "v0.0.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6616473600,
"size" : 566448,
"uuid" : "1f56ab4e-f398-3a9c-bfba-fbbd17808963",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6619553792,
"size" : 233468,
"uuid" : "6d6644d3-3db3-34c4-b1e3-c675ec5360f0",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6618198016,
"size" : 294912,
"uuid" : "40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6748614656,
"CFBundleShortVersionString" : "2.1",
"CFBundleIdentifier" : "com.apple.coreui",
"size" : 1335296,
"uuid" : "7f3f83d0-17c5-35d6-af3f-ccd54e18a16a",
"path" : "\/System\/Library\/PrivateFrameworks\/CoreUI.framework\/Versions\/A\/CoreUI",
"name" : "CoreUI",
"CFBundleVersion" : "802"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6824308736,
"CFBundleShortVersionString" : "552",
"CFBundleIdentifier" : "com.apple.IconFoundation",
"size" : 110592,
"uuid" : "573bcce8-66e9-33c9-b153-35f92cd1ae9b",
"path" : "\/System\/Library\/PrivateFrameworks\/IconFoundation.framework\/Versions\/A\/IconFoundation",
"name" : "IconFoundation",
"CFBundleVersion" : "552"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7308972032,
"CFBundleShortVersionString" : "841.3",
"CFBundleIdentifier" : "com.apple.ShareKit",
"size" : 704512,
"uuid" : "1f183924-52f5-3602-b0ad-ec84a9c3a163",
"path" : "\/System\/Library\/PrivateFrameworks\/ShareKit.framework\/Versions\/A\/ShareKit",
"name" : "ShareKit",
"CFBundleVersion" : "841.3"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6619787264,
"size" : 53244,
"uuid" : "886caca0-5762-3640-8db2-3fa3b911c062",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6616186880,
"size" : 286112,
"uuid" : "e20fe24e-bbda-3944-9cfc-8e43a463400b",
"path" : "\/usr\/lib\/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7144689664,
"CFBundleShortVersionString" : "18614",
"CFBundleIdentifier" : "com.apple.WebKit",
"size" : 12402688,
"uuid" : "3150ee73-2cf7-3f0e-a953-a5c177ef8450",
"path" : "\/System\/Library\/Frameworks\/WebKit.framework\/Versions\/A\/WebKit",
"name" : "WebKit",
"CFBundleVersion" : "18614.2.9.1.12"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6773485568,
"CFBundleShortVersionString" : "306.2.4",
"CFBundleIdentifier" : "com.apple.Metal",
"size" : 1884160,
"uuid" : "1aff9909-e8a3-32d2-9b31-1a894680f867",
"path" : "\/System\/Library\/Frameworks\/Metal.framework\/Versions\/A\/Metal",
"name" : "Metal",
"CFBundleVersion" : "306.2.4"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7080849408,
"CFBundleShortVersionString" : "65.0.22",
"CFBundleIdentifier" : "com.apple.IOGPU",
"size" : 233472,
"uuid" : "0d46c99a-45fb-3932-80fc-5b072b30d43c",
"path" : "\/System\/Library\/PrivateFrameworks\/IOGPU.framework\/Versions\/A\/IOGPU",
"name" : "IOGPU",
"CFBundleVersion" : "65.0.22"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7942639616,
"CFBundleShortVersionString" : "227.2.40",
"CFBundleIdentifier" : "com.apple.AGXMetalG14G",
"size" : 7319552,
"uuid" : "8d7a150f-080d-3ff3-a6f1-5af0156c2a1c",
"path" : "\/System\/Library\/Extensions\/AGXMetalG14G.bundle\/Contents\/MacOS\/AGXMetalG14G",
"name" : "AGXMetalG14G",
"CFBundleVersion" : "227.2.40"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6785396736,
"CFBundleShortVersionString" : "17.0.0",
"CFBundleIdentifier" : "com.apple.CoreImage",
"size" : 3481600,
"uuid" : "7e4d8318-4294-3280-bafa-49b5d3082d87",
"path" : "\/System\/Library\/Frameworks\/CoreImage.framework\/Versions\/A\/CoreImage",
"name" : "CoreImage",
"CFBundleVersion" : "1310.8"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6700216320,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.TCC",
"size" : 122870,
"uuid" : "7649a276-a825-358f-8a07-b5d912279a23",
"path" : "\/System\/Library\/PrivateFrameworks\/TCC.framework\/Versions\/A\/TCC",
"name" : "TCC",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6617063424,
"size" : 274432,
"uuid" : "44992a1e-d222-3d40-841d-e2cf9e26f67e",
"path" : "\/usr\/lib\/system\/libxpc.dylib",
"name" : "libxpc.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7039381504,
"CFBundleShortVersionString" : "18614",
"CFBundleIdentifier" : "com.apple.JavaScriptCore",
"size" : 21676032,
"uuid" : "be3862d6-2576-3f55-9334-fb997db344d0",
"path" : "\/System\/Library\/Frameworks\/JavaScriptCore.framework\/Versions\/A\/JavaScriptCore",
"name" : "JavaScriptCore",
"CFBundleVersion" : "18614.2.9.1.12"
}
],
"sharedCache" : {
"base" : 6615826432,
"size" : 3403612160,
"uuid" : "5667eb2d-1398-3b38-afff-a929572d4b88"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=6.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.2G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 640K 5 \nActivity Tracing 256K 1 \nCG backing stores 3328K 4 \nCG image 64K 3 \nCG raster data 48K 2 \nColorSync 560K 25 \nCoreAnimation 80K 5 \nCoreGraphics 32K 2 \nCoreServices 48K 1 \nCoreUI image data 816K 5 \nFoundation 16K 1 \nJS JIT generated code 512.0M 3 \nKernel Alloc Once 32K 1 \nMALLOC 268.3M 44 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 840.0M 7 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.2M 11 \nStack 13.8M 11 \nVM_ALLOCATE 160K 10 \nVM_ALLOCATE (reserved) 4.0G 1 reserved VM address space (unallocated)\nWebKit Malloc 160.1M 3 \nWebKit Malloc (reserved) 32.0M 1 reserved VM address space (unallocated)\n__AUTH 1727K 324 \n__AUTH_CONST 23.1M 537 \n__CTF 756 1 \n__DATA 11.3M 527 \n__DATA_CONST 26.6M 542 \n__DATA_DIRTY 1938K 215 \n__FONT_DATA 2352 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 763.5M 5 \n__OBJC_CONST 4357K 294 \n__OBJC_RO 65.1M 1 \n__OBJC_RW 1981K 1 \n__TEXT 569.0M 564 \ndyld private memory 256K 1 \nmapped file 281.5M 24 \nshared memory 896K 15 \n=========== ======= ======= \nTOTAL 7.9G 3210 \nTOTAL, minus reserved VM space 2.7G 3210 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.root.default-qos"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "62b4513af75dc926494899c6",
"factorPackIds" : {
"COREOS_ICD" : "62fbe3cfa9a700130f60b3ea"
},
"deploymentId" : 240000011
},
{
"rolloutId" : "6112d17137f5d11121dcd4e2",
"factorPackIds" : {
},
"deploymentId" : 240000140
}
],
"experiments" : [
]
}
}
Model: Mac14,2, BootROM 8419.41.10, proc 8:4:4 processors, 24 GB, SMC
Graphics: Apple M2, Apple M2, Built-In
Display: Color LCD, spdisplays_2560x1664Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep 3 2022 02:35:52 version 20.10.965.9.8.7.129 FWID 01-b0e84a9b
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.
Don't get me wrong, I love Next.JS, however running Next.js without the API backend is... just a static React app.
I've gone through the motions with this over the years adding Next to electron, then Nextron, is there some benefit to this example over a React App?
I'm just wondering how this works when there are conflicts. E.g., If I am running the same app on two different devices, and my internet goes down on one of them, and then I make some changes (say I change an item to a to-do list on one device, and delete the same item on the other device), what determines which thing happens once the devices come back online and sync their state? Is there some sort of CRDT running on sockets? How do they end up in the guaranteed same state as each other?
Your web-site says this is for developing local-first apps, and links to Ink & Switch's paper on the topic, so I figured something must be done in sockets to make this work, but I don't see any mention of how it might work on the website or in the docs.
uname -a
, or Windows version)?MacOS, iOS
Javascript...?
n/a
Use ssc-test
in an example, instead of custom code.
We should update our examples to use latest version of Socket Runtime. Some of the examples should be multiplatform and not just desktop-
or ios-
.
From directory io-tonic/
:
npm test
This is when using the ipc-cleanup
branch in socket
and io
.
The tests pass, but on mac a little crash window opens when the app exits.
This depends on socket repo ipc-cleanup
branch, where we factored things to obviate ssc-test
.
I just found this project and I really like your approach!!
However, I couldn't figure out how to use it in my existing
node-project.
So I hope it's okay to ask a question here:
I tried installing the ssc-node
or socket-node
, but couldn't find any docs how to use it.
Here's what I'd like to do:
index.js
I'd like to open a window and talk to it (either through sockets, or WebSockets)nodejs
on a user's machine (so the app just should open an empty window and then gets all it needs from the socket)Any pointer on how to make that work from my index.js
would be greatly appreciated. (Also any pointers to examples or documentation).
TIA
Andy
Would be great to see an actual working Svelte app.
Specifically here:
https://github.com/socketsupply/socket-sdk-examples/blob/4273a6777acfcfa5c89e319b7a056da1de1c7389/desktop-node-react/src/render/App.jsx#L34
No crash report. No relevant logs are visible in Console.app either
ssc --version
0.1.0 (10a952a)A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.