As the title describe, I cause a crash when call [AVCaptureSession stopRunning] on macos 14.4.1. the crash stack is as below:
Process: Nebula for Mac [31922]
Path: /Applications/Nebula for Mac.app/Contents/MacOS/Nebula for Mac
Identifier: ai.nreal.nebula.mac
Version: 0.8.0.1098 (0.8.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-04-11 14:12:34.6474 +0800
OS Version: macOS 14.4.1 (23E224)
Report Version: 12
Anonymous UUID: C438684A-95E7-7DA1-D063-81E1A5FBF5DC
Sleep/Wake UUID: 3EB85031-82AC-4BDB-8F28-FAF4CBD28CA1
Time Awake Since Boot: 110000 seconds
Time Since Wake: 1108 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.avfoundation.proprietarydefaults.singleton.source_queue.0x202f8b460
Exception Type: EXC_CRASH (SIGTRAP)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: Nebula for Mac [31922]
Thread 0 Crashed:: Dispatch queue: com.apple.avfoundation.proprietarydefaults.singleton.source_queue.0x202f8b460
0 libsystem_kernel.dylib 0x19c1a61f4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19c1b8b24 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19c1aee34 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19c1a6578 mach_msg + 24
4 libdispatch.dylib 0x19c0513b0 _dispatch_mach_send_and_wait_for_reply + 544
5 libdispatch.dylib 0x19c051740 dispatch_mach_send_with_result_and_wait_for_reply + 60
6 libxpc.dylib 0x19bef2af0 xpc_connection_send_message_with_reply_sync + 288
7 AVFCapture 0x1b9e5565c -[CMIOProprietaryDefaultsSource setObject:forKey:] + 140
8 AVFCapture 0x1b9e57044 __58-[AVCaptureProprietaryDefaultsSingleton setObject:forKey:]_block_invoke + 36
9 libdispatch.dylib 0x19c0363e8 _dispatch_client_callout + 20
10 libdispatch.dylib 0x19c0458d8 _dispatch_lane_barrier_sync_invoke_and_complete + 56
11 AVFCapture 0x1b9e597e0 -[AVCaptureProprietaryDefaultsSingleton _runBlockOnProprietaryDefaultsSourceQueueSync:] + 136
12 AVFCapture 0x1b9e56fbc -[AVCaptureProprietaryDefaultsSingleton setObject:forKey:] + 180
13 AVFCapture 0x1b9e776a0 -[AVCaptureDALDevice _refreshCenterStageUnavailableReasons] + 400
14 AVFCapture 0x1b9e7d0fc -[AVCaptureDALDevice updateActivelyProvidingInputCountForActiveUseState:] + 488
15 AVFCapture 0x1b9e33474 -[AVCaptureSession_Tundra _updateNewActiveUseState:forConnection:] + 196
16 AVFCapture 0x1b9e32e4c -[AVCaptureSession_Tundra _setRunning:] + 428
17 AVFCapture 0x1b9e32a28 -[AVCaptureSession_Tundra stopRunning] + 432
18 libnr_api.dylib 0x1446d7514 0x144478000 + 2487572
19 libnr_api.dylib 0x14468a690 0x144478000 + 2172560
20 libnr_api.dylib 0x14468bcb0 0x144478000 + 2178224
21 libnr_api.dylib 0x1444d0268 0x144478000 + 361064
22 libnr_api.dylib 0x1444ecb00 0x144478000 + 477952
23 libnr_api.dylib 0x1444ec724 0x144478000 + 476964
24 libnr_api.dylib 0x144541bcc 0x144478000 + 826316
25 libnr_api.dylib 0x144543e00 0x144478000 + 835072
26 libnr_api.dylib 0x144543f88 0x144478000 + 835464
27 libnr_api.dylib 0x144542ca8 0x144478000 + 830632
28 GameAssembly.dylib 0x12117d4c4 0x120000000 + 18339012
29 GameAssembly.dylib 0x1211894e0 0x120000000 + 18388192
30 GameAssembly.dylib 0x121165fe4 0x120000000 + 18243556
31 GameAssembly.dylib 0x1202e4248 0x120000000 + 3031624
32 GameAssembly.dylib 0x12116931c 0x120000000 + 18256668
33 GameAssembly.dylib 0x1201dcdf0 0x120000000 + 1953264
34 GameAssembly.dylib 0x1201dcd2c 0x120000000 + 1953068
35 UnityPlayer.dylib 0x10428dc60 0x103c38000 + 6642784
36 UnityPlayer.dylib 0x104295170 0x103c38000 + 6672752
37 UnityPlayer.dylib 0x1042b1620 0x103c38000 + 6788640
38 UnityPlayer.dylib 0x103f788d0 0x103c38000 + 3410128
39 UnityPlayer.dylib 0x1040d8c4c 0x103c38000 + 4852812
40 UnityPlayer.dylib 0x1040d8c98 0x103c38000 + 4852888
41 UnityPlayer.dylib 0x1040d8f2c 0x103c38000 + 4853548
42 UnityPlayer.dylib 0x104b104b8 0x103c38000 + 15566008
43 UnityPlayer.dylib 0x104b10304 0x103c38000 + 15565572
44 Foundation 0x19d430224 __NSFireTimer + 104
45 CoreFoundation 0x19c2e1f90 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 32
46 CoreFoundation 0x19c2e1c34 __CFRunLoopDoTimer + 972
47 CoreFoundation 0x19c2e176c __CFRunLoopDoTimers + 356
48 CoreFoundation 0x19c2c4ba4 __CFRunLoopRun + 1856
49 CoreFoundation 0x19c2c3e0c CFRunLoopRunSpecific + 608
50 HIToolbox 0x1a6a5f000 RunCurrentEventLoopInMode + 292
51 HIToolbox 0x1a6a5ec90 ReceiveNextEventCommon + 220
52 HIToolbox 0x1a6a5eb94 _BlockUntilNextEventMatchingListInModeWithFilter + 76
53 AppKit 0x19fb1c970 _DPSNextEvent + 660
54 AppKit 0x1a030edec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
55 AppKit 0x19fb0fcb8 -[NSApplication run] + 476
56 AppKit 0x19fae6f54 NSApplicationMain + 880
57 UnityPlayer.dylib 0x104b0ffe4 PlayerMain(int, char const**) + 944
58 dyld 0x19be5e0e0 start + 2360
Post
Replies
Boosts
Views
Activity
Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.yOSaDQ/extracted/SimpleAudio.app/SystemExtensions/com.xreal.nrsdk.driver.demo.Driver.dext : 0xe8008015 (A valid provisioning profile for this executable was not found.)
Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.
when I upgrade my mac os to version 13.3. I found the usb device interface number is always 0(error ,the right is non-0) when I use kUSBInterfaceNumber from hidapi library(https://github.com/libusb/hidapi). is anyone cause this problem .who can help me. thank you .
static int32_t get_int_property(IOHIDDeviceRef device, CFStringRef key) {
CFTypeRef ref;
int32_t value;
ref = IOHIDDeviceGetProperty(device, key);
if (ref) {
if (CFGetTypeID(ref) == CFNumberGetTypeID()) {
CFNumberGetValue((CFNumberRef) ref, kCFNumberSInt32Type, &value);
return value;
}
else {
printf("\nCFGetTypeID not equal!\n");
}
}
else {
printf("\nref=%p\n",ref);
}
return 0;
}
cur_dev->interface_number =
get_int_property(dev, CFSTR(kUSBInterfaceNumber));