My Mac app crashes for some users inside VideoToolbox, and I'm not sure what to do with that, and how to fix it.
Here are couple of examples that repeating again and again for macOS 15.*
Thread 10 Crashed:
0 libsystem_pthread.dylib 0x000000018535a8e0 0x185359000 + 6368
1 VideoToolbox 0x0000000194f3e218 0x194f28000 + 90648
2 VideoToolbox 0x00000001951de384 0x194f28000 + 2843524
3 libxpc.dylib 0x000000018506f2c0 0x185060000 + 62144
4 libxpc.dylib 0x000000018506da14 0x185060000 + 55828
5 libdispatch.dylib 0x00000001851ad674 0x1851a9000 + 18036
6 libdispatch.dylib 0x00000001851c9c88 0x1851a9000 + 134280
7 libdispatch.dylib 0x00000001851b4a38 0x1851a9000 + 47672
8 libdispatch.dylib 0x00000001851ca9dc 0x1851a9000 + 137692
9 libdispatch.dylib 0x00000001851b4a38 0x1851a9000 + 47672
10 libdispatch.dylib 0x00000001851b5764 0x1851a9000 + 51044
11 libdispatch.dylib 0x00000001851bf4cc 0x1851a9000 + 91340
12 libdispatch.dylib 0x00000001851bf260 0x1851a9000 + 90720
13 libsystem_pthread.dylib 0x00000001853602e4 0x185359000 + 29412
14 libsystem_pthread.dylib 0x000000018535b0fc 0x185359000 + 8444
and
Thread 10 Crashed:
0 libsystem_pthread.dylib 0x00000001981fc364 0x1981fb000 + 4964
1 VideoToolbox 0x00000001a85f9964 0x1a81e8000 + 4266340
2 VideoToolbox 0x00000001a847a840 0x1a81e8000 + 2697280
3 libxpc.dylib 0x0000000197f09830 0x197efb000 + 59440
4 libxpc.dylib 0x0000000197f0812c 0x197efb000 + 53548
5 libdispatch.dylib 0x00000001980638a4 0x198048000 + 112804
6 libdispatch.dylib 0x00000001980660e8 0x198048000 + 123112
7 libdispatch.dylib 0x00000001980521b8 0x198048000 + 41400
8 libdispatch.dylib 0x0000000198066e4c 0x198048000 + 126540
9 libdispatch.dylib 0x00000001980521b8 0x198048000 + 41400
10 libdispatch.dylib 0x0000000198052e60 0x198048000 + 44640
11 libdispatch.dylib 0x000000019805be30 0x198048000 + 81456
12 libdispatch.dylib 0x000000019805bbf0 0x198048000 + 80880
13 libsystem_pthread.dylib 0x0000000198201c0c 0x1981fb000 + 27660
14 libsystem_pthread.dylib 0x00000001981fcb80 0x1981fb000 + 7040
and this one is for macOS 14
Thread 10 Crashed:
0 VideoToolbox 0x000000018f12ac90 0x18f11d000 + 56464
1 VideoToolbox 0x000000018f130a80 0x18f11d000 + 80512
2 VideoToolbox 0x000000018f131090 0x18f11d000 + 82064
3 VideoToolbox 0x000000018f130f94 0x18f11d000 + 81812
4 Remote for Mac 0x00000001048d521c 0x1048d0000 + 21020
5 Foundation 0x000000018174796c 0x181709000 + 256364
6 Foundation 0x000000018174782c 0x181709000 + 256044
7 Foundation 0x00000001817477bc 0x181709000 + 255932
8 Foundation 0x0000000181746b64 0x181709000 + 252772
9 Foundation 0x00000001817468d4 0x181709000 + 252116
10 Foundation 0x00000001817467c4 0x181709000 + 251844
11 libdispatch.dylib 0x00000001803b0470 0x18039d000 + 78960
12 libdispatch.dylib 0x00000001803a13e8 0x18039d000 + 17384
13 libdispatch.dylib 0x00000001803a48ec 0x18039d000 + 30956
14 libdispatch.dylib 0x00000001803a3f08 0x18039d000 + 28424
15 libdispatch.dylib 0x00000001803b2ea8 0x18039d000 + 89768
16 libdispatch.dylib 0x00000001803b36b8 0x18039d000 + 91832
17 libsystem_pthread.dylib 0x000000018054dfd0 0x18054b000 + 12240
18 libsystem_pthread.dylib 0x000000018054cd28 0x18054b000 + 7464
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I need to convert user input to HID key codes, and while for English it's pretty easily done, for other languages not so much. On Mac there is UCKeyTranslate function, but on iOS I couldn't find anything like this.
Is there a good way to achieve this?
Hi
I'm building native app for SearchAds.
Is it possible to use app specific password with SearchAds API or get a token using app specific password?
I know its possible using JWT:
https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api
But using that in the app is not very user friendly even if the app will generate public and private keys.
It seems there was a new security feature added to macOS 15 - and now it asks every time after reboot if user wishes to continue and allow access the app to record screen and audio, while capture is blocked. Which renders remote access apps useless, a specially for headless computers like my Mac mini.
After adding com.apple.developer.persistent-content-capture entitlement the app crashes on macOS 10.13.6 with following crash report
Process: Remote for Mac [20489]
Path: /Applications/Remote for Mac.app/Contents/MacOS/Remote for Mac
Identifier: com.cherpake.macrc.server
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Remote for Mac [20489]
User ID: 501
Date/Time: 2024-10-09 09:28:35.482 +0300
OS Version: Mac OS X 10.13.6 (17G14042)
Report Version: 12
Anonymous UUID: A2BB761B-2A18-0E9E-2470-21BD6C22E7A8
Time Awake Since Boot: 780000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
kernel messages:
VM Regions Near 0 (cr2):
-->
__TEXT 0000000105bdc000-0000000105cdd000 [ 1028K] r-x/r-x SM=COW
Thread 0 Crashed:
0 ??? 0x00000001099bb19c _dyld_start + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffeea023c10
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00000001099bb19c rfl: 0x0000000000000200 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Binary Images:
0x105bdc000 - 0x105cdcff7 +??? (0) <AB898262-B28C-3B3E-881C-31A6363FF1F6> (null)
0x1099ba000 - 0x109a04adf +??? (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> (null)
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: 332075
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=1584K resident=0K(0%) swapped_out_or_unallocated=1584K(100%)
Writable regions: Total=8408K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8408K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 2
Stack 8192K 2
__DATA 528K 5
__LINKEDIT 268K 4
__TEXT 1328K 3
shared memory 8K 3
=========== ======= =======
TOTAL 66.1M 13
Download link https://dl.cherpake.com/Remote-for-Mac-7962.pkg.zip
Here is the code where the crash occurs
var body: some WidgetConfiguration {
IntentConfiguration(kind: WidgetKind, intent: ConfigurationIntent.self, provider: provider) { entry in
// Parse config
if let config = entry.configuration {
if let fg = config.foreground,
let fgColorId = fg.identifier, <----
let fgColors = AppSettings.sharedInstance()?.object(forKey: kWidgetForeground) as? [String:String],
let fgColor = fgColors[fgColorId] {
theme.textColor = Color.init(UIColor.fromHex(fgColor))
theme.iconColor = Color.init(UIColor.fromHex(fgColor))
} else {
theme.textColor = .white//Color.primary
theme.iconColor = .white//Color.primary
}
configuration is INIntent with foreground var which is INObject but some times it seems its not... and instead its NSTaggedPointerString unless I'm missing something here.
I have an app with CBPeripheralManager that advertising input service (00001812-0000-1000-8000-00805f9b34fb).
Works great, but my Apple Watch (which is paired with my iPhone) on which the app runs, connects to my service.
Is there a way to control what devices are allowed to connect?
Hi
I'm probably missing something, but I can't find a way to sort issues in Issue Navigator by type (only shows them by file), and I can't find a way to switch to Runtime Issues (only shows build issues).
Adapter subviews of the titleView have wrong frames. I would open a bug - it feels like no one looking at them, at least none of my previous bugs were addresses... so it feels pointless. Hope this helps someone facing similar issues.
Trying to access value using NSUbiquitousKeyValueStore.default.object(forKey:) locking the main thread on iOS 16 beta 3, iPhone 11 Pro.
Is that known issue or something that only happens to me? :)
Hi
I'm trying to port my iOS app to Mac using macCatalyst, and I'm having problem with Siri Shortcuts. The code complies and runs, but when I try to add shortcut using INUIAddVoiceShortcutViewController I'm seeing 'Shortcuts unavailable.'
Using
INVoiceShortcutCenter.shared.getAllVoiceShortcuts returns error [Intents] -[INVoiceShortcutCenter getAllVoiceShortcutsWithCompletion:]_block_invoke Error from -getVoiceShortcutsWithCompletion: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application."
Any ideas what's I'm doing wrong? Same code works perfectly fine on iOS.