Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Camera causes SIGABRT Crash when running on Apple Silicon unmodified #6

Open
zeugmaster opened this issue Jun 23, 2024 · 0 comments

Comments

@zeugmaster
Copy link

Using URVideo to capture animated or static QR leads to SIGABRT crash when the app is running on "Mac (Designed for iPad)" AKA unmodified on Apple Silicon. Running as Mac Catalyst or on a physical device works as expected.

Logs from URDemo:

LSPrefs: could not find untranslocated node for <FSNode 0x6000038fd740> { isDir = ?, path = '/private/var/folders/1_/hdzjv839127_4fhq27spsr5w0000gn/X/7FEC62A9-F33A-5CEB-B41F-6A3C4A235BF9/d/Wrapper/URDemo.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
LSPrefs: could not find untranslocated node for <FSNode 0x6000038fd740> { isDir = ?, path = '/private/var/folders/1_/hdzjv839127_4fhq27spsr5w0000gn/X/7FEC62A9-F33A-5CEB-B41F-6A3C4A235BF9/d/Wrapper/URDemo.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
LSPrefs: could not find untranslocated node for <FSNode 0x6000038fd740> { isDir = ?, path = '/private/var/folders/1_/hdzjv839127_4fhq27spsr5w0000gn/X/7FEC62A9-F33A-5CEB-B41F-6A3C4A235BF9/d/Wrapper/URDemo.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
LSPrefs: could not find untranslocated node for <FSNode 0x6000038fd740> { isDir = ?, path = '/private/var/folders/1_/hdzjv839127_4fhq27spsr5w0000gn/X/7FEC62A9-F33A-5CEB-B41F-6A3C4A235BF9/d/Wrapper/URDemo.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
AX Safe category class 'SFUnifiedBarRegistrationAccessibility' was not found!
BOOL _NSPersistentUIDeleteItemAtFileURL(NSURL *const __strong) Failed to stat item: file:///Users/.../Library/Containers/blockchaincommons.URDemo/Data/Library/Saved%20Application%20State/blockchaincommons.URDemo.savedState/restorecount.plist
AddInstanceForFactory: No factory registered for id <CFUUID 0x60000385db80> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
CMIO_DAL_PlugInManagement.cpp:917:CreatePlugIn Could not find plugin with kCMIOHardwarePlugInTypeID
CMIO_DAL_CMIOExtension_Device.mm:355:Device legacy uuid isn't present, using new style uuid instead
CMIO_DAL_CMIOExtension_Device.mm:355:Device legacy uuid isn't present, using new style uuid instead
CMIOExtensionProviderHostContext.m:75:-[CMIOExtensionProviderHostContext initWithConnection:delegate:]_block_invoke [0] received Connection invalid
CMIOExtensionProviderHostContext.m:1282:-[CMIOExtensionProviderHostContext sendEmptyClientInfo]_block_invoke received Connection invalid
CMIOExtensionProviderHostContext.m:434:-[CMIOExtensionProviderHostContext pluginStates:] received Connection invalid
CMIOExtensionSession.m:1307:-[CMIOExtensionSessionProvider initWithEndpoint:delegate:]_block_invoke failed getting the states of the plugin error Error Domain=NSOSStatusErrorDomain Code=-7 "kCSIdentityInvalidPosixNameErr"
CMIO_DAL_CMIOExtension_PlugIn.mm:307:-[CMIODALExtensionPlugIn initWithPlugIn:endpoint:] plugin 43 / <CMIOExtensionSessionProvider> provider bundleID com.apple.appleh16camerad endpoint 0x600003825800 could not call devices/properties initializer
CMIO_DAL_CMIOExtension_PlugIn.mm:728:Initialize invalid provider state
CMIO_DAL_CMIOExtension_PlugIn.mm:160:-[CMIODALExtensionSession updateStateWithExtensionsArrived:extensionsRemoved:] an error occurred
[C:1-4] Error received: Invalidated by remote connection.
CMIO_DAL_CMIOExtension_Stream.mm:1472:GetPropertyData wrong data size for kCMIOStreamPropertyCenterStageFramingMode
CMIOHardware.cpp:331:CMIOObjectGetPropertyData Error: 561211770, failed
Fig assert: "err == 0 " at bail (CMIOUtilities.h:133) - (err=561211770)
CMIO_DAL_CMIOExtension_Stream.mm:1472:GetPropertyData wrong data size for kCMIOStreamPropertyCenterStageFramingMode
CMIOHardware.cpp:331:CMIOObjectGetPropertyData Error: 561211770, failed
Fig assert: "err == 0 " at bail (CMIOUtilities.h:133) - (err=561211770)
<<<< FigCaptureCameraParameters >>>> Fig assert: "success" at bail (FigCaptureCameraParameters.m:250) - (err=0)
Errors found! Invalidating cache...
Errors found! Invalidating cache...
|___ fsbp_Autofocus ___| Fig assert: "err == noErr" at bail (FigSampleBufferProcessor_Autofocus.m:2484) - (err=0)
-[MTLDebugDevice newTextureWithDescriptor:iosurface:plane:]:2641: failed assertion `Texture Descriptor Validation
IOSurface textures must use MTLStorageModeShared
'
Message from debugger: killed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant